]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
flash: do not fail even if flash_size is zero
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 5 Dec 2014 03:20:58 +0000 (12:20 +0900)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>
Sun, 7 Dec 2014 16:25:28 +0000 (01:25 +0900)
commit70879a92561abd300e9e84b25fff841bb3b34837
tree61418cf86e628ca7003d88e1b1e70400a60f48ea
parent9248a78f40d622c9d1d21dbbe29db418a6be99ae
flash: do not fail even if flash_size is zero

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.  Even in such cases, it makes sense to continue the
boot process without any flash device.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Stefan Roese <sr@denx.de>
common/board_r.c