This converts the following to Kconfig:
   CONFIG_CMD_DISPLAY

Signed-off-by: Simon Glass <s...@chromium.org>
---

 cmd/Kconfig                        | 8 ++++++++
 configs/a4m072_defconfig           | 1 +
 include/config_cmd_all.h           | 1 -
 include/configs/a4m072.h           | 1 -
 include/configs/manroland/common.h | 1 -
 scripts/config_whitelist.txt       | 1 -
 6 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index afa90aa091..c7641d1379 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -697,6 +697,14 @@ config CMD_CACHE
        help
          Enable the "icache" and "dcache" commands
 
+config CMD_DISPLAY
+       bool "Enable the 'display' command, for character displays"
+       help
+         (this needs porting to driver model)
+         This enables the 'display' command which allows a string to be
+         displayed on a simple board-specific display. Implement
+         display_putc() to use it.
+
 config CMD_LED
        bool "led"
        default y if LED
diff --git a/configs/a4m072_defconfig b/configs/a4m072_defconfig
index 25a06cf7a5..ce5edcbf01 100644
--- a/configs/a4m072_defconfig
+++ b/configs/a4m072_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
+CONFIG_CMD_DISPLAY=y
 CONFIG_CMD_FAT=y
 CONFIG_MAC_PARTITION=y
 # CONFIG_MMC is not set
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 39e02c25a5..bba3b78964 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_DATE                /* support for RTC, date/time...*/
-#define CONFIG_CMD_DISPLAY     /* Display support              */
 #define CONFIG_CMD_DTT         /* Digital Therm and Thermostat */
 #define CONFIG_CMD_EEPROM      /* EEPROM read/write support    */
 #define CONFIG_CMD_FDC         /* Floppy Disk Support          */
diff --git a/include/configs/a4m072.h b/include/configs/a4m072.h
index e07a782fec..79099518e7 100644
--- a/include/configs/a4m072.h
+++ b/include/configs/a4m072.h
@@ -83,7 +83,6 @@
  */
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
-#define CONFIG_CMD_DISPLAY
 
 #if defined(CONFIG_PCI)
 #define CONFIG_CMD_PCI
diff --git a/include/configs/manroland/common.h 
b/include/configs/manroland/common.h
index 7f3231bd0c..7d63e14030 100644
--- a/include/configs/manroland/common.h
+++ b/include/configs/manroland/common.h
@@ -19,7 +19,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_DATE
-#define CONFIG_CMD_DISPLAY
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_IDE
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 872c3006fe..5d5aa232ef 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -394,7 +394,6 @@ CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
 CONFIG_CMD_DATE
-CONFIG_CMD_DISPLAY
 CONFIG_CMD_DS4510
 CONFIG_CMD_DS4510_INFO
 CONFIG_CMD_DS4510_MEM
-- 
2.13.0.rc0.306.g87b477812d-goog

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to