[U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot
York Sun
yorksun at freescale.com
Wed Oct 14 23:21:37 CEST 2015
On 09/23/2015 12:48 AM, Yuan Yao wrote:
> I2C1 can work on ls102xa rev2.0 SD boot, so add
> ID EEPROM for SD boot.
>
> Signed-off-by: Yuan Yao <yao.yuan at freescale.com>
> ---
> include/configs/ls1021atwr.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
> index 7dcb719..59e704e 100644
> --- a/include/configs/ls1021atwr.h
> +++ b/include/configs/ls1021atwr.h
> @@ -278,7 +278,6 @@
> #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
> @@ -286,7 +285,6 @@
> #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
>
What would happen if you run the new u-boot image on earlier SoC? Do you need to
check SVR in function mac_read_from_eeprom()?
York
More information about the U-Boot
mailing list