projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib_arm: do_bootm_linux() - correct a small mistake
[oweals/u-boot.git]
/
include
/
mpc86xx.h
diff --git
a/include/mpc86xx.h
b/include/mpc86xx.h
index 4edeae1647776f6a0cea2f6b5d3836d7b46a332a..f119d5bb15fdeb564aaaf177eaf8fefdd80cabfb 100644
(file)
--- a/
include/mpc86xx.h
+++ b/
include/mpc86xx.h
@@
-1,13
+1,24
@@
/*
* Copyright 2006 Freescale Semiconductor.
/*
* Copyright 2006 Freescale Semiconductor.
- * Jeffrey Brown
(jeffrey@freescale.com)
+ * Jeffrey Brown
* Srikanth Srinivasan (srikanth.srinivasan@freescale.com)
*/
#ifndef __MPC86xx_H__
#define __MPC86xx_H__
* Srikanth Srinivasan (srikanth.srinivasan@freescale.com)
*/
#ifndef __MPC86xx_H__
#define __MPC86xx_H__
+#include <asm/fsl_lbc.h>
+
#define EXC_OFF_SYS_RESET 0x0100 /* System reset offset */
#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_<BOARD>.h for the actual setup
/*
* l2cr values. Look in config_<BOARD>.h for the actual setup
@@
-70,10
+81,9
@@
#ifndef __ASSEMBLY__
#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
} MPC86xx_SYS_INFO;
#define l1icache_enable icache_enable
@@
-115,5
+125,3
@@
static __inline__ unsigned long get_l2cr (void)
#endif /* _ASMLANGUAGE */
#endif /* __MPC86xx_H__ */
#endif /* _ASMLANGUAGE */
#endif /* __MPC86xx_H__ */
-
-