diff options
author | Michael Walle <michael@walle.cc> | 2022-08-17 21:37:58 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-08-23 12:39:36 +0200 |
commit | 7717c2faf8984505a72962bac582ce65fb2a4641 (patch) | |
tree | b342b8110634610d545cb2cdc3939b7461029dfb | |
parent | b6a0683fe6b38cf0c5fb80a4eb07743908f04311 (diff) | |
download | u-boot-7717c2faf8984505a72962bac582ce65fb2a4641.zip u-boot-7717c2faf8984505a72962bac582ce65fb2a4641.tar.gz u-boot-7717c2faf8984505a72962bac582ce65fb2a4641.tar.bz2 |
board: lsxl: automatically select CONFIG_MISC_INIT_R
The board code needs this to be set. Otherwise, the recovery mechanism
doesn't work. Therefore, select this option automatically with the
board.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | arch/arm/mach-kirkwood/Kconfig | 1 | ||||
-rw-r--r-- | board/buffalo/lsxl/lsxl.c | 2 | ||||
-rw-r--r-- | configs/lschlv2_defconfig | 1 | ||||
-rw-r--r-- | configs/lsxhl_defconfig | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-kirkwood/Kconfig b/arch/arm/mach-kirkwood/Kconfig index 98bb10c..f5460f3 100644 --- a/arch/arm/mach-kirkwood/Kconfig +++ b/arch/arm/mach-kirkwood/Kconfig @@ -45,6 +45,7 @@ config TARGET_LSXL bool "lsxl Board" select FEROCEON_88FR131 select KW88F6281 + select MISC_INIT_R config TARGET_POGO_E02 bool "pogo_e02 Board" diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index 42221ee..eca7da2 100644 --- a/board/buffalo/lsxl/lsxl.c +++ b/board/buffalo/lsxl/lsxl.c @@ -172,7 +172,6 @@ int board_init(void) return 0; } -#ifdef CONFIG_MISC_INIT_R static void check_power_switch(void) { if (kw_gpio_get_value(GPIO_POWER_SWITCH)) { @@ -259,7 +258,6 @@ int misc_init_r(void) return 0; } -#endif #if CONFIG_IS_ENABLED(BOOTSTAGE) void show_boot_progress(int progress) diff --git a/configs/lschlv2_defconfig b/configs/lschlv2_defconfig index 87dc1be..081a244 100644 --- a/configs/lschlv2_defconfig +++ b/configs/lschlv2_defconfig @@ -28,7 +28,6 @@ CONFIG_BOOTCOMMAND="run bootcmd_${bootsource}" CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set -CONFIG_MISC_INIT_R=y CONFIG_SYS_MAXARGS=32 # CONFIG_CMD_FLASH is not set CONFIG_CMD_SATA=y diff --git a/configs/lsxhl_defconfig b/configs/lsxhl_defconfig index 35e414f..33bec60 100644 --- a/configs/lsxhl_defconfig +++ b/configs/lsxhl_defconfig @@ -29,7 +29,6 @@ CONFIG_BOOTCOMMAND="run bootcmd_${bootsource}" CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set -CONFIG_MISC_INIT_R=y CONFIG_SYS_MAXARGS=32 # CONFIG_CMD_FLASH is not set CONFIG_CMD_SATA=y |