]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_SYS_CONSOLE_ENV_OVERWRITE to Kconfig
authorSimon Glass <sjg@chromium.org>
Tue, 18 Oct 2016 02:12:58 +0000 (20:12 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 23 Oct 2016 22:33:58 +0000 (18:33 -0400)
This converts the following to Kconfig:
   CONFIG_SYS_CONSOLE_ENV_OVERWRITE

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
29 files changed:
README
common/Kconfig
configs/socfpga_arria5_defconfig
configs/socfpga_cyclone5_defconfig
configs/socfpga_de0_nano_soc_defconfig
configs/socfpga_is1_defconfig
configs/socfpga_mcvevk_defconfig
configs/socfpga_sockit_defconfig
configs/socfpga_socrates_defconfig
configs/socfpga_sr1500_defconfig
configs/socfpga_vining_fpga_defconfig
include/configs/MIP405.h
include/configs/MigoR.h
include/configs/PIP405.h
include/configs/ap325rxa.h
include/configs/ap_sh4a_4a.h
include/configs/armadillo-800eva.h
include/configs/ecovec.h
include/configs/kzm9g.h
include/configs/ms7722se.h
include/configs/r0p7734.h
include/configs/rcar-gen2-common.h
include/configs/rcar-gen3-common.h
include/configs/sh7752evb.h
include/configs/sh7753evb.h
include/configs/sh7757lcr.h
include/configs/sh7785lcr.h
include/configs/socfpga_common.h
scripts/config_whitelist.txt

diff --git a/README b/README
index 8697eb21e2379d6365d6535fa92b8ba642c59eab..5a892b33c7f7501dc8cfd98c13b5b3c8607c7b72 100644 (file)
--- a/README
+++ b/README
@@ -3533,9 +3533,6 @@ Configuration Settings:
 - CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
                Enable the call to overwrite_console().
 
-- CONFIG_SYS_CONSOLE_ENV_OVERWRITE
-               Enable overwrite of previous console environment settings.
-
 - CONFIG_SYS_MEMTEST_START, CONFIG_SYS_MEMTEST_END:
                Begin and End addresses of the area used by the
                simple memory test.
index 3be424488ef994e11c13b404fd26831fcbbce10b..e78e91829b5398cadc381495d6e5328860060577 100644 (file)
@@ -309,6 +309,15 @@ config SYS_CONSOLE_IS_IN_ENV
          environment variables can be updated after boot to change the
          input/output devices.
 
+config SYS_CONSOLE_ENV_OVERWRITE
+       bool "Update environment variables during console init"
+       help
+         The console environment variables (stdout, stdin, stderr) can be
+         used to determine the correct console devices on start-up. This
+         option writes the console devices to these variables on console
+         start-up (after relocation). This causes the environment to be
+         updated to match the console devices actually chosen.
+
 endmenu
 
 config SYS_NO_FLASH
index 5d311125a7fccfd1ea827fec50e3cb508ab2e16d..246ba00b1dfbc983c9906c6d17b9d91409843648 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R_ADDR=0x00800000
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria5_socdk"
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index c930accddedd5bda47eb434e0e3d9fb9cae1db7e..bc550e50347198e698190dbcd79ba76dc5547837 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R_ADDR=0x00800000
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socdk"
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index 402d9fb1dc3af0de2e36c7491a3b35a6984c384b..140ac4dbe6e878a6be1cb5140d754b87b0822c22 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R_ADDR=0x00800000
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_de0_nano_soc"
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index cc0313cfa43b4f8bbec65f1922be932b0059785f..6a50f5b690836d4d0a5326827a56b82381eaf455 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R_ADDR=0x00800000
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_is1"
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index 2462f662e1afb81fa3d929cf084bec8582348310..cc0938d10dd184e0cf0829db1fad171c3d5fc429 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R_ADDR=0x00800000
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_mcvevk"
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index 7b1c4766fa0c0e7676c8c1e067e03e16b073c340..a2088565754b41abc1ff0f66dc8ef4976263a693 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R_ADDR=0x00800000
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_sockit"
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index 4a2699607123e68e0ae8fec5ff36e6405302398c..b9e72c82db769ca7c88635dcc747eef6df8bbb0a 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R_ADDR=0x00800000
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socrates"
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index 770ebcd17ad2e1c08be3e7f28a76600516992555..276682753fda444eed6d734575ff56e941f5704c 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_STACK_R_ADDR=0x00800000
 CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_sr1500"
 CONFIG_FIT=y
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index 79b0cbae86f6160066e9180d80a394ee267f3576..c9b017890e7219b682fdec6d8d4b0746b6efbfe6 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_vining_fpga"
 CONFIG_FIT=y
 CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
index 7764b23ee99e7a43faba36511a3f6d09f051f81a..0cc8f3726e3c61cbb661ed2302f98a6ac63e469f 100644 (file)
  * defines if the overwrite_console should be stored in the
  * environment
  **************************************************************/
-#undef CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 /**************************************************************
  * loads config
index a4eabe5813dbd76794f9b6cfb755e0352e3952bb..588ddd4e26a7b5f278c0487f09f36728f60c46fe 100644 (file)
@@ -43,7 +43,6 @@
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET  /* Suppress display of console
                                                                   information at boot */
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (MIGO_R_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + (60 * 1024 * 1024))
index 786fab01976ba4181d2a25c3585baa2353870925..c9acb0259d7688d81bf5472ceb901a41d5945e8c 100644 (file)
  * defines if the overwrite_console should be stored in the
  * environment
  **************************************************************/
-#undef CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 /**************************************************************
  * loads config
index 32acb080c0a516071f4236cfa95e9c72e7fc04df..795a7d23ebbfbc9ea93320aa2b4a2f75a695fa75 100644 (file)
@@ -57,7 +57,6 @@
 /* Suppress display of console information at boot */
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (AP325RXA_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + (60 * 1024 * 1024))
index d41b62440541dbcbc60d4902e4ecbcacc127d201..fc08d7b8549910241d18ed32b047d27b3a28133e 100644 (file)
@@ -73,7 +73,6 @@
 /* Suppress display of console information at boot */
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE  (0x88000000)
index e616da4b6bd762393c0fc725b50efd47d84bb670..3198df55555e60865636da52dfac6234133e883a 100644 (file)
@@ -60,7 +60,6 @@
 #define        CONFIG_SCIF_A
 #undef CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (ARMADILLO_800EVA_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + \
index c8508fff2d2d39cb51dda4a07d660d3b4dd355bc..8ab26e6d7a89fb028391579427ce92e7543a996f 100644 (file)
@@ -93,7 +93,6 @@
 /* Suppress display of console information at boot */
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE  (0x88000000)
index a5c872c2244fcc0a1abd3ae6880814388264e1ae..4ea9ba21e5daa99ce4971884b7c5303379f23579 100644 (file)
@@ -56,7 +56,6 @@
 #define CONFIG_CONS_SCIF4
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (KZM_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END \
index 9b0c166d60d48119a273a9172bc4c2980093f3d3..d0b6e5819d356acd523f78ff703353d9647be718 100644 (file)
@@ -42,7 +42,6 @@
 #define CONFIG_CONS_SCIF0      1
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET                  /* Suppress display of console information at boot */
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (MS7722SE_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + (60 * 1024 * 1024))
index 2d7e326f5126f213bd7b5fb274041e98237f1ecc..408ae21ae1cf1d768524e8d90d795198daf02b24 100644 (file)
@@ -78,7 +78,6 @@
 /* Suppress display of console information at boot */
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE  (0x88000000)
index b24652f316ad548ac71d948734f92fd0a5a048da..1891242987555e123d1c4b4f0ba516db9b576f7c 100644 (file)
@@ -42,7 +42,6 @@
 /* console */
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_LONGHELP
 #define CONFIG_SYS_CBSIZE              256
index 1e9752b5f25941bd390bb1732198b442f4ff96ba..cf1af6687ee783a103c5b81373e71df73d71131c 100644 (file)
@@ -50,7 +50,6 @@
 /* console */
 #undef  CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef  CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef  CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_LONGHELP
 #define CONFIG_SYS_CBSIZE              256
index cfcde81f3126370f249da214049bc09d55618292..fd32ddc9eee4610506b630247045e9a8d4bb375c 100644 (file)
@@ -46,7 +46,6 @@
 #define CONFIG_CONS_SCIF2      1
 #undef CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (SH7752EVB_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + \
index fefdbb4ff2eaba1039c3b0d2dbaebecd8540e49e..57c8e769c0fa0f3cff734ffbec535df3d58d28ae 100644 (file)
@@ -46,7 +46,6 @@
 #define CONFIG_CONS_SCIF2      1
 #undef CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (SH7753EVB_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + \
index 262d39027121d2b5ab90834183fb10eddc435077..cb09a7cca0d7a660b8a22ad2040d37e48767f4a1 100644 (file)
@@ -46,7 +46,6 @@
 #define CONFIG_CONS_SCIF2      1
 #undef CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (SH7757LCR_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + \
index 80e61a4f043ddfea5c2d8d22122b76cddf983fcb..6eee51ed8e6772441d63db7c1bc2790b51f322c7 100644 (file)
@@ -62,7 +62,6 @@
 #define CONFIG_SCIF_EXT_CLOCK  1
 #undef CONFIG_SYS_CONSOLE_INFO_QUIET
 #undef CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#undef CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 
 #define CONFIG_SYS_MEMTEST_START       (SH7785LCR_SDRAM_BASE)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + \
index 9bb2227ee2fa28f04b5770c0bb15c94fa4692af4..e76e072bb0f94149847f1714c055ab2687f38946 100644 (file)
@@ -252,7 +252,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
  * U-Boot environment
  */
 #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
-#define CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 #if !defined(CONFIG_ENV_SIZE)
 #define CONFIG_ENV_SIZE                        4096
 #endif
index bc37626ce6705985aa401a58e2f2a69cb15a4f5e..8b49304551727b60290523780172fa6f84217805 100644 (file)
@@ -4597,7 +4597,6 @@ CONFIG_SYS_CMXFCR_VALUE1
 CONFIG_SYS_CMXFCR_VALUE2
 CONFIG_SYS_CMXFCR_VALUE3
 CONFIG_SYS_CMXSCR_VALUE
-CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 CONFIG_SYS_CONSOLE_INFO_QUIET
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
 CONFIG_SYS_CORE_SRAM