diff options
author | Roger Quadros <rogerq@ti.com> | 2017-03-13 13:04:31 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-03-20 21:57:15 (GMT) |
commit | 66e04fb503baa67a444401e8562ebace48800b97 (patch) | |
tree | 3901a792b93407a1312555595e844eda113b21ab /include | |
parent | fcb185244b700a7289e5c30d075fccf81099a253 (diff) | |
download | u-boot-fsl-qoriq-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 'include')
-rw-r--r-- | include/configs/am57xx_evm.h | 4 | ||||
-rw-r--r-- | include/configs/dra7xx_evm.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h index d545e1b..018d0c7 100644 --- a/include/configs/am57xx_evm.h +++ b/include/configs/am57xx_evm.h @@ -102,10 +102,6 @@ #define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \ CONFIG_SYS_SCSI_MAX_LUN) -/* EEPROM */ -#define CONFIG_EEPROM_CHIP_ADDRESS 0x50 -#define CONFIG_EEPROM_BUS_ADDRESS 0 - /* * Default to using SPI for environment, etc. * 0x000000 - 0x040000 : QSPI.SPL (256KiB) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 43e74a2..d509afd 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -260,8 +260,4 @@ #endif #endif /* NOR support */ -/* EEPROM */ -#define CONFIG_EEPROM_CHIP_ADDRESS 0x50 -#define CONFIG_EEPROM_BUS_ADDRESS 0 - #endif /* __CONFIG_DRA7XX_EVM_H */ |