In preparation for x86 to start using bootmodule instead of boot_module
Signed-off-by: Alejandro Vallejo <[email protected]>
---
xen/common/device-tree/bootinfo.c | 1 +
xen/include/xen/bootfdt.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/xen/common/device-tree/bootinfo.c
b/xen/common/device-tree/bootinfo.c
index 76d652c0de..717cfa0962 100644
--- a/xen/common/device-tree/bootinfo.c
+++ b/xen/common/device-tree/bootinfo.c
@@ -31,6 +31,7 @@ const char * __init
boot_module_kind_as_string(bootmodule_kind kind)
case BOOTMOD_RAMDISK: return "Ramdisk";
case BOOTMOD_XSM: return "XSM";
case BOOTMOD_GUEST_DTB: return "DTB";
+ case BOOTMOD_MICROCODE: return "Microcode";
case BOOTMOD_UNKNOWN: return "Unknown";
default: BUG();
}
diff --git a/xen/include/xen/bootfdt.h b/xen/include/xen/bootfdt.h
index 847f019559..d503d1bd4b 100644
--- a/xen/include/xen/bootfdt.h
+++ b/xen/include/xen/bootfdt.h
@@ -21,6 +21,7 @@ typedef enum {
BOOTMOD_RAMDISK,
BOOTMOD_XSM,
BOOTMOD_GUEST_DTB,
+ BOOTMOD_MICROCODE,
BOOTMOD_UNKNOWN
} bootmodule_kind;
--
2.43.0