From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 13 Mar 2008 00:17:04 +0100 Subject: [U-Boot-Users] [PATCH 07/15 v2] ppc4xx: Add basic support for AMCC 460EX/460GT (3/5) In-Reply-To: <1205252122-6297-7-git-send-email-sr@denx.de> References: <1205252122-6297-1-git-send-email-sr@denx.de> <1205252122-6297-7-git-send-email-sr@denx.de> Message-ID: <20080312231704.GM18968@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17:15 Tue 11 Mar , Stefan Roese wrote: > This patch adds basic support for the AMCC 460EX/460GT PPC's. > > Signed-off-by: Stefan Roese > #define PVR_601 0x00010000 > #define PVR_602 0x00050000 > #define PVR_603 0x00030000 > diff --git a/include/asm-ppc/u-boot.h b/include/asm-ppc/u-boot.h > index 2b31814..786ba03 100644 > --- a/include/asm-ppc/u-boot.h > +++ b/include/asm-ppc/u-boot.h > @@ -115,7 +115,8 @@ typedef struct bd_info { > #if defined(CONFIG_405GP) || defined(CONFIG_405EP) || \ > defined(CONFIG_405EZ) || defined(CONFIG_440GX) || \ > defined(CONFIG_440EP) || defined(CONFIG_440GR) || \ > - defined(CONFIG_440EPX) || defined(CONFIG_440GRX) > + defined(CONFIG_440EPX) || defined(CONFIG_440GRX) || \ > + defined(CONFIG_460EX) || defined(CONFIG_460GT) > unsigned int bi_opbfreq; /* OPB clock in Hz */ > int bi_iic_fast[2]; /* Use fast i2c mode */ > #endif > @@ -123,7 +124,8 @@ typedef struct bd_info { > unsigned char bi_sernum[8]; > #endif > #if defined(CONFIG_4xx) > -#if defined(CONFIG_440GX) > +#if defined(CONFIG_440GX) || \ > + defined(CONFIG_460EX) || defined(CONFIG_460GT) > int bi_phynum[4]; /* Determines phy mapping */ ^ > int bi_phymode[4]; /* Determines phy mode */ ^ Could you remove the whitespaces btw > #elif defined(CONFIG_405EP) || defined(CONFIG_440) Best Regards, J.