]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
FSL: Fix get_cpu_board_revision() return value.
authorRafal Czubak <rcz@semihalf.com>
Wed, 8 Oct 2008 11:41:30 +0000 (13:41 +0200)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Wed, 8 Oct 2008 18:19:12 +0000 (13:19 -0500)
commite46c7bfb8bc3c304cedd20f7a365d6e78d7eaf17
tree18e5cab330bbac9cfa22f74eca42c32aac1f3762
parent5297246bbaa9943c0da1ec2e717b72e4ab6b830e
FSL: Fix get_cpu_board_revision() return value.

get_cpu_board_revision() returned board revision based on information stored
in global static struct eeprom. It should instead use one from local struct
board_eeprom, to which the data is actually read from EEPROM. The bug led to
system hang after printing L1 cache information on U-Boot startup. The problem
was observed on MPC8555CDS system and possibly affects other Freescale MPC85xx
boards using CFG_I2C_EEPROM_CCID.

The change has been successfully tested on MPC8555CDS system.

Signed-off-by: Rafal Czubak <rcz@semihalf.com>
board/freescale/common/sys_eeprom.c