rk3026: memory.h fix for smp
author黄涛 <huangtao@rock-chips.com>
Wed, 24 Jul 2013 08:31:00 +0000 (16:31 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 24 Jul 2013 08:31:00 +0000 (16:31 +0800)
arch/arm/mach-rk3026/include/mach/memory.h

index 83d97fb8179a7082cefb554e1278e67d35e617b9..add20a978c327f8c8de58f83fe64a4d1f7f2c55c 100644 (file)
@@ -1 +1,15 @@
-#include <../../mach-rk2928/include/mach/memory.h>
+#ifndef __MACH_MEMORY_H
+#define __MACH_MEMORY_H
+
+#include <plat/memory.h>
+#include <mach/io.h>
+
+/*
+ * SRAM memory whereabouts
+ */
+#define SRAM_CODE_OFFSET       (RK2928_IMEM_BASE + 0x0010)
+#define SRAM_CODE_END          (RK2928_IMEM_BASE + 0x0FFF)
+#define SRAM_DATA_OFFSET       (RK2928_IMEM_BASE + 0x1000)
+#define SRAM_DATA_END          (RK2928_IMEM_BASE + 0x1FFF)
+
+#endif