diff options
author | Roger Quadros | 2017-03-13 15:04:31 +0200 |
---|---|---|
committer | Tom Rini | 2017-03-20 17:57:15 -0400 |
commit | 66e04fb503baa67a444401e8562ebace48800b97 (patch) | |
tree | 3901a792b93407a1312555595e844eda113b21ab /board/ti/common | |
parent | fcb185244b700a7289e5c30d075fccf81099a253 (diff) |
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')
-rw-r--r-- | board/ti/common/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig index adf73abc935..15b5ccf741b 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 |