u-boot (Allwinner): rebase H3 hotplug patch

ref:
- 0da35fa8d6
This commit is contained in:
Rudi Heitbaum 2022-06-20 10:12:57 +00:00
parent b00f779cb9
commit 5bc1404a58

View File

@ -178,17 +178,19 @@ diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
index 563635636624..2f0d69bdfce2 100644
--- a/include/configs/sun8i.h
+++ b/include/configs/sun8i.h
@@ -22,6 +22,10 @@
*/
#define CONFIG_ARMV7_SECURE_BASE (SUNXI_SRAM_A2_BASE + 16 * 1024)
#define CONFIG_ARMV7_SECURE_MAX_SIZE (SUNXI_SRAM_A2_SIZE - 33 * 1024)
+
@@ -14,6 +14,12 @@
#include <asm/arch/cpu.h>
+#ifdef SUNXI_SRAM_A2_SIZE
+#define SUNXI_RESUME_BASE (CONFIG_ARMV7_SECURE_BASE + \
+ CONFIG_ARMV7_SECURE_MAX_SIZE)
+#define SUNXI_RESUME_SIZE 1024
#endif
+#endif
+
/*
* Include common sunxi configuration where most the settings are
*/
--
2.33.0