]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_CMD_MAX6957 to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 4 Aug 2017 22:34:26 +0000 (16:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Aug 2017 15:34:14 +0000 (11:34 -0400)
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>
board/work-microwave/work_92105/Kconfig
configs/work_92105_defconfig
include/configs/work_92105.h
scripts/config_whitelist.txt

index 1fde4b29aa565841f438d65ab580b1407e02bea3..4bc34ed01f0ca1d190753687212e6273b547f92b 100644 (file)
@@ -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
index 8e7f6c864d77776f264bd0a0b487265f2b032285..b8ded52107ac2f9f4df71987f0a0a3b96b38ac83 100644 (file)
@@ -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
index f7a3df103d7a61e3d766ab0f29d6bac67817be28..9ecf2485d6a76a52b9435f2115ef0ff9e20734fd 100644 (file)
 
 #define CONFIG_LPC32XX_SSP
 #define CONFIG_LPC32XX_SSP_TIMEOUT 100000
-#define CONFIG_CMD_MAX6957
 /*
  * Environment
  */
index 4689d6310f0c39c3346188c1a93f417a708af037..457907b7d2c024bdc0171bf2a667cc2fec55ec1e 100644 (file)
@@ -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