aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview/patches-3.14
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-12-01 16:14:26 +0000
committerJohn Crispin <blogic@openwrt.org>2014-12-01 16:14:26 +0000
commita425f991ec1f812a7a27817c8a6de7f532fac6e0 (patch)
tree78a31316f7e402a3eaaf6292388f8f2edb5a25a6 /target/linux/realview/patches-3.14
parent96467d69fb920444ec9bd05d47d7b34602fc1ce8 (diff)
downloadupstream-a425f991ec1f812a7a27817c8a6de7f532fac6e0.tar.gz
upstream-a425f991ec1f812a7a27817c8a6de7f532fac6e0.tar.bz2
upstream-a425f991ec1f812a7a27817c8a6de7f532fac6e0.zip
realview: add 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43465 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/realview/patches-3.14')
-rw-r--r--target/linux/realview/patches-3.14/0001-PHYS_OFFSET.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/target/linux/realview/patches-3.14/0001-PHYS_OFFSET.patch b/target/linux/realview/patches-3.14/0001-PHYS_OFFSET.patch
new file mode 100644
index 0000000000..9362785816
--- /dev/null
+++ b/target/linux/realview/patches-3.14/0001-PHYS_OFFSET.patch
@@ -0,0 +1,47 @@
+Index: linux-3.14.25/arch/arm/mach-realview/include/mach/memory.h
+===================================================================
+--- linux-3.14.25.orig/arch/arm/mach-realview/include/mach/memory.h 2014-11-21 18:23:44.000000000 +0100
++++ linux-3.14.25/arch/arm/mach-realview/include/mach/memory.h 2014-12-01 09:07:15.907431483 +0100
+@@ -29,6 +29,8 @@
+ #define PLAT_PHYS_OFFSET UL(0x00000000)
+ #endif
+
++#define PHYS_OFFSET PLAT_PHYS_OFFSET
++
+ #ifdef CONFIG_SPARSEMEM
+
+ /*
+Index: linux-3.14.25/openwrt/trunk/target/linux/realview/Makefile
+===================================================================
+--- linux-3.14.25.orig/openwrt/trunk/target/linux/realview/Makefile 2014-12-01 07:30:52.455222932 +0100
++++ /dev/null 1970-01-01 00:00:00.000000000 +0000
+@@ -1,29 +0,0 @@
+-#
+-# Copyright (C) 2010-2011 OpenWrt.org
+-#
+-# This is free software, licensed under the GNU General Public License v2.
+-# See /LICENSE for more information.
+-#
+-include $(TOPDIR)/rules.mk
+-
+-ARCH:=arm
+-BOARD:=realview
+-BOARDNAME:=ARM Ltd. Realview board (qemu)
+-FEATURES:=fpu ramdisk
+-CPU_TYPE:=mpcore
+-CPU_SUBTYPE:=vfp
+-MAINTAINER:=Florian Fainelli <florian@openwrt.org>
+-
+-KERNEL_PATCHVER:=3.14
+-
+-DEVICE_TYPE:=developerboard
+-
+-include $(INCLUDE_DIR)/target.mk
+-
+-define Target/Description
+- Build images for ARM Ltd. Realview boards to be run with qemu
+-endef
+-
+-KERNELNAME:=zImage
+-
+-$(eval $(call BuildTarget))