[PATCH v4 10/10] rockchip: Add SPL_PAD_TO Kconfig default value
Kever Yang
kever.yang at rock-chips.com
Sun Apr 6 17:34:17 CEST 2025
On 2025/3/29 23:06, Jonas Karlman wrote:
> Almost all Rockchip boards use the same Kconfig value for SPL_PAD_TO,
> 0x7f8000.
>
> Add this value as a default value for ARCH_ROCKCHIP.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> Changes in v4:
> - New patch
>
> This patch does not drop SPL_PAD_TO from existing defconfigs that would
> be affected by this change, something that can wait until next "configs:
> Resync with savedefconfig".
>
> Following boards does not set a SPL_PAD_TO due to not using SPL:
> - elgin-rv1108_defconfig
> - evb-rk3128_defconfig
> - evb-rv1108_defconfig
> - geekbox_defconfig
> - sheep-rk3368_defconfig
> ---
> common/spl/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index 97f542fcc8a5..322fc3cbdced 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -97,6 +97,7 @@ config SPL_MAX_SIZE
>
> config SPL_PAD_TO
> hex "Offset to which the SPL should be padded before appending the SPL payload"
> + default 0x7f8000 if ARCH_ROCKCHIP
> default 0x31000 if ARCH_MX6 && MX6_OCRAM_256KB
> default 0x11000 if ARCH_MX7 || (ARCH_MX6 && !MX6_OCRAM_256KB)
> default 0x10000 if ARCH_KEYSTONE
More information about the U-Boot
mailing list