X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fmpc86xx.h;h=ce3d784da03f3f35b5401b1e5449b6f806ff8e78;hb=53c987f51391c1a221b0468aa0f37a3a6ce9181a;hp=4edeae1647776f6a0cea2f6b5d3836d7b46a332a;hpb=72ed528a948b151e7be5ce03ed3d2b88a229dd0a;p=u-boot diff --git a/include/mpc86xx.h b/include/mpc86xx.h index 4edeae1647..ce3d784da0 100644 --- a/include/mpc86xx.h +++ b/include/mpc86xx.h @@ -1,13 +1,24 @@ /* * Copyright 2006 Freescale Semiconductor. - * Jeffrey Brown (jeffrey@freescale.com) + * 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 (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 @@ -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__ */ - -