summaryrefslogtreecommitdiffstats
path: root/arch/mips/ath79/machtypes.h
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2015-05-31 01:52:25 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-06-21 21:54:01 +0200
commit03c8c407a8c9ba1772ea7c086b7a0f7bceecdb65 (patch)
treee71058925bc6d52bf7ae682b371e7e1d501681b4 /arch/mips/ath79/machtypes.h
parentfe41b466f9f4c45b3368dee4a50d7c77ae7f37f9 (diff)
downloadlinux-03c8c407a8c9ba1772ea7c086b7a0f7bceecdb65.tar.bz2
MIPS: ath79: Add basic device tree support
Add the bare minimum to load a device tree. Signed-off-by: Alban Bedel <albeu@free.fr> Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79/machtypes.h')
-rw-r--r--arch/mips/ath79/machtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ath79/machtypes.h b/arch/mips/ath79/machtypes.h
index 26254058c545..a13db3d15c8f 100644
--- a/arch/mips/ath79/machtypes.h
+++ b/arch/mips/ath79/machtypes.h
@@ -15,6 +15,7 @@
#include <asm/mips_machine.h>
enum ath79_mach_type {
+ ATH79_MACH_GENERIC_OF = -1, /* Device tree board */
ATH79_MACH_GENERIC = 0,
ATH79_MACH_AP121, /* Atheros AP121 reference board */
ATH79_MACH_AP136_010, /* Atheros AP136-010 reference board */