From 7d985f09251d2be762d6f00d3a5fb8b24e57de98 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 20 Jan 2017 13:12:22 +0100 Subject: [PATCH 1/1] kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders This is only required for non-DT platforms Signed-off-by: Felix Fietkau --- .../patches-4.4/001-arm_openwrt_machtypes.patch | 7 +++++++ .../patches-4.4/040-arm_mach_types.patch} | 16 +--------------- .../patches-4.4/000-arm_openwrt_machtypes.patch | 8 ++++++++ 3 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 target/linux/cns3xxx/patches-4.4/001-arm_openwrt_machtypes.patch rename target/linux/{generic/patches-4.4/980-arm_openwrt_machtypes.patch => ixp4xx/patches-4.4/040-arm_mach_types.patch} (56%) create mode 100644 target/linux/orion/patches-4.4/000-arm_openwrt_machtypes.patch 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 index 0000000000..32f977fafc --- /dev/null +++ b/target/linux/cns3xxx/patches-4.4/001-arm_openwrt_machtypes.patch @@ -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/ixp4xx/patches-4.4/040-arm_mach_types.patch similarity index 56% rename from target/linux/generic/patches-4.4/980-arm_openwrt_machtypes.patch rename to target/linux/ixp4xx/patches-4.4/040-arm_mach_types.patch index 60ca07e1a2..c6392ef2f8 100644 --- a/target/linux/generic/patches-4.4/980-arm_openwrt_machtypes.patch +++ b/target/linux/ixp4xx/patches-4.4/040-arm_mach_types.patch @@ -1,32 +1,18 @@ --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types -@@ -1006,3 +1006,29 @@ eco5_bx2 MACH_ECO5_BX2 ECO5_BX2 4572 +@@ -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 -+# -+# 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/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 index 0000000000..764f992288 --- /dev/null +++ b/target/linux/orion/patches-4.4/000-arm_openwrt_machtypes.patch @@ -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 -- 2.30.2