From: Gabor Juhos Date: Sun, 4 Nov 2012 20:15:18 +0000 (+0000) Subject: ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b78a736dc2d7607642f19a996d3372696f9ebcb5;p=openwrt%2Fstaging%2Fnbd.git ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards Also add the missing ATH79_MACH_ZCN_1523H_5 symbol. Signed-off-by: Gabor Juhos SVN-Revision: 34072 --- diff --git a/target/linux/ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch index 2fc30cdd00..0230908973 100644 --- a/target/linux/ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch +++ b/target/linux/ar71xx/patches-3.3/610-MIPS-ath79-openwrt-machines.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/machtypes.h +++ b/arch/mips/ath79/machtypes.h -@@ -16,18 +16,101 @@ +@@ -16,18 +16,102 @@ enum ath79_mach_type { ATH79_MACH_GENERIC = 0, @@ -99,6 +99,7 @@ + ATH79_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */ + ATH79_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */ + ATH79_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */ ++ ATH79_MACH_ZCN_1523H_5, /* Zcomax ZCN-1523H-5-xx */ }; #endif /* _ATH79_MACHTYPE_H */ @@ -724,7 +725,7 @@ endif --- a/arch/mips/ath79/Makefile +++ b/arch/mips/ath79/Makefile -@@ -38,9 +38,66 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route +@@ -38,9 +38,68 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route # # Machines # @@ -791,6 +792,8 @@ +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o +obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o +obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o ++obj-$(CONFIG_ATH79_MACH_ZCN_1523H) += mach-zcn-1523h.o ++ --- a/arch/mips/ath79/prom.c +++ b/arch/mips/ath79/prom.c @@ -180,6 +180,10 @@ void __init prom_init(void) diff --git a/target/linux/ar71xx/patches-3.6/610-MIPS-ath79-openwrt-machines.patch b/target/linux/ar71xx/patches-3.6/610-MIPS-ath79-openwrt-machines.patch index 2fc30cdd00..0230908973 100644 --- a/target/linux/ar71xx/patches-3.6/610-MIPS-ath79-openwrt-machines.patch +++ b/target/linux/ar71xx/patches-3.6/610-MIPS-ath79-openwrt-machines.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/machtypes.h +++ b/arch/mips/ath79/machtypes.h -@@ -16,18 +16,101 @@ +@@ -16,18 +16,102 @@ enum ath79_mach_type { ATH79_MACH_GENERIC = 0, @@ -99,6 +99,7 @@ + ATH79_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */ + ATH79_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */ + ATH79_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */ ++ ATH79_MACH_ZCN_1523H_5, /* Zcomax ZCN-1523H-5-xx */ }; #endif /* _ATH79_MACHTYPE_H */ @@ -724,7 +725,7 @@ endif --- a/arch/mips/ath79/Makefile +++ b/arch/mips/ath79/Makefile -@@ -38,9 +38,66 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route +@@ -38,9 +38,68 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route # # Machines # @@ -791,6 +792,8 @@ +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o +obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o +obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o ++obj-$(CONFIG_ATH79_MACH_ZCN_1523H) += mach-zcn-1523h.o ++ --- a/arch/mips/ath79/prom.c +++ b/arch/mips/ath79/prom.c @@ -180,6 +180,10 @@ void __init prom_init(void)