Files
u-boot/common
Jonas Karlman ce0dccf459 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 <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
2025-05-06 15:58:25 +08:00
..
2025-04-15 11:21:30 -06:00
2024-11-03 21:27:12 -06:00
2024-05-22 08:55:29 -06:00
2025-04-08 16:23:51 -06:00
2025-02-03 16:00:42 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2025-01-26 11:06:56 +01:00
2025-03-11 23:06:18 +01:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00