From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 10 Sep 2009 17:07:05 -0500 Subject: [U-Boot] [PATCH] ppc/85xx: Simplify the top makefile for P1_P2_RDB boards In-Reply-To: <1252618408-31375-3-git-send-email-galak@kernel.crashing.org> References: <1252618408-31375-1-git-send-email-galak@kernel.crashing.org> <1252618408-31375-2-git-send-email-galak@kernel.crashing.org> <1252618408-31375-3-git-send-email-galak@kernel.crashing.org> Message-ID: <4AA97889.5090505@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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