Fix JetHub board sequence to read correct gpio for rescue button

Signed-off-by: Viacheslav Bocharov <ad...@lexina.in>
---
 include/configs/jethub.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/jethub.h b/include/configs/jethub.h
index e22db4991de..2c44bfc853e 100644
--- a/include/configs/jethub.h
+++ b/include/configs/jethub.h
@@ -11,7 +11,7 @@
 #if defined(CONFIG_MESON_AXG)
 #define BOOTENV_DEV_RESCUE(devtypeu, devtypel, instance) \
        "bootcmd_rescue=" \
-               "if gpio input 10; then " \
+               "if gpio input periphs-banks10; then " \
                "run bootcmd_mmc0; " \
                "run bootcmd_usb0;" \
                "fi;\0"
-- 
2.43.2

Reply via email to