[PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable

Marek Vasut marex at denx.de
Mon Oct 7 13:32:47 CEST 2024


On 10/7/24 1:23 PM, Peng Fan wrote:
> Hi Marek,

Hi,

>> Subject: Re: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI
>> configurable
>>
>> On 10/6/24 11:23 PM, Tom Rini wrote:
>>> On Sun, Oct 06, 2024 at 07:31:16AM +0800, alice.guo at oss.nxp.com
>> wrote:
>>>
>>>> From: Peng Fan <peng.fan at nxp.com>
>>>>
>>>> Make CONFIG_IMX8_ROMAPI could be configured in defconfig.
>>>>
>>>> Signed-off-by: Peng Fan <peng.fan at nxp.com>
>>>> Signed-off-by: Alice Guo <alice.guo at nxp.com>
>>>> Reviewed-by: Ye Li <ye.li at 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 ?
> 
> True. i.MX95 A55 code no need ROMAPI.
> 
> But it is still good to make this option configurable, because there
> is case that people no need romapi.
I have a bit of a design question instead -- does U-Boot have to make 
use of SCMI and ELE firmware at all ? Can this dependency be avoided?


More information about the U-Boot mailing list