[PATCH v2 03/28] tools: rkcommon: Correct SPL size for px30

Jagan Teki jagan at edgeble.ai
Thu Aug 18 16:52:21 CEST 2022


Rockchip PX30 has 16KB sram, bootrom reserved 4KB as stack.

Correct it.

Signed-off-by: Jagan Teki <jagan at edgeble.ai>
---
Changes for v2:
- none

 tools/rkcommon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index 0db45c2d41..1325aa83cb 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -121,7 +121,7 @@ struct spl_info {
 };
 
 static struct spl_info spl_infos[] = {
-	{ "px30", "RK33", 0x2800, false, RK_HEADER_V1 },
+	{ "px30", "RK33", 0x4000 - 0x1000, false, RK_HEADER_V1 },
 	{ "rk3036", "RK30", 0x1000, false, RK_HEADER_V1 },
 	{ "rk3066", "RK30", 0x8000 - 0x800, true, RK_HEADER_V1 },
 	{ "rk3128", "RK31", 0x1800, false, RK_HEADER_V1 },
-- 
2.25.1



More information about the U-Boot mailing list