[PATCH 3/4] mtd: spi-nor-core: Rework default_init() to take flash_parameter
Takahiro Kuwano
tkuw584924 at gmail.com
Mon Apr 15 09:09:31 CEST 2024
Hi Tudor,
On 4/15/2024 3:47 PM, Tudor Ambarus wrote:
>
>
> On 4/15/24 05:33, tkuw584924 at gmail.com wrote:
>> From: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
>>
>> default_init() fixup hook should be used to initialize flash parameters
>> when its information is not provided in SFDP. To support that case, it
>> needs to take flash_parameter structure like as other hooks.
>>
>> Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
>> ---
>
> I'd like to get rid of the default_init hook, let's not extend it if
> possible. Can you use the late_init hook instead?
>
It looks easy to migrate from default_init to late_init so I will do it.
Could you provide the links to related discussion in Linux MTD side so that
I can summarize it in commit message?
Thanks,
Takahiro
More information about the U-Boot
mailing list