U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Peng Fan <peng.fan@nxp.com>
Cc: Marek Vasut <marex@denx.de>,
	"Alice Guo (OSS)" <alice.guo@oss.nxp.com>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
	"sbabic@denx.de" <sbabic@denx.de>,
	"festevam@gmail.com" <festevam@gmail.com>,
	dl-uboot-imx <uboot-imx@nxp.com>,
	"Ross, Fedor" <fedor.ross@ifm.com>, Ye Li <ye.li@nxp.com>,
	"seanga2@gmail.com" <seanga2@gmail.com>,
	Alice Guo <alice.guo@nxp.com>
Subject: Re: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable
Date: Mon, 7 Oct 2024 08:17:30 -0600	[thread overview]
Message-ID: <20241007141730.GT4737@bill-the-cat> (raw)
In-Reply-To: <PAXPR04MB8459A51F5CCFC565F8E395FF887D2@PAXPR04MB8459.eurprd04.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 2522 bytes --]

On Mon, Oct 07, 2024 at 11:46:03AM +0000, Peng Fan wrote:
> 
> 
> > -----Original Message-----
> > From: Tom Rini <trini@konsulko.com>
> > Sent: Monday, October 7, 2024 6:51 AM
> > To: Marek Vasut <marex@denx.de>
> > Cc: Alice Guo (OSS) <alice.guo@oss.nxp.com>; u-boot@lists.denx.de;
> > sbabic@denx.de; festevam@gmail.com; dl-uboot-imx <uboot-
> > imx@nxp.com>; Peng Fan <peng.fan@nxp.com>; Ross, Fedor
> > <fedor.ross@ifm.com>; Ye Li <ye.li@nxp.com>; seanga2@gmail.com;
> > Alice Guo <alice.guo@nxp.com>
> > Subject: Re: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI
> > configurable
> > 
> > On Mon, Oct 07, 2024 at 12:28:44AM +0200, Marek Vasut wrote:
> > > On 10/6/24 11:23 PM, Tom Rini wrote:
> > > > On Sun, Oct 06, 2024 at 07:31:16AM +0800,
> > alice.guo@oss.nxp.com wrote:
> > > >
> > > > > From: Peng Fan <peng.fan@nxp.com>
> > > > >
> > > > > Make CONFIG_IMX8_ROMAPI could be configured in defconfig.
> > > > >
> > > > > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > > > > Signed-off-by: Alice Guo <alice.guo@nxp.com>
> > > > > Reviewed-by: Ye Li <ye.li@nxp.com>
> > > > > ---
> > > > >   arch/arm/mach-imx/Kconfig | 3 ++-
> > > > >   1 file changed, 2 insertions(+), 1 deletion(-)
> > > > >
> > > > > diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-
> > imx/Kconfig
> > > > > index 134e42028c..9d3aafd2f8 100644
> > > > > --- a/arch/arm/mach-imx/Kconfig
> > > > > +++ b/arch/arm/mach-imx/Kconfig
> > > > > @@ -179,7 +179,8 @@ config DDRMC_VF610_CALIBRATION
> > > > >   	  the ddrmc_cr_setting on relevant board file.
> > > > >   config IMX8_ROMAPI
> > > > > -	def_bool y
> > > > > +	bool "Enable i.MX ROMAPI"
> > > > > +	default y
> > > > >   	depends on IMX8MN || IMX8MP || IMX8ULP || IMX9
> > > >
> > > > Since there's no help here, is this truly configurable, or is this
> > > > something that should be select'd based on the SoC and
> > presumably
> > > > some of the newer IMX9 parts cannot use this?
> > > I can imagine the MX95 calls into this custom ELE firmware stuff
> > > instead of ROMAPI ?
> > 
> > Alright. Perhaps this should be depending on the above and !main-ELE-
> > symbol instead.
> 
> Nope. To i.MX93, ELE and ROMAPI are both valid. There is case that
> ROMAPI needs to be false while ELE is still true.

Alright, but where is the choice made? As in, can a normal i.MX93 board
use one or the other, or will it depend on specific SoCs in the family?
And is disabling this option even valid on the i.MX8 families?

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2024-10-07 14:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-05 23:31 [PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable alice.guo
2024-10-06 21:23 ` Tom Rini
2024-10-06 22:28   ` Marek Vasut
2024-10-06 22:50     ` Tom Rini
2024-10-07 11:46       ` Peng Fan
2024-10-07 14:17         ` Tom Rini [this message]
2024-10-08  8:54           ` Peng Fan
2024-10-08 13:41             ` Tom Rini
2024-10-08 15:32               ` Peng Fan
2024-10-07 11:23     ` Peng Fan
2024-10-07 11:32       ` Marek Vasut
2024-10-07 11:48 ` Fabio Estevam

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=20241007141730.GT4737@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=alice.guo@nxp.com \
    --cc=alice.guo@oss.nxp.com \
    --cc=fedor.ross@ifm.com \
    --cc=festevam@gmail.com \
    --cc=marex@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=seanga2@gmail.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=ye.li@nxp.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox