[U-Boot] [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot

Yao Yuan yao.yuan at freescale.com
Thu Oct 15 09:55:11 CEST 2015


Hi york,

The earlier SoC is just LS1021a rev1.0, but rev1.0 haven't delivery to the customer.
Also the rev1.0 has since gone out of production.
So we don't have necessary to support rev1.0 because no one will or possibly to use rev1.0.

Best Regards,
Yuan Yao

> -----Original Message-----
> From: York Sun [mailto:yorksun at freescale.com]
> Sent: Thursday, October 15, 2015 5:22 AM
> To: Yuan Yao-B46683 <yao.yuan at freescale.com>; Wang Huan-B18965
> <alison.wang at freescale.com>
> Cc: u-boot at lists.denx.de
> Subject: Re: [PATCH] configs: ls1021atwr: Enable ID EEPROM for SD boot
> 
> 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