]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3399-puma: Update SPL_PAD_TO Kconfig option
authorJonas Karlman <jonas@kwiboo.se>
Tue, 30 Apr 2024 15:30:09 +0000 (15:30 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 7 May 2024 07:56:08 +0000 (15:56 +0800)
commit6007b69d544ec3fc63a9a5f52723b0cc264e2331
tree011211e3565b5a1cb05a0db08648cd906edab8f9
parenta0672075e7b35b83a8b1d89c65fb8350b5653f62
rockchip: rk3399-puma: Update SPL_PAD_TO Kconfig option

On rk3399-puma the FIT payload is located at sector 0x200 compared
to the more Rockchip common sector 0x4000 offset:

  SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x200

Because FIT payload is located at sector 0x200 and IDBlock is located at
sector 64, the combined size of TPL+SPL (idbloader.img) cannot take up
more than 224 KiB:

  (0x200 - 64) x 512 = 0x38000 (224 KiB)

Adjust SPL_PAD_TO to match the used 0x200 sector offset.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/puma-rk3399_defconfig