From ad12dc18447f853ad66b54de513a7211c16f7c76 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sun, 8 Oct 2017 21:48:01 +0300 Subject: 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 --- configs/stm32h743-disco_defconfig | 1 - 1 file changed, 1 deletion(-) (limited to 'configs/stm32h743-disco_defconfig') diff --git a/configs/stm32h743-disco_defconfig b/configs/stm32h743-disco_defconfig index 1716333..e43187e 100644 --- a/configs/stm32h743-disco_defconfig +++ b/configs/stm32h743-disco_defconfig @@ -14,7 +14,6 @@ CONFIG_AUTOBOOT_KEYED=y CONFIG_AUTOBOOT_PROMPT="Hit SPACE in %d seconds to stop autoboot.\n" CONFIG_AUTOBOOT_STOP_STR=" " CONFIG_CMD_BOOTZ=y -# CONFIG_CMD_IMLS is not set # CONFIG_CMD_FPGA is not set CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y -- cgit v1.1