diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-05 01:34:26 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-11 18:34:14 +0300 |
commit | 241d281853e443498dccab520dfcbfca439269f5 (patch) | |
tree | d49cb77a4a03e480b8471b0999fc86832c04bea4 | |
parent | b7695c0e5917458ed8bc0016cd3f6e28b3b3847c (diff) | |
download | u-boot-241d281853e443498dccab520dfcbfca439269f5.tar.xz |
Convert CONFIG_CMD_MAX6957 to Kconfig
This converts the following to Kconfig:
CONFIG_CMD_MAX6957
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r-- | board/work-microwave/work_92105/Kconfig | 7 | ||||
-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 |
4 files changed, 8 insertions, 2 deletions
diff --git a/board/work-microwave/work_92105/Kconfig b/board/work-microwave/work_92105/Kconfig index 1fde4b29aa..4bc34ed01f 100644 --- a/board/work-microwave/work_92105/Kconfig +++ b/board/work-microwave/work_92105/Kconfig @@ -17,4 +17,11 @@ config CMD_HD44760 help This controls the LCD driver. +config CMD_MAX6957 + bool "Enable 'max6957aax' PMIC command" + help + DEPRECATED: Needs conversion to driver model. + + This allows PMIC registers to be read and written. + endif diff --git a/configs/work_92105_defconfig b/configs/work_92105_defconfig index 8e7f6c864d..b8ded52107 100644 --- a/configs/work_92105_defconfig +++ b/configs/work_92105_defconfig @@ -6,6 +6,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y CONFIG_CMD_HD44760=y CONFIG_ENV_IS_IN_NAND=y +CONFIG_CMD_MAX6957=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 f7a3df103d..9ecf2485d6 100644 --- a/include/configs/work_92105.h +++ b/include/configs/work_92105.h @@ -130,7 +130,6 @@ #define CONFIG_LPC32XX_SSP #define CONFIG_LPC32XX_SSP_TIMEOUT 100000 -#define CONFIG_CMD_MAX6957 /* * Environment */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 4689d6310f..457907b7d2 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -293,7 +293,6 @@ CONFIG_CM922T_XA10 CONFIG_CMDLINE_EDITING CONFIG_CMDLINE_PS_SUPPORT CONFIG_CMDLINE_TAG -CONFIG_CMD_MAX6957 CONFIG_CMD_MEM CONFIG_CMD_MFSL CONFIG_CMD_MMC_SPI |