0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 10:21:22 +00:00
Lakka-LibreELEC/projects/Allwinner/devices/H3/patches/u-boot/0011-sunxi-binman-Add-a-resume-shim.patch
2021-01-30 12:37:36 +01:00

49 lines
1.0 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Sun, 13 Dec 2020 00:07:28 -0600
Subject: [PATCH] sunxi: binman: Add a resume shim
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
arch/arm/dts/sunxi-u-boot.dtsi | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
--- a/arch/arm/dts/sunxi-u-boot.dtsi
+++ b/arch/arm/dts/sunxi-u-boot.dtsi
@@ -10,6 +10,7 @@
#endif
#else
#define SCP_ADDR 0x48000
+#define RESUME_ADDR 0x47000
#endif
/ {
@@ -118,6 +119,18 @@
};
};
+ resume {
+ description = "resume shim";
+ type = "standalone";
+ arch = "arm";
+ compression = "none";
+ load = <RESUME_ADDR>;
+
+ blob-ext {
+ filename = "resume.egon";
+ };
+ };
+
scp {
description = "SCP firmware";
type = "firmware";
@@ -145,7 +158,7 @@
@config-SEQ {
description = "NAME";
firmware = "uboot";
- loadables = "scp";
+ loadables = "resume", "scp";
fdt = "fdt-SEQ";
};
};