Skip to content
Commit e46c7bfb authored by Rafal Czubak's avatar Rafal Czubak Committed by Andrew Fleming-AFLEMING
Browse files

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: default avatarRafal Czubak <rcz@semihalf.com>
parent 5297246b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment