realview: add 3.14 support
[openwrt.git] / target / linux / realview / patches-3.14 / 0001-PHYS_OFFSET.patch
1 Index: linux-3.14.25/arch/arm/mach-realview/include/mach/memory.h
2 ===================================================================
3 --- linux-3.14.25.orig/arch/arm/mach-realview/include/mach/memory.h     2014-11-21 18:23:44.000000000 +0100
4 +++ linux-3.14.25/arch/arm/mach-realview/include/mach/memory.h  2014-12-01 09:07:15.907431483 +0100
5 @@ -29,6 +29,8 @@
6  #define PLAT_PHYS_OFFSET               UL(0x00000000)
7  #endif
8  
9 +#define PHYS_OFFSET PLAT_PHYS_OFFSET
10 +
11  #ifdef CONFIG_SPARSEMEM
12  
13  /*
14 Index: linux-3.14.25/openwrt/trunk/target/linux/realview/Makefile
15 ===================================================================
16 --- linux-3.14.25.orig/openwrt/trunk/target/linux/realview/Makefile     2014-12-01 07:30:52.455222932 +0100
17 +++ /dev/null   1970-01-01 00:00:00.000000000 +0000
18 @@ -1,29 +0,0 @@
19 -#
20 -# Copyright (C) 2010-2011 OpenWrt.org
21 -#
22 -# This is free software, licensed under the GNU General Public License v2.
23 -# See /LICENSE for more information.
24 -#
25 -include $(TOPDIR)/rules.mk
26 -
27 -ARCH:=arm
28 -BOARD:=realview
29 -BOARDNAME:=ARM Ltd. Realview board (qemu)
30 -FEATURES:=fpu ramdisk
31 -CPU_TYPE:=mpcore
32 -CPU_SUBTYPE:=vfp
33 -MAINTAINER:=Florian Fainelli <florian@openwrt.org>
34 -
35 -KERNEL_PATCHVER:=3.14
36 -
37 -DEVICE_TYPE:=developerboard
38 -
39 -include $(INCLUDE_DIR)/target.mk
40 -
41 -define Target/Description
42 -       Build images for ARM Ltd. Realview boards to be run with qemu
43 -endef
44 -
45 -KERNELNAME:=zImage
46 -
47 -$(eval $(call BuildTarget))