]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/freescale: Change the return value of mac_read_from_eeprom()
authorYork Sun <yorksun@freescale.com>
Wed, 30 Apr 2014 21:43:46 +0000 (14:43 -0700)
committerYork Sun <yorksun@freescale.com>
Tue, 13 May 2014 15:31:22 +0000 (08:31 -0700)
commitbffac7aef54039dbe53dbf8bcbc9f8dbe78b8aa5
tree9eead75ba2f24fd302f4fd3954ab65e46c4a52cd
parent73a56b6e9f3f1cc2412b5b8a75a3c71f48586c94
powerpc/freescale: Change the return value of mac_read_from_eeprom()

The return value has not been checked by its caller, until recent change
of using generic board architecture. The error of this function is not
critical enough to hang the system. Printing the warning message is enough
to catch user's attention. U-boot should continue to boot to give user
a chance to fix the EEPROM. Chaning the return value to 0 to avoid hanging
in the board_init_r().

Signed-off-by: York Sun <yorksun@freescale.com>
board/freescale/common/sys_eeprom.c