summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2019-11-04 17:05:24 -0600
committerTom Rini <trini@konsulko.com>2019-11-07 18:39:18 -0500
commit7e6668e8f0ea9694ec2a417a841bcb86462ceb7d (patch)
tree2d904462c17aab25292a606eb2500e345dffb40d
parent5d44207d1740af4639f6a5638dd08bb27652b047 (diff)
downloadu-boot-7e6668e8f0ea9694ec2a417a841bcb86462ceb7d.tar.gz
u-boot-7e6668e8f0ea9694ec2a417a841bcb86462ceb7d.tar.xz
u-boot-7e6668e8f0ea9694ec2a417a841bcb86462ceb7d.zip
Kconfig: ti: Make board detect EEPROM addresses depend BOARD_DETECT
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>
-rw-r--r--board/ti/common/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig
index b1956b8100..9ead7ca038 100644
--- a/board/ti/common/Kconfig
+++ b/board/ti/common/Kconfig
@@ -8,11 +8,13 @@ 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"