xen:arm: Populate arm64 image header
authorAmit Singh Tomar <amittomer25@gmail.com>
Tue, 11 Sep 2018 16:48:06 +0000 (22:18 +0530)
committerJulien Grall <julien.grall@arm.com>
Mon, 24 Sep 2018 13:42:53 +0000 (14:42 +0100)
commit17bd254a508f4174fe0d56a9f1b9892b7649b4b9
treea817b9c1f05d64b01324376d94f0874f2d85506d
parent940185b2f6f343251c2b83bd96e599398cea51ec
xen:arm: Populate arm64 image header

This patch adds image size and flags to XEN image header. It uses
those fields according to the updated Linux kernel image definition.

With this patch bootloader can now place XEN image anywhere in system
RAM at 2MB aligned address without to worry about relocation.
For instance, it fixes the XEN boot on Amlogic SoC where bootloader(U-BOOT)
always relocates the XEN image to an address range reserved for firmware data.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Reviewed-by: Andre Pryzwara <andre.przywara@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/arm64/head.S