aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview/patches-3.18/0001-PHYS_OFFSET.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realview/patches-3.18/0001-PHYS_OFFSET.patch')
-rw-r--r--target/linux/realview/patches-3.18/0001-PHYS_OFFSET.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/realview/patches-3.18/0001-PHYS_OFFSET.patch b/target/linux/realview/patches-3.18/0001-PHYS_OFFSET.patch
new file mode 100644
index 0000000000..c1b863bc66
--- /dev/null
+++ b/target/linux/realview/patches-3.18/0001-PHYS_OFFSET.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/mach-realview/include/mach/memory.h
++++ b/arch/arm/mach-realview/include/mach/memory.h
+@@ -29,6 +29,8 @@
+ #define PLAT_PHYS_OFFSET UL(0x00000000)
+ #endif
+
++#define PHYS_OFFSET PLAT_PHYS_OFFSET
++
+ #ifdef CONFIG_SPARSEMEM
+
+ /*