ar71xx: add kernel support for the OpenMesh OM2Pv2 board
Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40955 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
06c108a533
commit
886f70b365
|
@ -174,6 +174,7 @@ static void __init om2p_lc_setup(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
MIPS_MACHINE(ATH79_MACH_OM2P_LC, "OM2P-LC", "OpenMesh OM2P LC", om2p_lc_setup);
|
MIPS_MACHINE(ATH79_MACH_OM2P_LC, "OM2P-LC", "OpenMesh OM2P LC", om2p_lc_setup);
|
||||||
|
MIPS_MACHINE(ATH79_MACH_OM2Pv2, "OM2Pv2", "OpenMesh OM2Pv2", om2p_lc_setup);
|
||||||
|
|
||||||
static void __init om2p_hs_setup(void)
|
static void __init om2p_hs_setup(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
--- a/arch/mips/ath79/machtypes.h
|
||||||
|
+++ b/arch/mips/ath79/machtypes.h
|
||||||
|
@@ -65,6 +65,7 @@ enum ath79_mach_type {
|
||||||
|
ATH79_MACH_NBG6716, /* Zyxel NBG6716 */
|
||||||
|
ATH79_MACH_OM2P_HS, /* OpenMesh OM2P-HS */
|
||||||
|
ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
|
||||||
|
+ ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
|
||||||
|
ATH79_MACH_OM2P, /* OpenMesh OM2P */
|
||||||
|
ATH79_MACH_PB42, /* Atheros PB42 */
|
||||||
|
ATH79_MACH_PB92, /* Atheros PB92 */
|
Loading…
Reference in New Issue