]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rockchip: mkimage: Re-sort the spl_infos list alphanumerically
authorJonas Karlman <jonas@kwiboo.se>
Sat, 31 Jan 2026 23:38:13 +0000 (23:38 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 10 Mar 2026 16:07:02 +0000 (10:07 -0600)
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@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
tools/rkcommon.c

index e7e78ef7e5b7e343a02e416cff0bbc862dd3a185..dbc1c177843ad756f03e84c22ff0e91fc7e57272 100644 (file)
@@ -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 },
 };
 
 /**