X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fmpc86xx.h;h=f119d5bb15fdeb564aaaf177eaf8fefdd80cabfb;hb=e0b0ec843085f96f4fe0738424835ee90e58bc00;hp=61b527979cebca627beb457a3cf9f45182c79bb3;hpb=debb7354d1ea4f694154818df5e5b523f5c1cc1d;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/mpc86xx.h b/include/mpc86xx.h index 61b5279..f119d5b 100644 --- a/include/mpc86xx.h +++ b/include/mpc86xx.h @@ -1,15 +1,26 @@ /* - * Copyright 2004 Freescale Semiconductor. - * Jeffrey Brown (jeffrey@freescale.com) + * Copyright 2006 Freescale Semiconductor. + * Jeffrey Brown * Srikanth Srinivasan (srikanth.srinivasan@freescale.com) */ #ifndef __MPC86xx_H__ #define __MPC86xx_H__ +#include + #define EXC_OFF_SYS_RESET 0x0100 /* System reset offset */ +#define _START_OFFSET EXC_OFF_SYS_RESET + +/* + * platform register addresses + */ + +#define GUTS_SVR (CONFIG_SYS_CCSRBAR + 0xE00A4) +#define MCM_ABCR (CONFIG_SYS_CCSRBAR + 0x01000) +#define MCM_DBCR (CONFIG_SYS_CCSRBAR + 0x01008) -/*---------------------------------------------------------------- +/* * l2cr values. Look in config_.h for the actual setup */ #define l2cr 1017 @@ -23,7 +34,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 +81,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 +125,3 @@ static __inline__ unsigned long get_l2cr (void) #endif /* _ASMLANGUAGE */ #endif /* __MPC86xx_H__ */ - -