u-boot/arch
Pali Rohár 913d7561c0 arm: mvebu: spl: Fix support for loading U-Boot proper from SD card
Marvell BootROM loads MMC image from sector 0 (HW boot or data partition)
and SD image from sector 1.

So for SD card booting it is needed to not use constant CONFIG MMC options
and instead of them it is needed to define functions spl_mmc_boot_mode()
spl_mmc_get_uboot_raw_sector() which determinate offsets at SPL runtime
based on MMC or SD card.

Calculation of SD card sector expects following values:
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET=0
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0

Fixes: 2226ca1734 ("arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header")
Signed-off-by: Pali Rohár <pali@kernel.org>
2023-03-01 06:39:17 +01:00
..
arc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
arm arm: mvebu: spl: Fix support for loading U-Boot proper from SD card 2023-03-01 06:39:17 +01:00
m68k dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
microblaze Correct SPL uses of LMB 2023-02-10 07:41:39 -05:00
mips dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
nios2 dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
powerpc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
riscv Prepare v2023.04-rc3 2023-02-27 17:28:21 -05:00
sandbox tpm: Separate out the TPM tests for v1 and v2 2023-02-28 09:44:30 +02:00
sh dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
x86 Prepare v2023.04-rc3 2023-02-27 17:28:21 -05:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
Kconfig.nxp nxp: Finish migration of SYS_FSL_SRDS_[12] to Kconfig 2023-01-20 12:27:23 -05:00
u-boot-elf.lds