aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score/include/asm/cache.h
diff options
context:
space:
mode:
authorChen Liqin <liqin.chen@sunplusct.com>2009-06-12 22:01:00 +0800
committerArnd Bergmann <arnd@arndb.de>2009-06-19 11:38:47 +0200
commit6bc9a3966f0395419b09b2ec90f89f7f00341b37 (patch)
tree9c0d9d5376020266f5602501c8376d4a4f13142d /arch/score/include/asm/cache.h
parent0732f87761dbe417cb6e084b712d07e879e876ef (diff)
downloadkernel_goldelico_gta04-6bc9a3966f0395419b09b2ec90f89f7f00341b37.zip
kernel_goldelico_gta04-6bc9a3966f0395419b09b2ec90f89f7f00341b37.tar.gz
kernel_goldelico_gta04-6bc9a3966f0395419b09b2ec90f89f7f00341b37.tar.bz2
score: Add support for Sunplus S+core architecture
This is the complete set of new arch Score's files for linux. Score instruction set support 16bits, 32bits and 64bits instruction, Score SOC had been used in game machine and LCD TV. Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/score/include/asm/cache.h')
-rw-r--r--arch/score/include/asm/cache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/score/include/asm/cache.h b/arch/score/include/asm/cache.h
new file mode 100644
index 0000000..ae3d59f
--- /dev/null
+++ b/arch/score/include/asm/cache.h
@@ -0,0 +1,7 @@
+#ifndef _ASM_SCORE_CACHE_H
+#define _ASM_SCORE_CACHE_H
+
+#define L1_CACHE_SHIFT 4
+#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
+
+#endif /* _ASM_SCORE_CACHE_H */