summaryrefslogtreecommitdiff
path: root/board/buffalo/lsxl
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-08-17 22:37:58 +0300
committerStefan Roese <sr@denx.de>2022-08-23 13:39:36 +0300
commit7717c2faf8984505a72962bac582ce65fb2a4641 (patch)
treeb342b8110634610d545cb2cdc3939b7461029dfb /board/buffalo/lsxl
parentb6a0683fe6b38cf0c5fb80a4eb07743908f04311 (diff)
downloadu-boot-7717c2faf8984505a72962bac582ce65fb2a4641.tar.xz
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>
Diffstat (limited to 'board/buffalo/lsxl')
-rw-r--r--board/buffalo/lsxl/lsxl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c
index 42221eef3a..eca7da2f6d 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)