bk4r1: Re-convert CONFIG_AUTOBOOT_PROMPT et al to Kconfig
authorTom Rini <trini@konsulko.com>
Tue, 16 Jun 2020 23:06:09 +0000 (19:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 26 Jun 2020 14:29:05 +0000 (10:29 -0400)
This converts the following to Kconfig:
   CONFIG_AUTOBOOT_PROMPT
   CONFIG_AUTOBOOT_KEYED
   CONFIG_AUTOBOOT_STOP_STR

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/bk4r1_defconfig
include/configs/bk4r1.h

index 8c2bda6984ae86ee537360d7095330125f09dd78..bcad243dd2bdbcbeedbdd8c7e8fcd6dfd6e33aa7 100644 (file)
@@ -18,6 +18,9 @@ CONFIG_BOOTDELAY=3
 CONFIG_USE_PREBOOT=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_PROMPT="Enter passphrase to stop autoboot, booting in %d seconds\n"
+CONFIG_AUTOBOOT_STOP_STR="123"
 # CONFIG_CMD_ELF is not set
 CONFIG_CMD_MEMTEST=y
 CONFIG_SYS_MEMTEST_START=0x80010000
index f88172a05c55a4b4741c358ec7d7acc8ca9f889c..300b9c7b7afbf8ca6c72bc446a5b5db0fb6d9afa 100644 (file)
                                                "saveenv; " \
                                                "fi; "
 
-/* Autoboot options */
-#define CONFIG_AUTOBOOT_KEYED
-#define CONFIG_AUTOBOOT_PROMPT \
-       "Enter passphrase to stop autoboot, booting in %d seconds\n"
-#define CONFIG_AUTOBOOT_STOP_STR "123"
-
 #include <asm/arch/imx-regs.h>
 #include <linux/sizes.h>