[RFC PATCH 1/3] m68k: bootinfo: Add tag for FDT address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
---
 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





[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux