X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fmpc86xx.h;h=673bfed16e9832054835420e7e7d3ff4f5f3be53;hb=e04acb2eba4782489417240eff76e20e176aec10;hp=61b527979cebca627beb457a3cf9f45182c79bb3;hpb=debb7354d1ea4f694154818df5e5b523f5c1cc1d;p=oweals%2Fu-boot.git diff --git a/include/mpc86xx.h b/include/mpc86xx.h index 61b527979c..673bfed16e 100644 --- a/include/mpc86xx.h +++ b/include/mpc86xx.h @@ -1,6 +1,6 @@ /* - * Copyright 2004 Freescale Semiconductor. - * Jeffrey Brown (jeffrey@freescale.com) + * Copyright 2006 Freescale Semiconductor. + * Jeffrey Brown * Srikanth Srinivasan (srikanth.srinivasan@freescale.com) */ @@ -9,7 +9,16 @@ #define EXC_OFF_SYS_RESET 0x0100 /* System reset offset */ -/*---------------------------------------------------------------- + +/* + * platform register addresses + */ + +#define GUTS_SVR (CFG_CCSRBAR + 0xE00A4) +#define MCM_ABCR (CFG_CCSRBAR + 0x01000) +#define MCM_DBCR (CFG_CCSRBAR + 0x01008) + +/* * l2cr values. Look in config_.h for the actual setup */ #define l2cr 1017 @@ -23,7 +32,7 @@ #define L2CR_HWF 0x00000800 /* bit 20 - hardware flush */ #define L2CR_L2IP 0x00000001 /* global invalidate in progress */ -/*---------------------------------------------------------------- +/* * BAT settings. Look in config_.h for the actual setup */ @@ -70,10 +79,9 @@ #ifndef __ASSEMBLY__ -typedef struct -{ - unsigned long freqProcessor; - unsigned long freqSystemBus; +typedef struct { + unsigned long freqProcessor; + unsigned long freqSystemBus; } MPC86xx_SYS_INFO; #define l1icache_enable icache_enable @@ -115,5 +123,3 @@ static __inline__ unsigned long get_l2cr (void) #endif /* _ASMLANGUAGE */ #endif /* __MPC86xx_H__ */ - -