JetHome: fix uboot patchset for JetHub D2

This commit is contained in:
Viacheslav Bocharov 2024-08-14 09:34:47 +03:00 committed by August
parent 761b8d2be0
commit bf259b1356

View File

@ -14,8 +14,8 @@ Subject: Add JetHub D2
doc/board/amlogic/index.rst | 1 +
doc/board/amlogic/jethub-j200.rst | 50 +
drivers/power/regulator/regulator-uclass.c | 2 +-
include/configs/jethub.h | 8 +
11 files changed, 951 insertions(+), 2 deletions(-)
include/configs/jethub.h | 9 +
11 files changed, 952 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 111111111111..222222222222 100644
@ -1049,7 +1049,7 @@ index 111111111111..222222222222 100644
* Author: Vyacheslav Bocharov <adeep@lexina.in>
*/
@@ -15,6 +16,13 @@
@@ -15,6 +16,14 @@
"run bootcmd_mmc0; " \
"run bootcmd_usb0;" \
"fi;\0"
@ -1057,6 +1057,7 @@ index 111111111111..222222222222 100644
+#define BOOTENV_DEV_RESCUE(devtypeu, devtypel, instance) \
+ "bootcmd_rescue=" \
+ "if gpio input aobus-banks10; then " \
+ "run bootcmd_mmc1; " \
+ "run bootcmd_mmc0; " \
+ "run bootcmd_usb0;" \
+ "fi;\0"