aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boot/compressed/head_64.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-10 00:36:22 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-05-10 00:36:22 +0900
commit20b27fa33743c6ef77a1248421fab51e8bf21a25 (patch)
tree9781cfaa62fa753bc39cb42fc9234c1803fbb80b /arch/sh/boot/compressed/head_64.S
parentsh: Tidy up the ldscript output format specifier. (diff)
downloadlinux-dev-20b27fa33743c6ef77a1248421fab51e8bf21a25.tar.xz
linux-dev-20b27fa33743c6ef77a1248421fab51e8bf21a25.zip
sh: Fix up the sh64 zImage build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boot/compressed/head_64.S')
-rw-r--r--arch/sh/boot/compressed/head_64.S5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sh/boot/compressed/head_64.S b/arch/sh/boot/compressed/head_64.S
index 622eac3cf556..9993113c6713 100644
--- a/arch/sh/boot/compressed/head_64.S
+++ b/arch/sh/boot/compressed/head_64.S
@@ -14,6 +14,7 @@
* Copyright (C) 2002 Stuart Menefy (stuart.menefy@st.com)
*/
#include <asm/cache.h>
+#include <asm/tlb.h>
#include <cpu/mmu_context.h>
#include <cpu/registers.h>
@@ -33,11 +34,7 @@
#define ICCR0_INIT_VAL ICCR0_ON | ICCR0_ICI /* ICE + ICI */
#define ICCR1_INIT_VAL ICCR1_NOLOCK /* No locking */
-#if 1
#define OCCR0_INIT_VAL OCCR0_ON | OCCR0_OCI | OCCR0_WB /* OCE + OCI + WB */
-#else
-#define OCCR0_INIT_VAL OCCR0_OFF
-#endif
#define OCCR1_INIT_VAL OCCR1_NOLOCK /* No locking */
.text