[U-Boot] [PATCH RESEND 2/2] mx5: Fix CONFIG_OF_LIBFDT redefined warning

Stefano Babic sbabic at denx.de
Wed May 4 10:04:42 CEST 2011


On 05/04/2011 08:13 AM, Shawn Guo wrote:
> With the following commit, CONFIG_OF_LIBFDT is redefined.
> 
>   2fa8ca98c37d5b1bb0328b19ddb7e9d162cd9683
>   Add CONFIG_OF_LIBFDT to more boards.
> 
> Remove the duplicated definition to fix CONFIG_OF_LIBFDT redefined
> warning.
> 
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>

Hi Shawn,

> ---
>  include/configs/mx51evk.h |    2 --
>  include/configs/mx53evk.h |    2 --
>  2 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
> index febe8d8..207b20c 100644
> --- a/include/configs/mx51evk.h
> +++ b/include/configs/mx51evk.h
> @@ -226,6 +226,4 @@
>  #define CONFIG_ENV_IS_IN_MMC
>  #define CONFIG_SYS_MMC_ENV_DEV 0
>  
> -#define CONFIG_OF_LIBFDT

Thanks to clean up this. Could you also drop the not needed "1" to the
other define ?

#define CONFIG_OF_LIBFDT                1

Should be:
#define CONFIG_OF_LIBFDT

Regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list