mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
7e6668e8f0
There is an option to enable the board detection for TI platforms. If this is option is not set, there is no reason to set the EEPROM bus address or chip address. This patch makes both EEPROM_BUS_ADDRESS and EEPROM_CHIP_ADDRESS depend on TI_I2C_BOARD_DETECT. Signed-off-by: Adam Ford <aford173@gmail.com>
45 lines
1 KiB
Text
45 lines
1 KiB
Text
config TI_I2C_BOARD_DETECT
|
|
bool "Support for Board detection for TI platforms"
|
|
help
|
|
Support for detection board information on Texas Instrument's
|
|
Evaluation Boards which have I2C based EEPROM detection
|
|
|
|
config EEPROM_BUS_ADDRESS
|
|
int "Board EEPROM's I2C bus address"
|
|
range 0 8
|
|
default 0
|
|
depends on TI_I2C_BOARD_DETECT
|
|
|
|
config EEPROM_CHIP_ADDRESS
|
|
hex "Board EEPROM's I2C chip address"
|
|
range 0 0xff
|
|
default 0x50
|
|
depends on TI_I2C_BOARD_DETECT
|
|
|
|
config TI_COMMON_CMD_OPTIONS
|
|
bool "Enable cmd options on TI platforms"
|
|
imply CMD_ASKENV
|
|
imply CMD_BOOTZ
|
|
imply CRC32_VERIFY if ARCH_KEYSTONE
|
|
imply CMD_DFU if USB_GADGET_DOWNLOAD
|
|
imply CMD_DHCP
|
|
imply CMD_EEPROM
|
|
imply CMD_EXT2
|
|
imply CMD_EXT4
|
|
imply CMD_EXT4_WRITE
|
|
imply CMD_FAT
|
|
imply FAT_WRITE if CMD_FAT
|
|
imply CMD_FS_GENERIC
|
|
imply CMD_GPIO
|
|
imply CMD_GPT
|
|
imply CMD_I2C
|
|
imply CMD_MII
|
|
imply CMD_MMC
|
|
imply CMD_PART
|
|
imply CMD_PING
|
|
imply CMD_PMIC if DM_PMIC
|
|
imply CMD_REGULATOR if DM_REGULATOR
|
|
imply CMD_SF if SPI_FLASH
|
|
imply CMD_SPI
|
|
imply CMD_TIME
|
|
imply CMD_USB if USB
|