summaryrefslogtreecommitdiffstats
path: root/configs/am335x_sl50_defconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-20 17:33:39 +0900
committerTom Rini <trini@konsulko.com>2016-06-20 05:19:09 -0400
commit41598c82513672b1052c88ce816d98467345141f (patch)
treed5becad1d40063d826dcd52e4a908363e9e43231 /configs/am335x_sl50_defconfig
parent2313d48445e59f063ec9a3b4940fe8252737db76 (diff)
downloadtalos-obmc-uboot-41598c82513672b1052c88ce816d98467345141f.tar.gz
talos-obmc-uboot-41598c82513672b1052c88ce816d98467345141f.zip
autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c
Since commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option"), CONFIG_BOOTDELAY is defined for all boards. Prior to that commit, it was allowed to unset CONFIG_BOOTDELAY to not compile common/autoboot.c, as described in common/Makefile: # This option is not just y/n - it can have a numeric value ifdef CONFIG_BOOTDELAY obj-y += autoboot.o endif It was a bit odd to enable/disable code with an integer type option, but it was how this option worked before that commit, and several boards actually unset it to opt out of the autoboot feature. This commit adds a new bool option, CONFIG_AUTOBOOT, and makes CONFIG_BOOTDELAY depend on it. I chose "default y" for this option because most boards use the autoboot. I added "# CONFIG_AUTOBOOT is not set" for the boards that had not set CONFIG_BOOTDELAY prior to the bad commit. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'configs/am335x_sl50_defconfig')
-rw-r--r--configs/am335x_sl50_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/am335x_sl50_defconfig b/configs/am335x_sl50_defconfig
index c227ef4725..01c1eeb14e 100644
--- a/configs/am335x_sl50_defconfig
+++ b/configs/am335x_sl50_defconfig
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R=y
CONFIG_FIT=y
CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
CONFIG_HUSH_PARSER=y
+# CONFIG_AUTOBOOT is not set
CONFIG_CMD_BOOTZ=y
# CONFIG_CMD_IMLS is not set
CONFIG_CMD_ASKENV=y
OpenPOWER on IntegriCloud