[U-Boot] [PATCH v2 4/5] arm: ls102xa: Add SystemID EEPROM support for LS1021ATWR board

York Sun yorksun at freescale.com
Tue Nov 25 18:56:01 CET 2014


On 10/17/2014 12:26 AM, Alison Wang wrote:
> SystemID information could be read through I2C1 from EEPROM
> on LS1021ATWR board.
> 
> As LS1 is a little-endian processor, getting the version ID by
> be32_to_cpu() is wrong. Fix it by using e.version directly.
> This change will be compatible for both ARM and PowerPC.
> 
> As there is an errata that I2C1 could not work in SD boot,
> reading EEPROM through I2C1 is disabled too in SD boot.
> 
> Signed-off-by: Alison Wang <alison.wang at freescale.com>
> ---
> Change log:
>  v2: Add the compatibility in SD boot.
> 
>  board/freescale/common/sys_eeprom.c |  4 ++--
>  include/configs/ls1021atwr.h        | 11 +++++++++++
>  2 files changed, 13 insertions(+), 2 deletions(-)
> 


Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks.

York




More information about the U-Boot mailing list