projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9085bc
)
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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk3026/include/mach/memory.h
b/arch/arm/mach-rk3026/include/mach/memory.h
index 83d97fb8179a7082cefb554e1278e67d35e617b9..add20a978c327f8c8de58f83fe64a4d1f7f2c55c 100644
(file)
--- a/
arch/arm/mach-rk3026/include/mach/memory.h
+++ b/
arch/arm/mach-rk3026/include/mach/memory.h
@@
-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