All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Ford <aford173@gmail.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Marek Vasut <marek.vasut+renesas@gmail.com>,
	Adam Ford-BE <aford@beaconembedded.com>
Subject: Re: [PATCH V2 1/6] ARM: rmobile: Enable board detection when FIT is enabled
Date: Fri, 29 Oct 2021 13:53:39 -0500	[thread overview]
Message-ID: <CAHCN7xKSWibQErNemxJ5cT7RTYOry7YDSScqs1OPLGvp+dNT3Q@mail.gmail.com> (raw)
In-Reply-To: <CAHCN7xKHf+9PZ74PDB-2pd0RLtn4qn+=cNopndX0Ew6HQyS5KQ@mail.gmail.com>

On Tue, Oct 5, 2021 at 7:35 AM Adam Ford <aford173@gmail.com> wrote:
>
> On Mon, Sep 20, 2021 at 11:14 AM Adam Ford <aford173@gmail.com> wrote:
> >
> > There are three boards from Beacon, RZ/G2 M/N/H which all
> > use the same board file, but different device trees.
> > Add code to automatically select the proper device tree
> > based on the CPU type.
> >
> > Signed-off-by: Adam Ford <aford173@gmail.com>
>
> Marek,
>
> You previously asked me to remind you after 2 weeks, so it doesn't get
> too stale.  I rebased at the time I did the V2.  Can you give
> feedback?

Marek,

Ping #2.  It's been three weeks since my last ping, and I was hoping
you might have some feedback and/or be able to apply this.

thank you,

adam
>
> thank you,
>
> adam
> > ---
> >  board/beacon/beacon-rzg2m/beacon-rzg2m.c | 16 ++++++++++++++++
> >  1 file changed, 16 insertions(+)
> >
> > diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c
> > index c12ff77fb2..b3521fcbc1 100644
> > --- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c
> > +++ b/board/beacon/beacon-rzg2m/beacon-rzg2m.c
> > @@ -36,3 +36,19 @@ void reset_cpu(void)
> >  {
> >         writel(RST_CODE, RST_CA57RESCNT);
> >  }
> > +
> > +#if IS_ENABLED(CONFIG_MULTI_DTB_FIT)
> > +int board_fit_config_name_match(const char *name)
> > +{
> > +       if (!strcmp(rzg_get_cpu_name(), "R8A774A1") && !strcmp(name, "r8a774a1-beacon-rzg2m-kit"))
> > +               return 0;
> > +
> > +       if (!strcmp(rzg_get_cpu_name(), "R8A774B1") && !strcmp(name, "r8a774b1-beacon-rzg2n-kit"))
> > +               return 0;
> > +
> > +       if (!strcmp(rzg_get_cpu_name(), "R8A774E1") && !strcmp(name, "r8a774e1-beacon-rzg2h-kit"))
> > +               return 0;
> > +
> > +       return -1;
> > +}
> > +#endif
> > --
> > 2.25.1
> >

      reply	other threads:[~2021-10-29 18:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-20 16:14 [PATCH V2 1/6] ARM: rmobile: Enable board detection when FIT is enabled Adam Ford
2021-09-20 16:14 ` [PATCH V2 2/6] ARM: rmobile: beacon: Support RZ/G2 [M/N/H] on TARGET_BEACON_RZG2M Adam Ford
2021-09-20 16:14 ` [PATCH V2 3/6] ARM: rmobile: beacon: Remove duplicated for RZ/G2 M/N/H Adam Ford
2021-09-20 16:14 ` [PATCH V2 4/6] ARM: rmobile: Beacon: Remove dead code Adam Ford
2021-09-20 16:14 ` [PATCH V2 5/6] ARM: rmobile: beacon: Enable reference clocks for USB and AVB Adam Ford
2021-09-20 16:14 ` [PATCH V2 6/6] ARM: rmobile: Rename r8a774a1_beacon_defconfig to rzg2_beacon_defconfig Adam Ford
2021-10-05 12:35 ` [PATCH V2 1/6] ARM: rmobile: Enable board detection when FIT is enabled Adam Ford
2021-10-29 18:53   ` Adam Ford [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHCN7xKSWibQErNemxJ5cT7RTYOry7YDSScqs1OPLGvp+dNT3Q@mail.gmail.com \
    --to=aford173@gmail.com \
    --cc=aford@beaconembedded.com \
    --cc=marek.vasut+renesas@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.