Skip to content
Snippets Groups Projects
Commit f0fb4fa7 authored by Dalon Westergreen's avatar Dalon Westergreen Committed by Tom Rini
Browse files

SPL: add support to boot from a partition type


the socfpga bootrom supports mmc booting from either a raw image
starting at 0x0, or from a partition of type 0xa2.  This patch
adds support for locating the boot image in the first type 0xa2
partition found.

Assigned a partition number of -1 will cause a search for a
partition of type CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE
and use it to find the u-boot image

Signed-off-by: default avatarDalon Westergreen <dwesterg@gmail.com>
parent bc1e0dd9
No related branches found
No related tags found
No related merge requests found
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