[U-Boot] [PATCH] flash: do not fail even if flash_size is zero

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Dec 5 09:40:20 CET 2014


Hi Stefan,


Thanks for your quick review.

I want to use this patch to clean up my board support code.
( I want to enable CONFIG_SYS_MAX_FLASH_BANKS_DETECT on my boards
 but in some use cases, there is a possibility that no flash is found.)

CFI-flash patches are generally supposed to be applied by you, but if you do not mind,
can I apply this patch with your Acked-by credit as a prerequisite for my series?




On Fri, 05 Dec 2014 07:54:53 +0100
Stefan Roese <sr at denx.de> wrote:

> On 05.12.2014 04:20, Masahiro Yamada wrote:
> > CONFIG_SYS_MAX_FLASH_BANKS_DETECT allows to determine the number of
> > flash banks at run-time, that is, there is a possibility that no flash
> > bank is found.  It makes sense to continue the boot process without
> > any flash device.
> >
> > Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> > Cc: Stefan Roese <sr at denx.de>
> 
> I also think its better to continue to boot in this case. So:
> 
> Acked-by: Stefan Roese <sr at denx.de>
> 
> Thanks,
> Stefan


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list