diff options
author | Denis Zalevskiy <denis.zalevskiy@ge.com> | 2018-10-17 10:33:27 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-12-17 10:46:04 +0100 |
commit | 4c552083503f49f37412972a3b4ea895cffd948e (patch) | |
tree | d080bc2225f515675768c31882f1e5ec5bfd9718 /configs/ge_bx50v3_defconfig | |
parent | 33a6c8d4e605311d59e45bc2a42fdc02d37254dd (diff) | |
download | u-boot-4c552083503f49f37412972a3b4ea895cffd948e.tar.gz |
board: ge: Move VPD EEPROM configuration to the defconfig
Use standard configuration logic to define EEPROM constants.
Names are based on VPD_EEPROM_ prefix because EEPROM_ is already
used by i2c_eeprom driver.
Signed-off-by: Denis Zalevskiy <denis.zalevskiy@ge.com>
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Diffstat (limited to 'configs/ge_bx50v3_defconfig')
-rw-r--r-- | configs/ge_bx50v3_defconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/ge_bx50v3_defconfig b/configs/ge_bx50v3_defconfig index c907779636..a937ce3892 100644 --- a/configs/ge_bx50v3_defconfig +++ b/configs/ge_bx50v3_defconfig @@ -8,6 +8,15 @@ CONFIG_FIT=y CONFIG_BOOTDELAY=1 CONFIG_SYS_CONSOLE_IS_IN_ENV=y CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y + +# monitor's EEPROM is connected to the bus through the mux channel 1 +# (the number is the offset in CONFIG_SYS_I2C_BUSES) +CONFIG_SYS_VPD_EEPROM_I2C_BUS=4 +# Address of Atmel 24C08 EEPROM +CONFIG_SYS_VPD_EEPROM_I2C_ADDR=0x50 +CONFIG_SYS_VPD_EEPROM_I2C_ADDR_LEN=1 +CONFIG_SYS_VPD_EEPROM_SIZE=1024 + CONFIG_SUPPORT_RAW_INITRD=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_LAST_STAGE_INIT=y |