u-boot-brain/board/ti
Alex G c19a28bc65 board: am335x/mux: Do not hang when encountering a bad EEPROM
In most cases, the SPL and u-boot.img will be on the same boot media.
Since the SPL was loaded by the boot rom, the pinmux will already have
been configured for this media. This, the board will still be able to
boot successfully, or at least reach the u-boot console, where more
recovery options are available.

I've encountered this on a beaglebone black with a corrupted EEPROM.
Removing this check allowed the board to boot successfully. I've also
seen this on EVM-based boards with an unprogrammed EEPROM. On those
boards, for some reason there were no UART messages. This made it look
as if the SOC was dead.

Remove the hang(), as it is not a fatal error. Also reformat the error
message to be clearer as to the cause. The original message made it
appear as if the wrong binary was being loaded.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-11-13 15:54:35 -05:00
..
am43xx treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
am57xx board: am57xx: Fix missing check for beagle_x15 2016-09-07 08:49:05 -04:00
am335x board: am335x/mux: Do not hang when encountering a bad EEPROM 2016-11-13 15:54:35 -05:00
am3517crane omap-common: Common function to display die id, replacing omap3-specific version 2015-10-22 14:18:30 -04:00
beagle treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
common ti: common: board_detect: Return a valid empty string for un-initialized eeprom 2016-10-31 10:12:21 -04:00
dra7xx board: ti: dra7xx: complex definitions should be protected with parentheses 2016-10-08 09:33:35 -04:00
evm omap3: Drop omap3_evm_quick_* targets 2016-08-05 20:53:53 -04:00
ks2_evm board: ks2: Enable ECC using detected DDR size 2016-10-01 20:05:05 -04:00
omap5_uevm arch, board: squash lines for immediate return 2016-09-23 17:53:53 -04:00
panda omap-common: Rename set_muxconf_regs_essential to set_muxconf_regs 2016-03-15 15:12:06 -04:00
sdp4430 omap-common: Rename set_muxconf_regs_essential to set_muxconf_regs 2016-03-15 15:12:06 -04:00
ti814x ti814x_evm: Switch to SYS_GENERIC_BOARD 2015-09-15 13:55:22 -04:00
ti816x ti816x: Switch to SYS_GENERIC_BOARD 2015-09-15 13:55:23 -04:00