[PATCH 1/2] MIPS: ath79: Add a machine entry for booting OF machines

From: Alban Bedel
Date: Tue Nov 17 2015 - 15:52:34 EST


As I'm using a board with a broken old bootloader I hardcoded the
mips_machtype and did't noticed that the machine entry was still
missing.

Signed-off-by: Alban Bedel <albeu@xxxxxxx>
---
arch/mips/ath79/setup.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c
index 9a00137..8755d61 100644
--- a/arch/mips/ath79/setup.c
+++ b/arch/mips/ath79/setup.c
@@ -281,3 +281,8 @@ MIPS_MACHINE(ATH79_MACH_GENERIC,
"Generic",
"Generic AR71XX/AR724X/AR913X based board",
ath79_generic_init);
+
+MIPS_MACHINE(ATH79_MACH_GENERIC_OF,
+ "DTB",
+ "Generic AR71XX/AR724X/AR913X based board (DT)",
+ NULL);
--
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/