diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-10-08 21:48:01 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-10 17:51:04 -0400 |
commit | ad12dc18447f853ad66b54de513a7211c16f7c76 (patch) | |
tree | 13995b01664d3ebc21752672fc8f587e4fc7ac2f /configs/M54451EVB_stmicro_defconfig | |
parent | ebdd65258bad89b2da6cce4265c858ee0d5a9440 (diff) | |
download | u-boot-ad12dc18447f853ad66b54de513a7211c16f7c76.tar.gz |
cmd: Toggle the default value of CONFIG_CMD_IMLS
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@iki.fi>
Diffstat (limited to 'configs/M54451EVB_stmicro_defconfig')
-rw-r--r-- | configs/M54451EVB_stmicro_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/M54451EVB_stmicro_defconfig b/configs/M54451EVB_stmicro_defconfig index 41cfe6821f..715b2c32a2 100644 --- a/configs/M54451EVB_stmicro_defconfig +++ b/configs/M54451EVB_stmicro_defconfig @@ -5,6 +5,7 @@ CONFIG_SYS_EXTRA_OPTIONS="CF_SBF,SYS_STMICRO_BOOT,SYS_INPUT_CLKSRC=24000000" CONFIG_BOOTDELAY=1 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="root=/dev/mtdblock1 rw rootfstype=jffs2 ip=none mtdparts=physmap-flash.0:2M(kernel)ro,-(jffs2)" +CONFIG_CMD_IMLS=y CONFIG_CMD_I2C=y # CONFIG_CMD_LOADB is not set # CONFIG_CMD_LOADS is not set |