On Wed, 2008-01-16 at 00:38 -0600, Kim Phillips wrote:
> System registers that are modified are the Arbiter Configuration
> Register (ACR), the System Priority Control Register (SPCR), and the
> System Clock Configuration Register (SCCR).
> 
> Signed-off by: Michael F. Reiss <[EMAIL PROTECTED]>
> Signed-off by: Joe D'Abbraccio <[EMAIL PROTECTED]>
> Signed-off-by: Kim Phillips <[EMAIL PROTECTED]>
> ---
>  cpu/mpc83xx/cpu_init.c |   73 +++++++++++++++++++++++++++++++++--------------
>  cpu/mpc83xx/speed.c    |   12 ++++----
>  include/mpc83xx.h      |   13 ++++++--
>  3 files changed, 67 insertions(+), 31 deletions(-)
> 
> diff --git a/cpu/mpc83xx/cpu_init.c b/cpu/mpc83xx/cpu_init.c
> index 18d5a76..3337d8c 100644
> --- a/cpu/mpc83xx/cpu_init.c
> +++ b/cpu/mpc83xx/cpu_init.c
> @@ -78,59 +78,88 @@ void cpu_init_f (volatile immap_t * im)
>       im->sysconf.spcr = (im->sysconf.spcr & ~SPCR_TSECEP) | (CFG_SPCR_TSECEP 
> << SPCR_TSECEP_SHIFT);
>  #endif
>  
> +#ifdef CFG_ACR_RPTCNT
> +     /* Arbiter repeat count */
> +     im->arbiter.acr = (im->arbiter.acr & ~(ACR_RPTCNT)) |
> +                       (CFG_ACR_RPTCNT << ACR_RPTCNT_SHIFT);
> +#endif
> +
> +#ifdef CFG_SPCR_TSECEP
> +     /* all TSEC's Emergency priority */
> +     im->sysconf.spcr = (im->sysconf.spcr & ~SPCR_TSECEP) |
> +                        (CFG_SPCR_TSECEP << SPCR_TSECEP_SHIFT);
> +#endif

The file has one CFG_SPCR_TSECEP before this,
so I will send one patch to remove redundant one.

Thanks,
Dave  



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to