[PATCH v2 02/12] rockchip: mkimage: Re-sort the spl_infos list alphanumerically

Kever Yang kever.yang at rock-chips.com
Mon Mar 9 15:38:01 CET 2026


On 2026/2/1 07:38, Jonas Karlman wrote:
> The first RK35xx SoC was initially appended to the end of the otherwise
> alphanumerically sorted spl_infos list, possible because it was using a
> new header structure.
>
> Re-sort the spl_infos list to keep it alphanumerically ordered based
> on imagename.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
> v2: New patch
> ---
>   tools/rkcommon.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/rkcommon.c b/tools/rkcommon.c
> index e7e78ef7e5b7..dbc1c177843a 100644
> --- a/tools/rkcommon.c
> +++ b/tools/rkcommon.c
> @@ -148,12 +148,12 @@ static struct spl_info spl_infos[] = {
>   	{ "rk3328", "RK32", 0x8000 - 0x800, false, RK_HEADER_V1 },
>   	{ "rk3368", "RK33", 0x8000 - 0x1000, false, RK_HEADER_V1 },
>   	{ "rk3399", "RK33", 0x30000 - 0x2000, false, RK_HEADER_V1 },
> -	{ "rv1108", "RK11", 0x1800, false, RK_HEADER_V1 },
> -	{ "rv1126", "110B", 0x10000 - 0x1000, false, RK_HEADER_V1 },
>   	{ "rk3528", "RK35", 0x10000 - 0x1000, false, RK_HEADER_V2 },
>   	{ "rk3568", "RK35", 0x10000 - 0x1000, false, RK_HEADER_V2 },
>   	{ "rk3576", "RK35", 0x80000 - 0x1000, false, RK_HEADER_V2 },
>   	{ "rk3588", "RK35", 0x100000 - 0x1000, false, RK_HEADER_V2 },
> +	{ "rv1108", "RK11", 0x1800, false, RK_HEADER_V1 },
> +	{ "rv1126", "110B", 0x10000 - 0x1000, false, RK_HEADER_V1 },
>   };
>   
>   /**


More information about the U-Boot mailing list