]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: ls1021atwr: Enable ID EEPROM for SD boot
authorYao Yuan <yao.yuan@freescale.com>
Wed, 23 Sep 2015 07:48:26 +0000 (15:48 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 30 Oct 2015 16:19:48 +0000 (09:19 -0700)
I2C1 can work on ls102xa rev2.0 SD boot, so add
ID EEPROM for SD boot.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/ls1021atwr.h

index 002b7d03a129f5ac74a38f7922dbbf1d90000e9c..fdbbfc119617e8951d51f3ba5ec94b15c178e230 100644 (file)
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
 
 /* EEPROM */
-#ifndef CONFIG_SD_BOOT
 #define CONFIG_ID_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_NXID
 #define CONFIG_SYS_EEPROM_BUS_NUM              1
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN         1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS      3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS  5
-#endif
 
 /*
  * MMC