
25 Aug
2021
25 Aug
'21
3:37 p.m.
From: Ricardo Salveti ricardo@foundries.io
Allow replacing the board defined CONFIG_BOOTCOMMAND via defconfig.
Signed-off-by: Ricardo Salveti ricardo@foundries.io Signed-off-by: Oleksandr Suvorov oleksandr.suvorov@foundries.io ---
include/configs/mx7ulp_com.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/configs/mx7ulp_com.h b/include/configs/mx7ulp_com.h index 28672c4f94..85ae513ffb 100644 --- a/include/configs/mx7ulp_com.h +++ b/include/configs/mx7ulp_com.h @@ -69,10 +69,12 @@ "bootz ${loadaddr} - ${fdt_addr}; " \ "fi;\0" \
+#ifndef CONFIG_BOOTCOMMAND #define CONFIG_BOOTCOMMAND \ "if run loadimage; then " \ "run mmcboot; " \ "fi; " \ +#endif
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
--
2.31.1