Convert CONFIG_CMD_HD44760 to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:27 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 16:38:23 +0000 (12:38 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_HD44760

Also drop CONFIG_CMD_HD44780 which appears to be a typo.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/work-microwave/work_92105/Kconfig
board/work-microwave/work_92105/work_92105_display.c
configs/work_92105_defconfig
include/configs/work_92105.h
scripts/config_whitelist.txt

index 74f004f53cabe70dc6d63b665bb533bb953cee7a..1fde4b29aa565841f438d65ab580b1407e02bea3 100644 (file)
@@ -12,4 +12,9 @@ config SYS_SOC
 config SYS_CONFIG_NAME
        default "work_92105"
 
+config CMD_HD44760
+       bool "Enable 'hd44780' LCD-control comand"
+       help
+         This controls the LCD driver.
+
 endif
index 3d7438e5277e5ff99b6ce8aa0d8a6fc0522b628c..37a736351cb02acd5aeb4ac644e507798fd8d645 100644 (file)
@@ -346,4 +346,4 @@ U_BOOT_CMD(
        "HD44780 LCD driver control",
        hd44780_help_text
 );
-#endif /* CONFIG_CMD_HD44780 */
+#endif /* CONFIG_CMD_HD44760 */
index 9ce932f23c7bbfbe6b8240dbb037140c74fc8fd7..06b31baeea3c1cab341b665984798af7bb244278 100644 (file)
@@ -4,6 +4,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_CMD_HD44760=y
 CONFIG_BOOTDELAY=3
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
index 65db858ffb407bdf9dde9b6a60e8577e62b6923e..56f53b97323069254e9e8afb3c18950298bc4add 100644 (file)
 #define CONFIG_LPC32XX_SSP
 #define CONFIG_LPC32XX_SSP_TIMEOUT 100000
 #define CONFIG_CMD_MAX6957
-#define CONFIG_CMD_HD44760
 /*
  * Environment
  */
index f655ba56b1c364d81962162557e703aa730b1365..6aaafaf0cd16d9b768288f3c34dd31ddcae2452a 100644 (file)
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_HD44760
 CONFIG_CMD_HD44780
 CONFIG_CMD_HDMIDETECT
 CONFIG_CMD_IDE