]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: amlogic: jethub j100: add rescue boot from microSD
authorViacheslav Bocharov <adeep@lexina.in>
Thu, 22 Dec 2022 09:33:58 +0000 (12:33 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 10 Jan 2023 14:25:39 +0000 (15:25 +0100)
The new JetHub D1+ has a microSD slot. Add rescue boot from microSD

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20221222093358.204520-1-adeep@lexina.in
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
include/configs/jethub.h

index 35f85095acaf23ac6e24a681bcb8e0c16cda58a5..e22db4991debeae15692ed0546fee9d0f0cd4642 100644 (file)
@@ -12,6 +12,7 @@
 #define BOOTENV_DEV_RESCUE(devtypeu, devtypel, instance) \
        "bootcmd_rescue=" \
                "if gpio input 10; then " \
+               "run bootcmd_mmc0; " \
                "run bootcmd_usb0;" \
                "fi;\0"
 #else