From 5bc1404a588620c652d51580ed1d597406757351 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Mon, 20 Jun 2022 10:12:57 +0000 Subject: [PATCH] u-boot (Allwinner): rebase H3 hotplug patch ref: - https://github.com/u-boot/u-boot/commit/0da35fa8d67415c7d595f6a74952905decc2a911 --- ...i-psci-Add-support-for-H3-CPU-0-hotplug.patch | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/projects/Allwinner/patches/u-boot/0007-sunxi-psci-Add-support-for-H3-CPU-0-hotplug.patch b/projects/Allwinner/patches/u-boot/0007-sunxi-psci-Add-support-for-H3-CPU-0-hotplug.patch index b7af712bbb..4b5b457110 100644 --- a/projects/Allwinner/patches/u-boot/0007-sunxi-psci-Add-support-for-H3-CPU-0-hotplug.patch +++ b/projects/Allwinner/patches/u-boot/0007-sunxi-psci-Add-support-for-H3-CPU-0-hotplug.patch @@ -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 + ++#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