From 3e99c95ba1c8a9508b3dc5e94c67f0ae46c7d360 Mon Sep 17 00:00:00 2001 From: David Vrabel Date: Mon, 13 Feb 2012 14:24:49 +0000 Subject: arm, device tree: parse the DTB for RAM location and size Prior to setting up the page tables, parse the DTB for the location and size of RAM. Use this information to get the physical address to relocate Xen to in setup_pagetables(). Signed-off-by: David Vrabel Acked-by: Tim Deegan Committed-by: Ian Campbell --- xen/common/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xen/common/Makefile') diff --git a/xen/common/Makefile b/xen/common/Makefile index 4b1e6f220c..372b259a11 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -1,6 +1,7 @@ obj-y += bitmap.o obj-y += cpu.o obj-y += cpupool.o +obj-$(HAS_DEVICE_TREE) += device_tree.o obj-y += domctl.o obj-y += domain.o obj-y += event_channel.o @@ -60,3 +61,5 @@ subdir-$(ia64) += hvm subdir-y += libelf subdir-$(HAS_DEVICE_TREE) += libfdt + +CFLAGS += -Ilibfdt -- cgit v1.2.3