mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
cddd459140
Add patches for linux-5.4. The patches are from NXP LSDK-20.04 release which was tagged LSDK-20.04-V5.4. https://source.codeaurora.org/external/qoriq/qoriq-components/linux/ For boards LS1021A-IOT, and Traverse-LS1043 which are not involved in LSDK, port the dts patches from 4.14. The patches are sorted into the following categories: 301-arch-xxxx 302-dts-xxxx 303-core-xxxx 701-net-xxxx 801-audio-xxxx 802-can-xxxx 803-clock-xxxx 804-crypto-xxxx 805-display-xxxx 806-dma-xxxx 807-gpio-xxxx 808-i2c-xxxx 809-jailhouse-xxxx 810-keys-xxxx 811-kvm-xxxx 812-pcie-xxxx 813-pm-xxxx 814-qe-xxxx 815-sata-xxxx 816-sdhc-xxxx 817-spi-xxxx 818-thermal-xxxx 819-uart-xxxx 820-usb-xxxx 821-vfio-xxxx Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
82 lines
2.6 KiB
Diff
82 lines
2.6 KiB
Diff
From 1a1f2bd221d72f8e4fcb66b6b6763a158965f746 Mon Sep 17 00:00:00 2001
|
|
From: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
|
Date: Mon, 11 Sep 2017 16:10:58 +0300
|
|
Subject: [PATCH] sdk_fman: resolve arm32 compilation issues for linux-4.13
|
|
|
|
Signed-off-by: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
|
|
---
|
|
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c | 2 ++
|
|
.../ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c | 2 ++
|
|
.../ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c | 2 ++
|
|
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c | 2 ++
|
|
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c | 2 ++
|
|
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c | 2 ++
|
|
6 files changed, 12 insertions(+)
|
|
|
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c
|
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c
|
|
@@ -31,6 +31,8 @@
|
|
*/
|
|
|
|
|
|
+#include "std_ext.h"
|
|
+#include "error_ext.h"
|
|
#include "fsl_fman_dtsec.h"
|
|
|
|
|
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c
|
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c
|
|
@@ -31,6 +31,8 @@
|
|
*/
|
|
|
|
|
|
+#include "std_ext.h"
|
|
+#include "error_ext.h"
|
|
#include "common/general.h"
|
|
#include "fsl_fman_dtsec_mii_acc.h"
|
|
|
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c
|
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c
|
|
@@ -31,6 +31,8 @@
|
|
*/
|
|
|
|
|
|
+#include "std_ext.h"
|
|
+#include "error_ext.h"
|
|
#include "fsl_fman_memac_mii_acc.h"
|
|
|
|
static void write_phy_reg_10g(struct memac_mii_access_mem_map *mii_regs,
|
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c
|
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c
|
|
@@ -30,6 +30,8 @@
|
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
+#include "std_ext.h"
|
|
+#include "error_ext.h"
|
|
#include "fsl_fman_kg.h"
|
|
|
|
/****************************************/
|
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c
|
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c
|
|
@@ -31,6 +31,8 @@
|
|
*/
|
|
|
|
|
|
+#include "std_ext.h"
|
|
+#include "error_ext.h"
|
|
#include "common/general.h"
|
|
|
|
#include "fman_common.h"
|
|
--- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c
|
|
+++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c
|
|
@@ -31,6 +31,8 @@
|
|
*/
|
|
|
|
|
|
+#include "std_ext.h"
|
|
+#include "error_ext.h"
|
|
#include <linux/math64.h>
|
|
#include "fsl_fman.h"
|
|
#include "dpaa_integration_ext.h"
|