diff options
author | Paul Kocialkowski | 2015-06-08 22:16:16 +0200 |
---|---|---|
committer | Paul Kocialkowski | 2015-07-15 14:54:26 +0200 |
commit | 0edd9f93759b79085e17c265a74dfc3fdece2082 (patch) | |
tree | 44f20210483f290ddd9bf93248d486d761e09c05 /disk/part_dos.c | |
parent | b2b716b63e9058b3d9a91e65802573f202f84eaf (diff) |
omap-common: SYS_BOOT-based fallback boot device selection for peripheral boot
OMAP devices might boot from peripheral devices, such as UART or USB.
When that happens, the U-Boot SPL tries to boot the next stage (complete U-Boot)
from that peripheral device, but in most cases, this is not a valid boot device.
This introduces a fallback option that reads the SYS_BOOT pins, that are used by
the bootrom to determine which device to boot from. It is intended for the
SYS_BOOT value to be interpreted in the memory-preferred scheme, so that the
U-Boot SPL can load the next stage from a valid location.
Practically, this options allows loading the U-Boot SPL through USB and have it
load the next stage according to the memory device selected by SYS_BOOT instead
of stalling.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'disk/part_dos.c')
0 files changed, 0 insertions, 0 deletions