Files
BPI-CM9-Linux/build/patch/atf/atf-rockchip64/v2.13/1002-2.13-rk3399-PMUSRAM_RSIZE-8k-16k.patch

27 lines
941 B
Diff

From e3b662df5302af9befd7a7a8dca973e3f7ac7350 Mon Sep 17 00:00:00 2001
From: Ricardo Pardini <[email protected]>
Date: Fri, 9 Jan 2026 17:36:55 +0100
Subject: [PATCH 1002/1002] [2.13] rk3399: PMUSRAM_RSIZE 8k -> 16k
- otherwise: overflows with gcc-13+
---
plat/rockchip/rk3399/include/shared/addressmap_shared.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plat/rockchip/rk3399/include/shared/addressmap_shared.h b/plat/rockchip/rk3399/include/shared/addressmap_shared.h
index 84a31b20c..66bf0b627 100644
--- a/plat/rockchip/rk3399/include/shared/addressmap_shared.h
+++ b/plat/rockchip/rk3399/include/shared/addressmap_shared.h
@@ -64,7 +64,7 @@
#define PMUGRF_SIZE SIZE_K(64)
#define SGRF_SIZE SIZE_K(64)
#define PMUSRAM_SIZE SIZE_K(64)
-#define PMUSRAM_RSIZE SIZE_K(8)
+#define PMUSRAM_RSIZE SIZE_K(16)
#define PWM_SIZE SIZE_K(64)
#define CIC_SIZE SIZE_K(4)
#define DCF_SIZE SIZE_K(4)
--
2.52.0