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

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
README
configs/xpedite517x_defconfig
configs/xpedite537x_defconfig
drivers/misc/Kconfig
include/configs/xpedite517x.h
include/configs/xpedite537x.h
scripts/config_whitelist.txt

diff --git a/README b/README
index 12f06e4dddcbd926653a38866ae9c424e2dfd32e..99af4c5bbf586f4d74c6d339f8eaadeb0fd53a7d 100644 (file)
--- a/README
+++ b/README
@@ -830,7 +830,6 @@ The following options need to be configured:
                CONFIG_CMD_CRC32        * crc32
                CONFIG_CMD_DHCP         * DHCP support
                CONFIG_CMD_DIAG         * Diagnostics
-               CONFIG_CMD_DS4510       * ds4510 I2C gpio commands
                CONFIG_CMD_DTT          * Digital Therm and Thermostat
                CONFIG_CMD_ECHO           echo arguments
                CONFIG_CMD_EDITENV        edit env variable
index 909efb1c08d6ccc357054a2c23fa8c70852b77e1..69fd8fa0047a99b4d259aae514aafac3b110de3d 100644 (file)
@@ -15,6 +15,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_DS4510=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
index 41dee5d839a18d838a5731a15947735a287b29bd..641ef8ff09a28b1da4c6f3ecf0bc7932c3a5413b 100644 (file)
@@ -16,6 +16,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_SYS_FSL_DDR2=y
+CONFIG_DS4510=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
index 1aae4bcd07e15c8f12d187b0b7a014d539ce1ae6..ecca159d142f69b96aa2dc649e61eaf686050eab 100644 (file)
@@ -75,6 +75,14 @@ config CROS_EC_SPI
          provides a faster and more robust interface than I2C but the bugs
          are less interesting.
 
+config DS4510
+       bool "Enable support for DS4510 CPU supervisor"
+       help
+         Enable support for the Maxim DS4510 CPU supervisor. It has an
+         integrated 64-byte EEPROM, four programmable non-volatile I/O pins
+         and a configurable timer for the supervisor function. The device is
+         connected over I2C.
+
 config FSL_SEC_MON
        bool "Enable FSL SEC_MON Driver"
        help
index 822f70e7ac9d5ef801ded8dc29f2d8801ed45b5a..bd1d0c75d9174b57ac9a371f2ea119280c6194a9 100644 (file)
@@ -249,7 +249,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_M41T11_BASE_YEAR    2000
 
 /* GPIO/EEPROM/SRAM */
-#define CONFIG_DS4510
 #define CONFIG_SYS_I2C_DS4510_ADDR     0x51
 
 /* GPIO */
index a12a3f8347cb406fb495a1e1e0fe1e6e00219064..a290cf34639f13bb5ea5acb34a917d2aa7432d8e 100644 (file)
@@ -246,7 +246,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_SYS_M41T11_BASE_YEAR    2000
 
 /* GPIO/EEPROM/SRAM */
-#define CONFIG_DS4510
 #define CONFIG_SYS_I2C_DS4510_ADDR     0x51
 
 /* GPIO */
index f34fd6720638fd5f901d9e9d863cb92ac669dbab..5c4922c8596bd394c1f1a834554006e2b6350465 100644 (file)
@@ -681,7 +681,6 @@ CONFIG_DRIVE_MMC
 CONFIG_DRIVE_SATA
 CONFIG_DRIVE_TYPES
 CONFIG_DRIVE_USB
-CONFIG_DS4510
 CONFIG_DSP_CLUSTER_START
 CONFIG_DTT
 CONFIG_DTT_AD7414