Преглед на файлове

Convert CONFIG_CMD_DISPLAY to Kconfig

This converts the following to Kconfig:
   CONFIG_CMD_DISPLAY

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass преди 8 години
родител
ревизия
93d66ee566
променени са 6 файла, в които са добавени 9 реда и са изтрити 4 реда
  1. 8 0
      cmd/Kconfig
  2. 1 0
      configs/a4m072_defconfig
  3. 0 1
      include/config_cmd_all.h
  4. 0 1
      include/configs/a4m072.h
  5. 0 1
      include/configs/manroland/common.h
  6. 0 1
      scripts/config_whitelist.txt

+ 8 - 0
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

+ 1 - 0
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

+ 0 - 1
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		*/

+ 0 - 1
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

+ 0 - 1
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

+ 0 - 1
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