Patchwork [U-Boot] mx25pdk: Allow booting a device tree kernel

login
register
mail settings
Submitter Fabio Estevam
Date Dec. 11, 2012, 9:48 p.m.
Message ID <1355262526-25447-1-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/205308/
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Comments

Fabio Estevam - Dec. 11, 2012, 9:48 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

Select CONFIG_OF_LIBFDT so that a device tree kernel can be launched.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 include/configs/mx25pdk.h |    1 +
 1 file changed, 1 insertion(+)
Stefano Babic - Dec. 13, 2012, 8:25 a.m.
On 11/12/2012 22:48, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Select CONFIG_OF_LIBFDT so that a device tree kernel can be launched.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  include/configs/mx25pdk.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h
> index bbb3161..c10e78b 100644
> --- a/include/configs/mx25pdk.h
> +++ b/include/configs/mx25pdk.h
> @@ -87,6 +87,7 @@
>  
>  /* U-Boot commands */
>  #include <config_cmd_default.h>
> +#define CONFIG_OF_LIBFDT
>  #define CONFIG_CMD_BOOTZ
>  #define CONFIG_CMD_CACHE
>  #define CONFIG_CMD_MMC
> 

Applied to u-boot-imx, thanks.

Best regards,
Stefano Babic

Patch

diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h
index bbb3161..c10e78b 100644
--- a/include/configs/mx25pdk.h
+++ b/include/configs/mx25pdk.h
@@ -87,6 +87,7 @@ 
 
 /* U-Boot commands */
 #include <config_cmd_default.h>
+#define CONFIG_OF_LIBFDT
 #define CONFIG_CMD_BOOTZ
 #define CONFIG_CMD_CACHE
 #define CONFIG_CMD_MMC