[U-Boot] [PATCH] 85xx: Fix MPC85xx_PORDEVSR_IO_SEL mask for MPC8572
Andy Fleming
afleming at gmail.com
Mon Oct 27 22:30:22 CET 2008
On Mon, Oct 27, 2008 at 2:22 PM, Peter Tyser <ptyser at xes-inc.com> wrote:
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
> include/asm-ppc/immap_85xx.h | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h
> index ad30099..4a0429e 100644
> --- a/include/asm-ppc/immap_85xx.h
> +++ b/include/asm-ppc/immap_85xx.h
> @@ -1568,7 +1568,11 @@ typedef struct ccsr_gur {
> #define MPC85xx_PORDEVSR_SGMII3_DIS 0x08000000
> #define MPC85xx_PORDEVSR_SGMII4_DIS 0x04000000
> #define MPC85xx_PORDEVSR_SRDS2_IO_SEL 0x38000000
> +#ifdef CONFIG_MPC8572
> +#define MPC85xx_PORDEVSR_IO_SEL 0x00780000
> +#else
> #define MPC85xx_PORDEVSR_IO_SEL 0x00380000
> +#endif
The high bit there is just reserved for older parts, so rather than
making this an 8572-specific change, just change it for everyone.
Andy
More information about the U-Boot
mailing list