diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 12:25:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-22 19:38:23 +0300 |
commit | e8e09ba5b7466a19bbb61d5e00348f5363ad2977 (patch) | |
tree | 42d7c2597d138c77abd53c401f0ee0bc7b45dcaf | |
parent | d70f919e49c9105c49427786a1731feae322cb7a (diff) | |
download | u-boot-e8e09ba5b7466a19bbb61d5e00348f5363ad2977.tar.xz |
Convert CONFIG_CMD_HD44760 to Kconfig
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>
-rw-r--r-- | board/work-microwave/work_92105/Kconfig | 5 | ||||
-rw-r--r-- | board/work-microwave/work_92105/work_92105_display.c | 2 | ||||
-rw-r--r-- | configs/work_92105_defconfig | 1 | ||||
-rw-r--r-- | include/configs/work_92105.h | 1 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
5 files changed, 7 insertions, 3 deletions
diff --git a/board/work-microwave/work_92105/Kconfig b/board/work-microwave/work_92105/Kconfig index 74f004f53c..1fde4b29aa 100644 --- a/board/work-microwave/work_92105/Kconfig +++ b/board/work-microwave/work_92105/Kconfig @@ -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 diff --git a/board/work-microwave/work_92105/work_92105_display.c b/board/work-microwave/work_92105/work_92105_display.c index 3d7438e527..37a736351c 100644 --- a/board/work-microwave/work_92105/work_92105_display.c +++ b/board/work-microwave/work_92105/work_92105_display.c @@ -346,4 +346,4 @@ U_BOOT_CMD( "HD44780 LCD driver control", hd44780_help_text ); -#endif /* CONFIG_CMD_HD44780 */ +#endif /* CONFIG_CMD_HD44760 */ diff --git a/configs/work_92105_defconfig b/configs/work_92105_defconfig index 9ce932f23c..06b31baeea 100644 --- a/configs/work_92105_defconfig +++ b/configs/work_92105_defconfig @@ -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 diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h index 65db858ffb..56f53b9732 100644 --- a/include/configs/work_92105.h +++ b/include/configs/work_92105.h @@ -134,7 +134,6 @@ #define CONFIG_LPC32XX_SSP #define CONFIG_LPC32XX_SSP_TIMEOUT 100000 #define CONFIG_CMD_MAX6957 -#define CONFIG_CMD_HD44760 /* * Environment */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index f655ba56b1..6aaafaf0cd 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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 |