[U-Boot] [PATCH] ppc/85xx: Simplify the top makefile for P1_P2_RDB boards

Scott Wood scottwood at freescale.com
Fri Sep 11 00:07:05 CEST 2009


Kumar Gala wrote:
> diff --git a/include/configs/P2020DS.h b/include/configs/P2020DS.h
> index 2a2b9ac..f987f7a 100644
> --- a/include/configs/P2020DS.h
> +++ b/include/configs/P2020DS.h
> @@ -27,6 +27,10 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> +#ifdef CONFIG_MK_P2020DS_36BIT
> +#define CONFIG_PHYS_64BIT
> +#endif
> +
>  /* High Level Configuration Options */
>  #define CONFIG_BOOKE		1	/* BOOKE */
>  #define CONFIG_E500		1	/* BOOKE e500 family */
[snip]
> diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h
> index 6d44d6c..8e97ad0 100644
> --- a/include/configs/P1_P2_RDB.h
> +++ b/include/configs/P1_P2_RDB.h
> @@ -30,6 +30,19 @@
>  #ifndef __CONFIG_H
>  #define __CONFIG_H
>  
> +#ifdef CONFIG_MK_P1011RDB
> +#define CONFIG_P1011
> +#endif
> +#ifdef CONFIG_MK_P1020RDB
> +#define CONFIG_P1020
> +#endif
> +#ifdef CONFIG_MK_P2010RDB
> +#define CONFIG_P2010
> +#endif
> +#ifdef CONFIG_MK_P2020RDB
> +#define CONFIG_P2020
> +#endif

I hope nobody ever wants to stick an alternate boot source (such as 
NAND), board revs, 36 bit, etc. on top of this 4-way choice.

I thought Wolfgang had finally agreed to the splitting approach. :-(

-Scott


More information about the U-Boot mailing list