diff options
author | David Vrabel <david.vrabel@citrix.com> | 2012-02-13 14:24:48 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2012-02-13 14:24:48 +0000 |
commit | 1a308e6a951208e02621b8e7c4be2cd582317a9f (patch) | |
tree | 9e15566192e646f007397309575a1d4663d5818f /config | |
parent | dc8bd9d0697edff43cb8bfdc47f49a5af32bf4dc (diff) | |
download | xen-1a308e6a951208e02621b8e7c4be2cd582317a9f.tar.gz xen-1a308e6a951208e02621b8e7c4be2cd582317a9f.tar.bz2 xen-1a308e6a951208e02621b8e7c4be2cd582317a9f.zip |
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 <david.vrabel@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/arm.mk | 6 |
1 files changed, 6 insertions, 0 deletions
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 |