diff mbox series

[U-Boot] mx7ulp_evk: Move CONFIG_CMD_BOOTZ to Kconfig

Message ID 1506535241-5223-1-git-send-email-fabio.estevam@nxp.com
State Accepted
Commit d26e2c8453cd38a0cf1a16138713af86a4c953b6
Delegated to: Stefano Babic
Headers show
Series [U-Boot] mx7ulp_evk: Move CONFIG_CMD_BOOTZ to Kconfig | expand

Commit Message

Fabio Estevam Sept. 27, 2017, 6 p.m. UTC
CONFIG_CMD_BOOTZ symbol does not work in board config file
anymore, so fix this by moving it to Kconfig.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 configs/mx7ulp_evk_defconfig | 1 +
 include/configs/mx7ulp_evk.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

Comments

Peng Fan Sept. 28, 2017, 12:56 a.m. UTC | #1
> -----Original Message-----
> From: Fabio Estevam [mailto:fabio.estevam@nxp.com]
> Sent: Thursday, September 28, 2017 2:01 AM
> To: sbabic@denx.de
> Cc: Peng Fan <peng.fan@nxp.com>; u-boot@lists.denx.de; Fabio Estevam
> <fabio.estevam@nxp.com>
> Subject: [PATCH] mx7ulp_evk: Move CONFIG_CMD_BOOTZ to Kconfig
> 
> CONFIG_CMD_BOOTZ symbol does not work in board config file anymore, so
> fix this by moving it to Kconfig.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> ---
>  configs/mx7ulp_evk_defconfig | 1 +
>  include/configs/mx7ulp_evk.h | 1 -
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/mx7ulp_evk_defconfig b/configs/mx7ulp_evk_defconfig
> index d630113..0470fbd 100644
> --- a/configs/mx7ulp_evk_defconfig
> +++ b/configs/mx7ulp_evk_defconfig
> @@ -4,6 +4,7 @@ CONFIG_TARGET_MX7ULP_EVK=y
> CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-evk"
> 
> CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7ulp_evk/i
> mximage.cfg"
>  CONFIG_HUSH_PARSER=y
> +CONFIG_CMD_BOOTZ=y
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_MMC=y
> diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
> index a7992ea..56d74e9 100644
> --- a/include/configs/mx7ulp_evk.h
> +++ b/include/configs/mx7ulp_evk.h
> @@ -90,7 +90,6 @@
>  #define PHYS_SDRAM_SIZE			SZ_1G
>  #define CONFIG_SYS_MEMTEST_START	PHYS_SDRAM
>  #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM
> -#define CONFIG_CMD_BOOTZ
> 
>  #define CONFIG_LOADADDR             0x60800000
> 
> --
> 2.7.4
Stefano Babic Oct. 2, 2017, 2:15 p.m. UTC | #2
On 27/09/2017 20:00, Fabio Estevam wrote:
> CONFIG_CMD_BOOTZ symbol does not work in board config file
> anymore, so fix this by moving it to Kconfig.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
>  configs/mx7ulp_evk_defconfig | 1 +
>  include/configs/mx7ulp_evk.h | 1 -
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/mx7ulp_evk_defconfig b/configs/mx7ulp_evk_defconfig
> index d630113..0470fbd 100644
> --- a/configs/mx7ulp_evk_defconfig
> +++ b/configs/mx7ulp_evk_defconfig
> @@ -4,6 +4,7 @@ CONFIG_TARGET_MX7ULP_EVK=y
>  CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-evk"
>  CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7ulp_evk/imximage.cfg"
>  CONFIG_HUSH_PARSER=y
> +CONFIG_CMD_BOOTZ=y
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_MMC=y
> diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
> index a7992ea..56d74e9 100644
> --- a/include/configs/mx7ulp_evk.h
> +++ b/include/configs/mx7ulp_evk.h
> @@ -90,7 +90,6 @@
>  #define PHYS_SDRAM_SIZE			SZ_1G
>  #define CONFIG_SYS_MEMTEST_START	PHYS_SDRAM
>  #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM
> -#define CONFIG_CMD_BOOTZ
>  
>  #define CONFIG_LOADADDR             0x60800000
>  
> 
Applied to u-boot-imx, -master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/configs/mx7ulp_evk_defconfig b/configs/mx7ulp_evk_defconfig
index d630113..0470fbd 100644
--- a/configs/mx7ulp_evk_defconfig
+++ b/configs/mx7ulp_evk_defconfig
@@ -4,6 +4,7 @@  CONFIG_TARGET_MX7ULP_EVK=y
 CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-evk"
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7ulp_evk/imximage.cfg"
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
index a7992ea..56d74e9 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -90,7 +90,6 @@ 
 #define PHYS_SDRAM_SIZE			SZ_1G
 #define CONFIG_SYS_MEMTEST_START	PHYS_SDRAM
 #define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM
-#define CONFIG_CMD_BOOTZ
 
 #define CONFIG_LOADADDR             0x60800000