kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders
authorFelix Fietkau <nbd@nbd.name>
Fri, 20 Jan 2017 12:12:22 +0000 (13:12 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 27 Jan 2017 10:18:27 +0000 (11:18 +0100)
This is only required for non-DT platforms

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/cns3xxx/patches-4.4/001-arm_openwrt_machtypes.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/980-arm_openwrt_machtypes.patch [deleted file]
target/linux/ixp4xx/patches-4.4/040-arm_mach_types.patch [new file with mode: 0644]
target/linux/orion/patches-4.4/000-arm_openwrt_machtypes.patch [new file with mode: 0644]

diff --git a/target/linux/cns3xxx/patches-4.4/001-arm_openwrt_machtypes.patch b/target/linux/cns3xxx/patches-4.4/001-arm_openwrt_machtypes.patch
new file mode 100644 (file)
index 0000000..32f977f
--- /dev/null
@@ -0,0 +1,7 @@
+--- a/arch/arm/tools/mach-types
++++ b/arch/arm/tools/mach-types
+@@ -1006,3 +1006,4 @@ eco5_bx2         MACH_ECO5_BX2           ECO5_BX2                4572
+ eukrea_cpuimx28sd     MACH_EUKREA_CPUIMX28SD  EUKREA_CPUIMX28SD       4573
+ domotab                       MACH_DOMOTAB            DOMOTAB                 4574
+ pfla03                        MACH_PFLA03             PFLA03                  4575
++gw2388                        MACH_GW2388             GW2388                  2635
diff --git a/target/linux/generic/patches-4.4/980-arm_openwrt_machtypes.patch b/target/linux/generic/patches-4.4/980-arm_openwrt_machtypes.patch
deleted file mode 100644 (file)
index 60ca07e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/arch/arm/tools/mach-types
-+++ b/arch/arm/tools/mach-types
-@@ -1006,3 +1006,29 @@ eco5_bx2                MACH_ECO5_BX2           ECO5_BX2                4572
- eukrea_cpuimx28sd     MACH_EUKREA_CPUIMX28SD  EUKREA_CPUIMX28SD       4573
- domotab                       MACH_DOMOTAB            DOMOTAB                 4574
- pfla03                        MACH_PFLA03             PFLA03                  4575
-+#
-+# Additional mach-types supported by OpenWrt
-+#
-+wg302v1                       MACH_WG302V1            WG302V1                 889
-+pronghorn             MACH_PRONGHORN          PRONGHORN               928
-+pronghorn_metro               MACH_PRONGHORNMETRO     PRONGHORNMETRO          1040
-+sidewinder            MACH_SIDEWINDER         SIDEWINDER              1041
-+wrt300nv2             MACH_WRT300NV2          WRT300NV2               1077
-+compex42x             MACH_COMPEXWP18         COMPEXWP18              1273
-+goldfish              MACH_GOLDFISH           GOLDFISH                1441
-+cambria                       MACH_CAMBRIA            CAMBRIA                 1468
-+dt2                   MACH_DT2                DT2                     1514
-+ap1000                        MACH_AP1000             AP1000                  1543
-+tw2662                        MACH_TW2662             TW2662                  1658
-+tw5334                        MACH_TW5334             TW5334                  1664
-+usr8200                       MACH_USR8200            USR8200                 1762
-+mi424wr                       MACH_MI424WR            MI424WR                 1778
-+gw2388                        MACH_GW2388             GW2388                  2635
-+iconnect              MACH_ICONNECT           ICONNECT                2870
-+nsb3ast                       MACH_NSB3AST            NSB3AST                 2917
-+goflexnet             MACH_GOFLEXNET          GOFLEXNET               3089
-+nas6210                       MACH_NAS6210            NAS6210                 3104
-+ns_k330                       MACH_NS_K330            NS_K330                 3108
-+bcm2708                       MACH_BCM2708            BCM2708                 3138
-+wn802t                        MACH_WN802T             WN802T                  3306
-+nsa310                        MACH_NSA310             NSA310                  4022
diff --git a/target/linux/ixp4xx/patches-4.4/040-arm_mach_types.patch b/target/linux/ixp4xx/patches-4.4/040-arm_mach_types.patch
new file mode 100644 (file)
index 0000000..c6392ef
--- /dev/null
@@ -0,0 +1,18 @@
+--- a/arch/arm/tools/mach-types
++++ b/arch/arm/tools/mach-types
+@@ -1006,3 +1006,15 @@ eco5_bx2                MACH_ECO5_BX2           ECO5_BX2                4572
+ eukrea_cpuimx28sd     MACH_EUKREA_CPUIMX28SD  EUKREA_CPUIMX28SD       4573
+ domotab                       MACH_DOMOTAB            DOMOTAB                 4574
+ pfla03                        MACH_PFLA03             PFLA03                  4575
++wg302v1                       MACH_WG302V1            WG302V1                 889
++pronghorn             MACH_PRONGHORN          PRONGHORN               928
++pronghorn_metro               MACH_PRONGHORNMETRO     PRONGHORNMETRO          1040
++sidewinder            MACH_SIDEWINDER         SIDEWINDER              1041
++wrt300nv2             MACH_WRT300NV2          WRT300NV2               1077
++compex42x             MACH_COMPEXWP18         COMPEXWP18              1273
++cambria                       MACH_CAMBRIA            CAMBRIA                 1468
++ap1000                        MACH_AP1000             AP1000                  1543
++tw2662                        MACH_TW2662             TW2662                  1658
++tw5334                        MACH_TW5334             TW5334                  1664
++usr8200                       MACH_USR8200            USR8200                 1762
++mi424wr                       MACH_MI424WR            MI424WR                 1778
diff --git a/target/linux/orion/patches-4.4/000-arm_openwrt_machtypes.patch b/target/linux/orion/patches-4.4/000-arm_openwrt_machtypes.patch
new file mode 100644 (file)
index 0000000..764f992
--- /dev/null
@@ -0,0 +1,8 @@
+--- a/arch/arm/tools/mach-types
++++ b/arch/arm/tools/mach-types
+@@ -1006,3 +1006,5 @@ eco5_bx2         MACH_ECO5_BX2           ECO5_BX2                4572
+ eukrea_cpuimx28sd     MACH_EUKREA_CPUIMX28SD  EUKREA_CPUIMX28SD       4573
+ domotab                       MACH_DOMOTAB            DOMOTAB                 4574
+ pfla03                        MACH_PFLA03             PFLA03                  4575
++dt2                   MACH_DT2                DT2                     1514
++wn802t                        MACH_WN802T             WN802T                  3306