Allow bootinfo to carry a pointer to an FDT so that the
bootloader can pass us one.
This allows for devicetree support without changing the
boot protocol too much and breaking unmaintained bootloaders.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
arch/m68k/include/uapi/asm/bootinfo.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/m68k/include/uapi/asm/bootinfo.h b/arch/m68k/include/uapi/asm/bootinfo.h
index 024e87d7095f..326f20e82769 100644
--- a/arch/m68k/include/uapi/asm/bootinfo.h
+++ b/arch/m68k/include/uapi/asm/bootinfo.h
@@ -73,6 +73,9 @@ struct mem_info {
#define BI_RNG_SEED 0x0008
+/* Pointer to FDT if there is one */
+#define BI_FDT 0x0009
+
/*
* Linux/m68k Architectures (BI_MACHTYPE)
*/
--
2.45.2