Convert CONFIG_DS4510 to Kconfig

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>
This commit is contained in:
Simon Glass 2017-05-17 03:25:02 -06:00 committed by Tom Rini
parent 1136eb5e8f
commit 879704d8f7
7 changed files with 10 additions and 4 deletions

1
README
View File

@ -830,7 +830,6 @@ The following options need to be configured:
CONFIG_CMD_CRC32 * crc32 CONFIG_CMD_CRC32 * crc32
CONFIG_CMD_DHCP * DHCP support CONFIG_CMD_DHCP * DHCP support
CONFIG_CMD_DIAG * Diagnostics CONFIG_CMD_DIAG * Diagnostics
CONFIG_CMD_DS4510 * ds4510 I2C gpio commands
CONFIG_CMD_DTT * Digital Therm and Thermostat CONFIG_CMD_DTT * Digital Therm and Thermostat
CONFIG_CMD_ECHO echo arguments CONFIG_CMD_ECHO echo arguments
CONFIG_CMD_EDITENV edit env variable CONFIG_CMD_EDITENV edit env variable

View File

@ -15,6 +15,7 @@ CONFIG_CMD_MII=y
CONFIG_CMD_PING=y CONFIG_CMD_PING=y
CONFIG_CMD_SNTP=y CONFIG_CMD_SNTP=y
CONFIG_CMD_DATE=y CONFIG_CMD_DATE=y
CONFIG_DS4510=y
# CONFIG_MMC is not set # CONFIG_MMC is not set
CONFIG_MTD_NOR_FLASH=y CONFIG_MTD_NOR_FLASH=y
CONFIG_SYS_NS16550=y CONFIG_SYS_NS16550=y

View File

@ -16,6 +16,7 @@ CONFIG_CMD_PING=y
CONFIG_CMD_SNTP=y CONFIG_CMD_SNTP=y
CONFIG_CMD_DATE=y CONFIG_CMD_DATE=y
CONFIG_SYS_FSL_DDR2=y CONFIG_SYS_FSL_DDR2=y
CONFIG_DS4510=y
# CONFIG_MMC is not set # CONFIG_MMC is not set
CONFIG_MTD_NOR_FLASH=y CONFIG_MTD_NOR_FLASH=y
CONFIG_SYS_NS16550=y CONFIG_SYS_NS16550=y

View File

@ -75,6 +75,14 @@ config CROS_EC_SPI
provides a faster and more robust interface than I2C but the bugs provides a faster and more robust interface than I2C but the bugs
are less interesting. 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 config FSL_SEC_MON
bool "Enable FSL SEC_MON Driver" bool "Enable FSL SEC_MON Driver"
help help

View File

@ -249,7 +249,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_M41T11_BASE_YEAR 2000 #define CONFIG_SYS_M41T11_BASE_YEAR 2000
/* GPIO/EEPROM/SRAM */ /* GPIO/EEPROM/SRAM */
#define CONFIG_DS4510
#define CONFIG_SYS_I2C_DS4510_ADDR 0x51 #define CONFIG_SYS_I2C_DS4510_ADDR 0x51
/* GPIO */ /* GPIO */

View File

@ -246,7 +246,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CONFIG_SYS_M41T11_BASE_YEAR 2000 #define CONFIG_SYS_M41T11_BASE_YEAR 2000
/* GPIO/EEPROM/SRAM */ /* GPIO/EEPROM/SRAM */
#define CONFIG_DS4510
#define CONFIG_SYS_I2C_DS4510_ADDR 0x51 #define CONFIG_SYS_I2C_DS4510_ADDR 0x51
/* GPIO */ /* GPIO */

View File

@ -681,7 +681,6 @@ CONFIG_DRIVE_MMC
CONFIG_DRIVE_SATA CONFIG_DRIVE_SATA
CONFIG_DRIVE_TYPES CONFIG_DRIVE_TYPES
CONFIG_DRIVE_USB CONFIG_DRIVE_USB
CONFIG_DS4510
CONFIG_DSP_CLUSTER_START CONFIG_DSP_CLUSTER_START
CONFIG_DTT CONFIG_DTT
CONFIG_DTT_AD7414 CONFIG_DTT_AD7414