summaryrefslogtreecommitdiff
path: root/common/spl/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-16 20:52:07 +0300
committerTom Rini <trini@konsulko.com>2020-01-16 20:52:07 +0300
commit994bb86fc90aa9edff5a6685b28b44e2f77de196 (patch)
tree5d86ff6f1ce8373432414bae1ca351c9e38bea73 /common/spl/Kconfig
parent92329e2413f444d1edf29bab66aefccfd782e0a7 (diff)
parente6a5a5c72b63fd6d2c7ed48b3e49d8da726c69c2 (diff)
downloadu-boot-994bb86fc90aa9edff5a6685b28b44e2f77de196.tar.xz
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell
- Clearfog: Fix SD booting (Baruch) - Misc updates to MMC handling in SPL to support booting from main data partition (vs hardware boot partition) on MVEBU (Baruch)
Diffstat (limited to 'common/spl/Kconfig')
-rw-r--r--common/spl/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index c43eed2b2a..76f39dc04f 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -329,6 +329,18 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
Address on the MMC to load U-Boot from, when the MMC is being used
in raw mode. Units: MMC sectors (1 sector = 512 bytes).
+config SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET
+ hex "U-Boot main hardware partition image offset"
+ depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
+ default 0x0
+ help
+ On some platforms SPL location depends on hardware partition. The ROM
+ code skips the MBR sector when loading SPL from main hardware data
+ partition. This adds offset to the main U-Boot image. Set this symbol
+ to the number of skipped sectors.
+
+ If unsure, leave the default.
+
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
bool "MMC Raw mode: by partition"
help