
25 Nov
2014
25 Nov
'14
6:56 p.m.
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@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