[U-Boot-Users] [PATCH 07/15 v2] ppc4xx: Add basic support for AMCC 460EX/460GT (3/5)

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Mar 13 00:17:04 CET 2008


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 <sr at denx.de>
>  #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.




More information about the U-Boot mailing list