diff options
author | Alison Wang <b18965@freescale.com> | 2014-10-17 07:26:35 (GMT) |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-11-24 17:27:23 (GMT) |
commit | 5175a2885fbb47e4836dcb8ad0ad2214e9b0b3b5 (patch) | |
tree | 0cdb311e61a78e8dafeec07aead0824e8bbc736b /board/pm828 | |
parent | 272c5265ed8f4bf1f02f2d2b38828fbf8939cac3 (diff) | |
download | u-boot-5175a2885fbb47e4836dcb8ad0ad2214e9b0b3b5.tar.xz |
arm: ls102xa: Add SystemID EEPROM support for LS1021ATWR board
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>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/pm828')
0 files changed, 0 insertions, 0 deletions