mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
parent
b00f779cb9
commit
5bc1404a58
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user