summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.19.99
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/4.19.99')
-rw-r--r--target/linux/patches/4.19.99/arc.patch12
-rw-r--r--target/linux/patches/4.19.99/fec-coldfire.patch118
-rw-r--r--target/linux/patches/4.19.99/or1k-more-ram.patch12
-rw-r--r--target/linux/patches/4.19.99/startup.patch34
4 files changed, 0 insertions, 176 deletions
diff --git a/target/linux/patches/4.19.99/arc.patch b/target/linux/patches/4.19.99/arc.patch
deleted file mode 100644
index 20810ce64..000000000
--- a/target/linux/patches/4.19.99/arc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur linux-4.17.1.orig/arch/arc/boot/Makefile linux-4.17.1/arch/arc/boot/Makefile
---- linux-4.17.1.orig/arch/arc/boot/Makefile 2018-06-11 22:43:19.000000000 +0200
-+++ linux-4.17.1/arch/arc/boot/Makefile 2018-06-16 18:28:02.000000000 +0200
-@@ -7,7 +7,7 @@
-
- OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S
-
--LINUX_START_TEXT = $$(readelf -h vmlinux | \
-+LINUX_START_TEXT = $$(${CROSS_COMPILE}readelf -h vmlinux | \
- grep "Entry point address" | grep -o 0x.*)
-
- UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE)
diff --git a/target/linux/patches/4.19.99/fec-coldfire.patch b/target/linux/patches/4.19.99/fec-coldfire.patch
deleted file mode 100644
index 09d8ad047..000000000
--- a/target/linux/patches/4.19.99/fec-coldfire.patch
+++ /dev/null
@@ -1,118 +0,0 @@
-diff -Nur linux-4.19.75.orig/drivers/net/ethernet/freescale/fec_main.c linux-4.19.75/drivers/net/ethernet/freescale/fec_main.c
---- linux-4.19.75.orig/drivers/net/ethernet/freescale/fec_main.c 2019-09-21 07:17:15.000000000 +0200
-+++ linux-4.19.75/drivers/net/ethernet/freescale/fec_main.c 2019-10-10 01:17:45.284188283 +0200
-@@ -156,7 +156,7 @@
- module_param_array(macaddr, byte, NULL, 0);
- MODULE_PARM_DESC(macaddr, "FEC Ethernet MAC address");
-
--#if defined(CONFIG_M5272)
-+#if defined(CONFIG_COLDFIRE)
- /*
- * Some hardware gets it MAC address out of local flash memory.
- * if this is non-zero then assume it is the address to get MAC from.
-@@ -174,7 +174,7 @@
- #else
- #define FEC_FLASHMAC 0
- #endif
--#endif /* CONFIG_M5272 */
-+#endif /* CONFIG_COLDFIRE */
-
- /* The FEC stores dest/src/type/vlan, data, and checksum for receive packets.
- *
-@@ -958,7 +958,7 @@
- /* Set MII speed */
- writel(fep->phy_speed, fep->hwp + FEC_MII_SPEED);
-
--#if !defined(CONFIG_M5272)
-+#if !defined(CONFIG_COLDFIRE)
- if (fep->quirks & FEC_QUIRK_HAS_RACC) {
- val = readl(fep->hwp + FEC_RACC);
- /* align IP header */
-@@ -1027,7 +1027,7 @@
- #endif
- }
-
--#if !defined(CONFIG_M5272)
-+#if !defined(CONFIG_COLDFIRE)
- /* enable pause frame*/
- if ((fep->pause_flag & FEC_PAUSE_FLAG_ENABLE) ||
- ((fep->pause_flag & FEC_PAUSE_FLAG_AUTONEG) &&
-@@ -1045,13 +1045,13 @@
- } else {
- rcntl &= ~FEC_ENET_FCE;
- }
--#endif /* !defined(CONFIG_M5272) */
-+#endif /* !defined(CONFIG_COLDFIRE) */
-
- writel(rcntl, fep->hwp + FEC_R_CNTRL);
-
- /* Setup multicast filter. */
- set_multicast_list(ndev);
--#ifndef CONFIG_M5272
-+#ifndef CONFIG_COLDFIRE
- writel(0, fep->hwp + FEC_HASH_TABLE_HIGH);
- writel(0, fep->hwp + FEC_HASH_TABLE_LOW);
- #endif
-@@ -1066,7 +1066,7 @@
- if (fep->bufdesc_ex)
- ecntl |= (1 << 4);
-
--#ifndef CONFIG_M5272
-+#ifndef CONFIG_COLDFIRE
- /* Enable the MIB statistic event counters */
- writel(0 << 31, fep->hwp + FEC_MIB_CTRLSTAT);
- #endif
-@@ -1664,7 +1664,7 @@
- * 3) from flash or fuse (via platform data)
- */
- if (!is_valid_ether_addr(iap)) {
--#ifdef CONFIG_M5272
-+#ifdef CONFIG_COLDFIRE
- if (FEC_FLASHMAC)
- iap = (unsigned char *)FEC_FLASHMAC;
- #else
-@@ -1943,7 +1943,7 @@
- if (fep->quirks & FEC_QUIRK_HAS_GBIT) {
- phy_dev->supported &= PHY_GBIT_FEATURES;
- phy_dev->supported &= ~SUPPORTED_1000baseT_Half;
--#if !defined(CONFIG_M5272)
-+#if !defined(CONFIG_COLDFIRE)
- phy_dev->supported |= SUPPORTED_Pause;
- #endif
- }
-@@ -2199,7 +2199,7 @@
- }
- }
-
--#if !defined(CONFIG_M5272)
-+#if !defined(CONFIG_COLDFIRE)
-
- static void fec_enet_get_pauseparam(struct net_device *ndev,
- struct ethtool_pauseparam *pause)
-@@ -2391,7 +2391,7 @@
- static inline void fec_enet_clear_ethtool_stats(struct net_device *dev)
- {
- }
--#endif /* !defined(CONFIG_M5272) */
-+#endif /* !defined(CONFIG_COLDFIRE) */
-
- /* ITR clock source is enet system clock (clk_ahb).
- * TCTT unit is cycle_ns * 64 cycle
-@@ -2596,7 +2596,7 @@
- .get_link = ethtool_op_get_link,
- .get_coalesce = fec_enet_get_coalesce,
- .set_coalesce = fec_enet_set_coalesce,
--#ifndef CONFIG_M5272
-+#ifndef CONFIG_COLDFIRE
- .get_pauseparam = fec_enet_get_pauseparam,
- .set_pauseparam = fec_enet_set_pauseparam,
- .get_strings = fec_enet_get_strings,
-@@ -3385,7 +3385,7 @@
- fep->num_rx_queues = num_rx_qs;
- fep->num_tx_queues = num_tx_qs;
-
--#if !defined(CONFIG_M5272)
-+#if !defined(CONFIG_COLDFIRE)
- /* default enable pause frame auto negotiation */
- if (fep->quirks & FEC_QUIRK_HAS_GBIT)
- fep->pause_flag |= FEC_PAUSE_FLAG_AUTONEG;
diff --git a/target/linux/patches/4.19.99/or1k-more-ram.patch b/target/linux/patches/4.19.99/or1k-more-ram.patch
deleted file mode 100644
index de848c838..000000000
--- a/target/linux/patches/4.19.99/or1k-more-ram.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur linux-4.8.11.orig/arch/openrisc/boot/dts/or1ksim.dts linux-4.8.11/arch/openrisc/boot/dts/or1ksim.dts
---- linux-4.8.11.orig/arch/openrisc/boot/dts/or1ksim.dts 2016-11-26 09:57:13.000000000 +0100
-+++ linux-4.8.11/arch/openrisc/boot/dts/or1ksim.dts 2016-12-04 14:39:46.092952799 +0100
-@@ -11,7 +11,7 @@
-
- memory@0 {
- device_type = "memory";
-- reg = <0x00000000 0x02000000>;
-+ reg = <0x00000000 0x04000000>;
- };
-
- cpus {
diff --git a/target/linux/patches/4.19.99/startup.patch b/target/linux/patches/4.19.99/startup.patch
deleted file mode 100644
index dd27de856..000000000
--- a/target/linux/patches/4.19.99/startup.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -Nur linux-4.17.orig/init/initramfs.c linux-4.17/init/initramfs.c
---- linux-4.17.orig/init/initramfs.c 2018-06-03 23:15:21.000000000 +0200
-+++ linux-4.17/init/initramfs.c 2018-06-10 17:01:16.000000000 +0200
-@@ -659,6 +659,9 @@
- * us a chance to load before device_initcalls.
- */
- load_default_modules();
-+#ifdef CONFIG_DEVTMPFS_MOUNT
-+ devtmpfs_mount("dev");
-+#endif
-
- return 0;
- }
-diff -Nur linux-4.17.orig/init/main.c linux-4.17/init/main.c
---- linux-4.17.orig/init/main.c 2018-06-03 23:15:21.000000000 +0200
-+++ linux-4.17/init/main.c 2018-06-10 17:01:52.000000000 +0200
-@@ -1138,6 +1138,8 @@
- if (ksys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
- pr_err("Warning: unable to open an initial console.\n");
-
-+ printk(KERN_WARNING "Starting Linux (built with OpenADK).\n");
-+
- (void) ksys_dup(0);
- (void) ksys_dup(0);
- /*
-@@ -1146,7 +1148,7 @@
- */
-
- if (!ramdisk_execute_command)
-- ramdisk_execute_command = "/init";
-+ ramdisk_execute_command = "/sbin/init";
-
- if (ksys_access((const char __user *)
- ramdisk_execute_command, 0) != 0) {