board: amlogic: jethub j100: add rescue boot from microSD

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>
This commit is contained in:
Viacheslav Bocharov
2023-01-10 15:25:39 +01:00
committed by Neil Armstrong
parent 7b84c973b9
commit 559871524a
+1
View 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