summaryrefslogtreecommitdiff
path: root/configs/mx53ppd_defconfig
diff options
context:
space:
mode:
authorDenis Zalevskiy <denis.zalevskiy@ge.com>2018-10-17 10:33:27 +0200
committerStefano Babic <sbabic@denx.de>2018-12-17 10:46:04 +0100
commit4c552083503f49f37412972a3b4ea895cffd948e (patch)
treed080bc2225f515675768c31882f1e5ec5bfd9718 /configs/mx53ppd_defconfig
parent33a6c8d4e605311d59e45bc2a42fdc02d37254dd (diff)
downloadu-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/mx53ppd_defconfig')
-rw-r--r--configs/mx53ppd_defconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig
index 34328fd016..9c8ed88047 100644
--- a/configs/mx53ppd_defconfig
+++ b/configs/mx53ppd_defconfig
@@ -9,6 +9,16 @@ CONFIG_BOOTDELAY=1
# CONFIG_CONSOLE_MUX is not set
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)
+# (there is also Frame EEPROM connected to the channel 4 (bus 4))
+CONFIG_SYS_VPD_EEPROM_I2C_BUS=2
+# 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_MISC_INIT_R=y
CONFIG_HUSH_PARSER=y