diff options
| author | Jonas Karlman <[email protected]> | 2025-04-13 19:59:37 +0000 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2025-05-06 15:58:25 +0800 |
| commit | ce0dccf4593d2eefcb6b0c3145a2f0dd7490d900 (patch) | |
| tree | 2a8eb0deaa9283cf092aa5f4d3efc6e748907485 /scripts | |
| parent | 59c253a11f9005223f3f11ad5da101ac13c6e70b (diff) | |
rockchip: Add SPL_PAD_TO Kconfig default value
Almost all Rockchip boards use the same Kconfig value for SPL_PAD_TO,
0x7f8000.
u-boot-rockchip.bin is typically written to offset 64S (32KiB) of MMC
media. u-boot.itb (or u-boot.img) is typically expected at offset 16384S
(8MiB) of MMC media (SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x4000).
SPL_PAD_TO is used as the offset for u-boot.itb (or u-boot.img) in the
generated simple-bin binman image, and can be calculated as:
SPL_PAD_TO = (16384S - 64S) * 512 = 0x7f8000
Add this value as a default value for ARCH_ROCKCHIP.
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
