]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_SYS_PROMPT et al to Kconfig
authorTom Rini <trini@konsulko.com>
Mon, 8 Nov 2021 03:59:44 +0000 (22:59 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 12 Nov 2021 19:18:17 +0000 (14:18 -0500)
This converts the following to Kconfig:
   CONFIG_SYS_PROMPT
   CONFIG_SYS_PROMPT_HUSH_PS2

Signed-off-by: Tom Rini <trini@konsulko.com>
12 files changed:
configs/imx8mq_evk_defconfig
configs/s5p4418_nanopi2_defconfig
include/configs/apalis-imx8x.h
include/configs/imx8mm-cl-iot-gate.h
include/configs/imx8mm_venice.h
include/configs/imx8mn_beacon.h
include/configs/imx8mq_evk.h
include/configs/imx8ulp_evk.h
include/configs/mx7ulp_evk.h
include/configs/octeontx2_common.h
include/configs/octeontx_common.h
include/configs/s5p4418_nanopi2.h

index b02d9c1d758a36bd840805382eb67d1e209809d7..cf6068c0f4d8fed8bae8d48a69499bbabb2efa69 100644 (file)
@@ -30,6 +30,7 @@ CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_POWER=y
 CONFIG_SPL_WATCHDOG=y
+CONFIG_SYS_PROMPT="u-boot=> "
 # CONFIG_BOOTM_NETBSD is not set
 # CONFIG_CMD_EXPORTENV is not set
 # CONFIG_CMD_IMPORTENV is not set
index eaf319e58a2a0f8fdf837ac83f06c52e1f2ca14a..fa59cfd069239a908349f917df7b452861f0a0cf 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_BOARD_LATE_INIT=y
 CONFIG_HUSH_PARSER=y
+CONFIG_SYS_PROMPT="nanopi2# "
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_GPIO=y
index 5b00a3c7e0b9ab628d8a812e667b232554bf3799..50dae2d8e05ae85ceffac96e19b30dc9ce7d4fd7 100644 (file)
 #define PHYS_SDRAM_2_SIZE              0x00000000      /* 0 GB */
 
 /* Monitor Command Prompt */
-#define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
 #define CONFIG_SYS_CBSIZE              SZ_2K
 #define CONFIG_SYS_MAXARGS             64
 #define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
index caab69ab2ae48f0ba33f4cec47dff4b95d403b1a..6868b80484992a1a49094a6493b6c0885220e099 100644 (file)
 #define CONFIG_MXC_UART_BASE           UART3_BASE_ADDR
 
 /* Monitor Command Prompt */
-#define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
 #define CONFIG_SYS_CBSIZE              2048
 #define CONFIG_SYS_MAXARGS             64
 #define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
index 63f02bfd01e81acfe80bf0b7c28dee1a36a80a36..f8d41425c6fa5a4b9006ddb75495454ad418fcd6 100644 (file)
@@ -96,7 +96,6 @@
 #define CONFIG_MXC_UART_BASE           UART2_BASE_ADDR
 
 /* Monitor Command Prompt */
-#define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
 #define CONFIG_SYS_CBSIZE              SZ_2K
 #define CONFIG_SYS_MAXARGS             64
 #define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
index b027bea5b544cfcbbf6d9a3f4f16d1b4d7e62ff7..f89836cd2a8baf563d0aafdd70678b5ffbe696e6 100644 (file)
 #define CONFIG_MXC_UART_BASE           UART2_BASE_ADDR
 
 /* Monitor Command Prompt */
-#define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
 #define CONFIG_SYS_CBSIZE              2048
 #define CONFIG_SYS_MAXARGS             64
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
index 464c0c3db0593e774c8ea264620f3b23036fb7e2..fa1f29f274341433573db3da218835cd077b6606 100644 (file)
@@ -93,8 +93,6 @@
 #define CONFIG_MXC_UART_BASE           UART1_BASE_ADDR
 
 /* Monitor Command Prompt */
-#undef CONFIG_SYS_PROMPT
-#define CONFIG_SYS_PROMPT              "u-boot=> "
 #define CONFIG_SYS_CBSIZE              1024
 #define CONFIG_SYS_MAXARGS             64
 #define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
index 90a8fa72f1f58496acf0f90ba2d2483554690fd7..501f465b9e75a851900d44a083919603b981f00e 100644 (file)
@@ -81,7 +81,6 @@
 #define PHYS_SDRAM_SIZE                        0x80000000 /* 2GB DDR */
 
 /* Monitor Command Prompt */
-#define CONFIG_SYS_PROMPT_HUSH_PS2     "> "
 #define CONFIG_SYS_CBSIZE              2048
 #define CONFIG_SYS_MAXARGS             64
 #define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
index 6d7f09e2885e35c487db82a787d999c5b070c757..4046c3fbf7326cb0d0df14770f09c31ea5834a5d 100644 (file)
@@ -26,7 +26,6 @@
 #define LPUART_BASE                    LPUART4_RBASE
 
 /* Miscellaneous configurable options */
-#define CONFIG_SYS_PROMPT              "=> "
 #define CONFIG_SYS_CBSIZE              512
 
 #define CONFIG_SYS_MAXARGS             256
index c64134792df1468196b80ee1dccf3df06b8806c8..6f3e2cae937ccea5e06a46de532063459c07a6ad 100644 (file)
@@ -42,9 +42,6 @@
 
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT   8192
 
-#undef CONFIG_SYS_PROMPT
-#define CONFIG_SYS_PROMPT              env_get("prompt")
-
 #if defined(CONFIG_MMC_OCTEONTX)
 #define MMC_SUPPORTS_TUNING
 /** EMMC specific defines */
index 26b3add722b7afd3fa93ccfe4cd7a79d314c95e6..46908be32a393664ef9acf7577a4e795cf03c0d5 100644 (file)
@@ -75,9 +75,6 @@
 
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT   8192
 
-#undef CONFIG_SYS_PROMPT
-#define CONFIG_SYS_PROMPT              env_get("prompt")
-
 /** EMMC specific defines */
 #if defined(CONFIG_MMC_OCTEONTX)
 #define CONFIG_SUPPORT_EMMC_RPMB
index d22a84a50352810ad7ee9011e9e08c0286151ca6..2e94613c37a4b0cdb54d735d0521a32194f19890 100644 (file)
  */
 /* board_init_f->init_sequence, call arch_cpu_init */
 
-/*-----------------------------------------------------------------------
- * Miscellaneous configurable options
- */
-#ifdef CONFIG_SYS_PROMPT
-#undef CONFIG_SYS_PROMPT
-/* Monitor Command Prompt */
-#define CONFIG_SYS_PROMPT              "nanopi2# "
-#endif
-
 /* Console I/O Buffer Size */
 #define CONFIG_SYS_CBSIZE              1024
 /* Print Buffer Size */