[RFC PATCH 2/3] m68k: bootinfo: Add generic machine type

From: Daniel Palmer
Date: Sun Jan 05 2025 - 02:15:24 EST


Add a generic machine type that will use an FDT instead
of board setup code.

This will allow the bootloader to just pass the generic
machine type, some memory info for the head.S code and
a pointer to a FDT blob instead of a specific machine
type and make adding new machines simpler.

Signed-off-by: Daniel Palmer <daniel@xxxxxxxx>
---
arch/m68k/include/uapi/asm/bootinfo.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/m68k/include/uapi/asm/bootinfo.h b/arch/m68k/include/uapi/asm/bootinfo.h
index 326f20e82769..e885bbc462d3 100644
--- a/arch/m68k/include/uapi/asm/bootinfo.h
+++ b/arch/m68k/include/uapi/asm/bootinfo.h
@@ -94,6 +94,7 @@ struct mem_info {
#define MACH_M54XX 12
#define MACH_M5441X 13
#define MACH_VIRT 14
+#define MACH_GENERIC 15


/*
--
2.45.2