From 1a308e6a951208e02621b8e7c4be2cd582317a9f Mon Sep 17 00:00:00 2001 From: David Vrabel Date: Mon, 13 Feb 2012 14:24:48 +0000 Subject: arm: link a device tree blob into the xen image Link a device tree blob (DTB) into the xen image. This is loaded immediately after Xen and xen_start() is called with the correct address in atag_paddr. The DTB file must be supplied by setting the CONFIG_DTB_FILE variable in .config or on the make command line. Signed-off-by: David Vrabel Acked-by: Tim Deegan Committed-by: Ian Campbell --- config/arm.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') diff --git a/config/arm.mk b/config/arm.mk index f64f0c1c83..f20fd2db0b 100644 --- a/config/arm.mk +++ b/config/arm.mk @@ -16,3 +16,9 @@ LDFLAGS_DIRECT_Linux = _linux LDFLAGS_DIRECT += -marmelf$(LDFLAGS_DIRECT_$(XEN_OS))_eabi CONFIG_LOAD_ADDRESS ?= 0x80000000 + +# XXX: When running on the model there is no bootloader to provide a +# device tree. It must be linked into Xen. +ifndef CONFIG_DTB_FILE +$(error CONFIG_DTB_FILE must be set to the absolute filename of a DTB) +endif -- cgit v1.2.3