summaryrefslogtreecommitdiff
path: root/board/ti/common/Kconfig
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2017-03-13 13:04:31 (GMT)
committerTom Rini <trini@konsulko.com>2017-03-20 21:57:15 (GMT)
commit66e04fb503baa67a444401e8562ebace48800b97 (patch)
tree3901a792b93407a1312555595e844eda113b21ab /board/ti/common/Kconfig
parentfcb185244b700a7289e5c30d075fccf81099a253 (diff)
downloadu-boot-66e04fb503baa67a444401e8562ebace48800b97.tar.xz
ARM: Use Kconfig for board EEPROM's I2C bus and chip address
In stead of defining the board EEPROM address in the board headers let's define them in the board config files and make them configurable by Kconfig. Signed-off-by: Roger Quadros <rogerq@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/common/Kconfig')
-rw-r--r--board/ti/common/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig
index adf73ab..15b5ccf 100644
--- a/board/ti/common/Kconfig
+++ b/board/ti/common/Kconfig
@@ -3,3 +3,13 @@ config TI_I2C_BOARD_DETECT
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
+
+config EEPROM_CHIP_ADDRESS
+ hex "Board EEPROM's I2C chip address"
+ range 0 0xff
+ default 0x50