]> git.dujemihanovic.xyz Git - u-boot.git/commit
board/fsl/common: Fix eeprom system version endianness
authorJaiprakash Singh <b44839 at freescale.com>
Thu, 28 May 2015 09:24:03 +0000 (14:54 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 20 Jul 2015 18:44:34 +0000 (11:44 -0700)
commitb8baf460ee978f9f704a658b31f9b074f546d6e1
tree685bee16889e020f8afe4a7dda8c369dfb70872b
parent34cc75469fad1749525458a41c8f52ed1e13e147
board/fsl/common: Fix eeprom system version endianness

SYSTEM ID EPPROM always store SYSTEM version info in big endian format.
SoC with ARM or PowerPC core should read/write version info from eeprom
in BIG endian format.

So use cpu-specific APIs to read SYSTEM version.

Signed-off-by: Jaiprakash Singh <b44839 at freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
board/freescale/common/sys_eeprom.c