git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
ppc
/
boot
/
simple
/
head.S
diff --git
a/arch/ppc/boot/simple/head.S
b/arch/ppc/boot/simple/head.S
index
5e4adc2
..
1b4d7b1
100644
(file)
--- a/
arch/ppc/boot/simple/head.S
+++ b/
arch/ppc/boot/simple/head.S
@@
-1,6
+1,4
@@
/*
/*
- * arch/ppc/boot/simple/head.S
- *
* Initial board bringup code for many different boards.
*
* Author: Tom Rini
* Initial board bringup code for many different boards.
*
* Author: Tom Rini
@@
-13,7
+11,6
@@
* or implied.
*/
* or implied.
*/
-#include <linux/config.h>
#include <asm/reg.h>
#include <asm/cache.h>
#include <asm/ppc_asm.h>
#include <asm/reg.h>
#include <asm/cache.h>
#include <asm/ppc_asm.h>
@@
-65,6
+62,13
@@
start_:
*/
#endif
*/
#endif
+#if defined(CONFIG_XILINX_VIRTEX_4_FX)
+ /* PPC errata 213: only for Virtex-4 FX */
+ mfccr0 0
+ oris 0,0,0x50000000@h
+ mtccr0 0
+#endif
+
mflr r3 /* Save our actual starting address. */
/* The following functions we call must not modify r3 or r4.....
mflr r3 /* Save our actual starting address. */
/* The following functions we call must not modify r3 or r4.....