summaryrefslogtreecommitdiff
path: root/target/linux/realview/patches-3.14/0001-PHYS_OFFSET.patch
blob: 9362785816f3387703e1faae5cc75e89bb3af558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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))