mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 01:03:05 +00:00
e44657ed74
For non TI boards it is not possible to enable the do_board_detect() call as TI_I2C_BOARD_DETECT is defined in board/ti/common/Kconfig. I want to use do_board_detect() to dectect boards and properties based on some SPI communication with a FPGA. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
52 lines
1.2 KiB
Text
52 lines
1.2 KiB
Text
config TI_I2C_BOARD_DETECT
|
|
bool "Support for Board detection for TI platforms"
|
|
select K3_BOARD_DETECT if ARCH_K3
|
|
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 CAPE_EEPROM_BUS_NUM
|
|
int "Cape EEPROM's I2C bus address"
|
|
range 0 8
|
|
default 2
|
|
depends on CMD_EXTENSION
|
|
|
|
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
|