summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-26 22:28:09 -0600
committerTom Rini <trini@konsulko.com>2017-04-30 13:41:01 -0400
commit93d66ee56699456a4f0e03cf1ab38fa1adbfcdc7 (patch)
tree5b3f99f256b845a84ff82e6962752a30a8c5e7d5
parent3bd25cb512b912e9c8e9074467e730a73f87371d (diff)
downloadu-boot-93d66ee56699456a4f0e03cf1ab38fa1adbfcdc7.tar.gz
u-boot-93d66ee56699456a4f0e03cf1ab38fa1adbfcdc7.tar.bz2
u-boot-93d66ee56699456a4f0e03cf1ab38fa1adbfcdc7.zip
Convert CONFIG_CMD_DISPLAY to Kconfig
This converts the following to Kconfig: CONFIG_CMD_DISPLAY Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--cmd/Kconfig8
-rw-r--r--configs/a4m072_defconfig1
-rw-r--r--include/config_cmd_all.h1
-rw-r--r--include/configs/a4m072.h1
-rw-r--r--include/configs/manroland/common.h1
-rw-r--r--scripts/config_whitelist.txt1
6 files changed, 9 insertions, 4 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 334e531ffe..73fc29e1b9 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -698,6 +698,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 2ad4e08853..11689e8580 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