Kconfig: ti: Make board detect EEPROM addresses depend BOARD_DETECT
authorAdam Ford <aford173@gmail.com>
Mon, 4 Nov 2019 23:05:24 +0000 (17:05 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 7 Nov 2019 23:39:18 +0000 (18:39 -0500)
commit7e6668e8f0ea9694ec2a417a841bcb86462ceb7d
tree2d904462c17aab25292a606eb2500e345dffb40d
parent5d44207d1740af4639f6a5638dd08bb27652b047
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>
board/ti/common/Kconfig