add support for i2c eeprom on address 0x51.
Signed-off-by: Heiko Schocher <hs@denx.de>
#include <config.h>
/ {
+ aliases {
+ eeprom0 = &i2c_eeprom0;
+ };
+
chosen {
stdout-path = &serial0;
};
soc8544@e0000000 {
i2c@3000 {
u-boot,dm-pre-reloc;
+
+ i2c_eeprom0: eeprom@51{
+ compatible = "atmel,24c64";
+ reg = <0x51>;
+ pagesize = <32>;
+ };
};
};
};
# CONFIG_BOOTM_VXWORKS is not set
CONFIG_SYS_BOOTM_LEN=0x800000
CONFIG_CMD_IMLS=y
+CONFIG_CMD_EEPROM=y
+CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=4
CONFIG_CMD_DM=y
CONFIG_CMD_I2C=y
CONFIG_LOADS_ECHO=y
CONFIG_SYS_OR3_PRELIM=0xFFF00000
CONFIG_DM_I2C=y
CONFIG_SYS_I2C_FSL=y
+CONFIG_MISC=y
+CONFIG_I2C_EEPROM=y
# CONFIG_MMC is not set
CONFIG_MTD=y
CONFIG_DM_MTD=y