[U-Boot] [PATCH 1/2] cmd: Toggle the default value of CONFIG_CMD_IMLS

Tom Rini trini at konsulko.com
Wed Oct 11 00:12:18 UTC 2017


On Sun, Oct 08, 2017 at 09:48:01PM +0300, Tuomas Tynkkynen wrote:

> Having this as a 'default y' is rather annoying because it doesn't
> actually compile unless other options are defined in the board header:
> 
> ../cmd/bootm.c: In function 'do_imls_nor':
> ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
>    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {
> 
> Make it 'default n' so people who develop new boards that start from a
> blank defconfig have one less compilation failure to debug.
> 
> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171010/1b7420b6/attachment.sig>


More information about the U-Boot mailing list