[PATCH 3/4] mtd: spi-nor-core: Rework default_init() to take flash_parameter

Tudor Ambarus tudor.ambarus at linaro.org
Mon Apr 15 08:47:47 CEST 2024



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?

Cheers,
ta


More information about the U-Boot mailing list