diff options
author | Grant C. Likely <grant.likely@secretlab.ca> | 2006-01-19 03:13:37 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-02-07 06:36:01 -0500 |
commit | 909aeca664dd1fe55111dc4ec25c1bebe91674a2 (patch) | |
tree | b1b0737582e2348d2b5c728db6b280df90bc5df1 /arch/ppc/boot/simple/head.S | |
parent | b58b5aa51c78079fa4f652cd42e7b496a1d5411a (diff) |
[PATCH] powerpc: Add support for Xilinx ML403 reference design
Includes fix for Xilinx silicon errata 213
Signed-off-by: Grant C. Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/boot/simple/head.S')
-rw-r--r-- | arch/ppc/boot/simple/head.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ppc/boot/simple/head.S b/arch/ppc/boot/simple/head.S index 5e4adc298bf9..119b9dc89587 100644 --- a/arch/ppc/boot/simple/head.S +++ b/arch/ppc/boot/simple/head.S | |||
@@ -65,6 +65,13 @@ start_: | |||
65 | */ | 65 | */ |
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | #if defined(CONFIG_XILINX_VIRTEX_4_FX) | ||
69 | /* PPC errata 213: only for Virtex-4 FX */ | ||
70 | mfccr0 0 | ||
71 | oris 0,0,0x50000000@h | ||
72 | mtccr0 0 | ||
73 | #endif | ||
74 | |||
68 | mflr r3 /* Save our actual starting address. */ | 75 | mflr r3 /* Save our actual starting address. */ |
69 | 76 | ||
70 | /* The following functions we call must not modify r3 or r4..... | 77 | /* The following functions we call must not modify r3 or r4..... |