xen/arm: Print whether Xen is booting using ACPI or DT

Make it easier to figure out whether Xen is booting using ACPI or DT by
printing a message on the console.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Julien Grall authored and Stefano Stabellini committed 2017-02-15 17:42:21 -08:00
1 parent 89bca19082
commit 1e88db4701
1 file changed
+5
+5
View File
@@ -753,6 +753,11 @@ void __init start_xen(unsigned long boot_phys_offset,
/* Parse the ACPI tables for possible boot-time configuration */
acpi_boot_table_init();
if ( acpi_disabled )
printk("Booting using Device Tree\n");
else
printk("Booting using ACPI\n");
end_boot_allocator();
vm_init();
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.