summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/arch/rlx/bsp_rtl8196e/bspcpu.h
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
commite6d87036412b952cb083eff2dc716aee97a771f2 (patch)
tree273dd3daaa85553832d3cc6d48276229dc7fbe09 /target/linux/realtek/files/arch/rlx/bsp_rtl8196e/bspcpu.h
parenta18fec42221baa52fff4c5ffd45ec8f32e3add36 (diff)
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/arch/rlx/bsp_rtl8196e/bspcpu.h')
-rw-r--r--target/linux/realtek/files/arch/rlx/bsp_rtl8196e/bspcpu.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/realtek/files/arch/rlx/bsp_rtl8196e/bspcpu.h b/target/linux/realtek/files/arch/rlx/bsp_rtl8196e/bspcpu.h
new file mode 100644
index 000000000..a00055781
--- /dev/null
+++ b/target/linux/realtek/files/arch/rlx/bsp_rtl8196e/bspcpu.h
@@ -0,0 +1,36 @@
+/*
+ * Realtek Semiconductor Corp.
+ *
+ * bspcpu.h:
+ *
+ * Tony Wu (tonywu@realtek.com.tw)
+ * Dec. 7, 2007
+ */
+#ifndef __BSPCPU_H_
+#define __BSPCPU_H_
+
+#define cpu_scache_size 0
+#define cpu_dcache_size ( 8 << 10)
+#define cpu_icache_size (16 << 10)
+#define cpu_scache_line 0
+
+#ifdef CONFIG_RTL_8196E
+#define cpu_dcache_line 16
+#define cpu_icache_line 16
+#else
+#define cpu_dcache_line 32
+#define cpu_icache_line 32
+#endif
+
+#define cpu_dcache_line_mask 0xF /*cpu_dcache_line-1*/
+#define cpu_icache_line_mask 0xF /*cpu_icache_line-1*/
+#define cpu_tlb_entry 32
+
+//#define cpu_mem_size (64 << 20)
+//#define cpu_mem_size (16 << 20)
+
+#define cpu_imem_size 0
+#define cpu_dmem_size 0
+#define cpu_smem_size 0
+
+#endif