board: ea: mx7ulp_com: move setting CONFIG_BOOTCOMMAND to defconfig
PATCH v2 1/1 board: ea: mx7ulp_com: move setting CONFIG_BOOTCOMMAND to defconfig
From: Ricardo Salveti <[email protected]>
Move setting CONFIG_BOOTCOMMAND to the mx7ulp_com_defconfig file. It also allows replacing the default CONFIG_BOOTCOMMAND without code modification.
---
Changes in v2:
- move setting the command to defconfig
configs/mx7ulp_com_defconfig | 2 ++ include/configs/mx7ulp_com.h | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-)
configs/mx7ulp_com_defconfig +2 -0
@@ -9,6 +9,8 @@ CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-com" CONFIG_LDO_ENABLED_MODE=y CONFIG_TARGET_MX7ULP_COM=y CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/ea/mx7ulp_com/imximage.cfg" +CONFIG_USE_BOOTCOMMAND=y +CONFIG_BOOTCOMMAND="if run loadimage; then run mmcboot; fi" CONFIG_DEFAULT_FDT_FILE="imx7ulp-com" CONFIG_BOARD_EARLY_INIT_F=y CONFIG_HUSH_PARSER=y
include/configs/mx7ulp_com.h +0 -5
@@ -69,11 +69,6 @@"bootz ${loadaddr} - ${fdt_addr}; " \ "fi;\0" \ -#define CONFIG_BOOTCOMMAND \ - "if run loadimage; then " \ - "run mmcboot; " \ - "fi; " \ -#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
Signature · 1 line
2.31.1
Hi Oleksandr,
Quoted 7 lines · Oleksandr Suvorov
From: Ricardo Salveti <[email protected]>
Move setting
CONFIG_BOOTCOMMANDto themx7ulp_com_defconfigfile. It also allows replacing the defaultCONFIG_BOOTCOMMANDwithout code modification.
Quoted 6 lines
Signed-off-by Ricardo Salveti <[email protected]>Signed-off-by Oleksandr Suvorov <[email protected]>---
Changes in v2:
- move setting the command to defconfig
Quoted 8 lines · Oleksandr Suvorov
From: Ricardo Salveti <[email protected]>
Move setting
CONFIG_BOOTCOMMANDto themx7ulp_com_defconfigfile. It also allows replacing the defaultCONFIG_BOOTCOMMANDwithout code modification.Signed-off-by Ricardo Salveti <[email protected]>Signed-off-by Oleksandr Suvorov <[email protected]>
Signature · 1 line
Tom
PATCH v2 1/1 board: ea: mx7ulp_com: move setting CONFIG_BOOTCOMMAND to defconfig
In reply to Oleksandr SuvorovQuoted 8 lines
From: Ricardo Salveti <[email protected]>
Move settingCONFIG_BOOTCOMMANDto themx7ulp_com_defconfigfile. It also allows replacing the defaultCONFIG_BOOTCOMMANDwithout code modification.Signed-off-by Ricardo Salveti <[email protected]>Signed-off-by Oleksandr Suvorov <[email protected]>Reviewed-by Fabio Estevam <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================