From 4c552083503f49f37412972a3b4ea895cffd948e Mon Sep 17 00:00:00 2001 From: Denis Zalevskiy Date: Wed, 17 Oct 2018 10:33:27 +0200 Subject: 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 Signed-off-by: Fabien Lahoudere --- configs/mx53ppd_defconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configs/mx53ppd_defconfig') 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 -- cgit v1.2.3