openwrtv4/package/boot/uboot-layerscape/patches/0052-Add-Freescale-Copyright-in-PPFE-driver.patch
Yutang Jiang 15a14cf166 layerscape: add 64b/32b target for ls1012ardb device
The QorIQ LS1012A processor, optimized for battery-backed or
USB-powered, integrates a single ARM Cortex-A53 core with a hardware
packet forwarding engine and high-speed interfaces to deliver
line-rate networking performance.
QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance
development platform, with a complete debugging environment.
The LS1012ARDB board supports the QorIQ LS1012A processor and is
optimized to support the high-bandwidth DDR3L memory and
a full complement of high-speed SerDes ports.

LEDE/OPENWRT will auto strip executable program file while make. So we
need select CONFIG_NO_STRIP=y while make menuconfig to avoid the ppfe network
fiemware be destroyed, then run make to build ls1012ardb firmware.

The fsl-quadspi flash with jffs2 fs is unstable and arise some failed message.
This issue have noticed the IP owner for investigate, hope he can solve it
earlier. So the ls1012ardb now also provide a xx-firmware.ext4.bin as default
firmware, and the uboot bootcmd will run wrtboot_ext4rfs for "rootfstype=ext4"
bootargs.

Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
2016-10-31 17:00:10 +01:00

688 lines
21 KiB
Diff

From e6ab05ee921fe2c8ae2dabdd5c1f27e2ff2446cb Mon Sep 17 00:00:00 2001
From: Bhaskar Upadhaya <Bhaskar.Upadhaya@freescale.com>
Date: Mon, 13 Jun 2016 07:37:52 +0530
Subject: [PATCH 52/93] Add Freescale Copyright in PPFE driver
Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@freescale.com>
---
board/freescale/ls1012ardb/eth.c | 2 +-
common/cmd_gemac_stat.c | 25 ++++---------------------
common/cmd_pfe_commands.c | 25 ++++---------------------
drivers/net/pfe_eth/Makefile | 4 ++++
drivers/net/pfe_eth/hal.h | 26 ++++----------------------
drivers/net/pfe_eth/pfe.c | 5 +++++
drivers/net/pfe_eth/pfe/cbus.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/bmu.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/class_csr.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/emac.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/gpi.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/gpt.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/hif.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/hif_nocpy.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/tmu_csr.h | 5 +++++
drivers/net/pfe_eth/pfe/cbus/util_csr.h | 5 +++++
drivers/net/pfe_eth/pfe/class.h | 5 +++++
drivers/net/pfe_eth/pfe/class/ccu.h | 5 +++++
drivers/net/pfe_eth/pfe/class/efet.h | 5 +++++
drivers/net/pfe_eth/pfe/class/mac_hash.h | 5 +++++
drivers/net/pfe_eth/pfe/class/perg.h | 5 +++++
drivers/net/pfe_eth/pfe/class/vlan_hash.h | 5 +++++
drivers/net/pfe_eth/pfe/gpt.h | 5 +++++
drivers/net/pfe_eth/pfe/pe.h | 5 +++++
drivers/net/pfe_eth/pfe/pfe.h | 5 +++++
drivers/net/pfe_eth/pfe/tmu.h | 5 +++++
drivers/net/pfe_eth/pfe/tmu/phy_queue.h | 5 +++++
drivers/net/pfe_eth/pfe/tmu/sched.h | 5 +++++
drivers/net/pfe_eth/pfe/tmu/shaper.h | 5 +++++
drivers/net/pfe_eth/pfe/uart.h | 5 +++++
drivers/net/pfe_eth/pfe/util/eape.h | 5 +++++
drivers/net/pfe_eth/pfe/util/efet.h | 5 +++++
drivers/net/pfe_eth/pfe/util/inq.h | 5 +++++
drivers/net/pfe_eth/pfe_driver.c | 27 ++++-----------------------
drivers/net/pfe_eth/pfe_driver.h | 26 ++++----------------------
drivers/net/pfe_eth/pfe_eth.c | 5 +++++
drivers/net/pfe_eth/pfe_eth.h | 26 ++++----------------------
drivers/net/pfe_eth/pfe_firmware.c | 6 +++++-
drivers/net/pfe_eth/pfe_firmware.h | 6 +++++-
39 files changed, 184 insertions(+), 134 deletions(-)
diff --git a/board/freescale/ls1012ardb/eth.c b/board/freescale/ls1012ardb/eth.c
index 7b0e450..34ba56d 100644
--- a/board/freescale/ls1012ardb/eth.c
+++ b/board/freescale/ls1012ardb/eth.c
@@ -1,7 +1,7 @@
/*
* Copyright 2016 Freescale Semiconductor, Inc.
*
- * SPDX-License-Identifier: GPL-2.0+
+ * SPDX-License-Identifier:GPL-2.0+
*/
#include <common.h>
diff --git a/common/cmd_gemac_stat.c b/common/cmd_gemac_stat.c
index 49bb1aa..fb621a2 100644
--- a/common/cmd_gemac_stat.c
+++ b/common/cmd_gemac_stat.c
@@ -1,25 +1,8 @@
/*
- * (C) Copyright 2003
- * Author : Laurent Brando (Mindspeed Technologies)
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
/**
* @file
diff --git a/common/cmd_pfe_commands.c b/common/cmd_pfe_commands.c
index 84999a6..92917e0 100644
--- a/common/cmd_pfe_commands.c
+++ b/common/cmd_pfe_commands.c
@@ -1,25 +1,8 @@
/*
- * (C) Copyright 2012
- * Author : Bill Westland (Mindspeed Technologies)
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
/**
* @file
diff --git a/drivers/net/pfe_eth/Makefile b/drivers/net/pfe_eth/Makefile
index 1af837d..bc45d8f 100644
--- a/drivers/net/pfe_eth/Makefile
+++ b/drivers/net/pfe_eth/Makefile
@@ -1 +1,5 @@
+# Copyright (C) 2016 Freescale Semiconductor Inc.
+#
+# SPDX-License-Identifier:GPL-2.0+
+
obj-y += pfe_eth.o pfe_firmware.o pfe.o pfe_driver.o
diff --git a/drivers/net/pfe_eth/hal.h b/drivers/net/pfe_eth/hal.h
index e795fe6..ff510ac 100644
--- a/drivers/net/pfe_eth/hal.h
+++ b/drivers/net/pfe_eth/hal.h
@@ -1,26 +1,8 @@
/*
- * (C) Copyright 2011
- * Author : Mindspeed Technologes
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- * */
-
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _HAL_H_
#define _HAL_H_
diff --git a/drivers/net/pfe_eth/pfe.c b/drivers/net/pfe_eth/pfe.c
index 94cfe4e..68cf23a 100644
--- a/drivers/net/pfe_eth/pfe.c
+++ b/drivers/net/pfe_eth/pfe.c
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#include "hal.h"
#include "pfe/pfe.h"
diff --git a/drivers/net/pfe_eth/pfe/cbus.h b/drivers/net/pfe_eth/pfe/cbus.h
index 778fe45..d46a765 100644
--- a/drivers/net/pfe_eth/pfe/cbus.h
+++ b/drivers/net/pfe_eth/pfe/cbus.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _CBUS_H_
#define _CBUS_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/bmu.h b/drivers/net/pfe_eth/pfe/cbus/bmu.h
index f3e5e6d..fd37570 100644
--- a/drivers/net/pfe_eth/pfe/cbus/bmu.h
+++ b/drivers/net/pfe_eth/pfe/cbus/bmu.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _BMU_H_
#define _BMU_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/class_csr.h b/drivers/net/pfe_eth/pfe/cbus/class_csr.h
index f3151ec..4c2c3fa 100644
--- a/drivers/net/pfe_eth/pfe/cbus/class_csr.h
+++ b/drivers/net/pfe_eth/pfe/cbus/class_csr.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _CLASS_CSR_H_
#define _CLASS_CSR_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/emac.h b/drivers/net/pfe_eth/pfe/cbus/emac.h
index 1f308ce..aead064 100644
--- a/drivers/net/pfe_eth/pfe/cbus/emac.h
+++ b/drivers/net/pfe_eth/pfe/cbus/emac.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _EMAC_H_
#define _EMAC_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/gpi.h b/drivers/net/pfe_eth/pfe/cbus/gpi.h
index d2d165f..7792d6c 100644
--- a/drivers/net/pfe_eth/pfe/cbus/gpi.h
+++ b/drivers/net/pfe_eth/pfe/cbus/gpi.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _GPI_H_
#define _GPI_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/gpt.h b/drivers/net/pfe_eth/pfe/cbus/gpt.h
index f8c114b..0ec5fdc 100644
--- a/drivers/net/pfe_eth/pfe/cbus/gpt.h
+++ b/drivers/net/pfe_eth/pfe/cbus/gpt.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _CBUS_GPT_H_
#define _CBUS_GPT_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/hif.h b/drivers/net/pfe_eth/pfe/cbus/hif.h
index 2329faa..45bc0b2 100644
--- a/drivers/net/pfe_eth/pfe/cbus/hif.h
+++ b/drivers/net/pfe_eth/pfe/cbus/hif.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _HIF_H_
#define _HIF_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/hif_nocpy.h b/drivers/net/pfe_eth/pfe/cbus/hif_nocpy.h
index 93cb946..55ddc8c 100644
--- a/drivers/net/pfe_eth/pfe/cbus/hif_nocpy.h
+++ b/drivers/net/pfe_eth/pfe/cbus/hif_nocpy.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _HIF_NOCPY_H_
#define _HIF_NOCPY_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/tmu_csr.h b/drivers/net/pfe_eth/pfe/cbus/tmu_csr.h
index 64fad04..058874e 100644
--- a/drivers/net/pfe_eth/pfe/cbus/tmu_csr.h
+++ b/drivers/net/pfe_eth/pfe/cbus/tmu_csr.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _TMU_CSR_H_
#define _TMU_CSR_H_
diff --git a/drivers/net/pfe_eth/pfe/cbus/util_csr.h b/drivers/net/pfe_eth/pfe/cbus/util_csr.h
index d67e849..14079db 100644
--- a/drivers/net/pfe_eth/pfe/cbus/util_csr.h
+++ b/drivers/net/pfe_eth/pfe/cbus/util_csr.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _UTIL_CSR_H_
#define _UTIL_CSR_H_
diff --git a/drivers/net/pfe_eth/pfe/class.h b/drivers/net/pfe_eth/pfe/class.h
index 33ad826..87b1399 100644
--- a/drivers/net/pfe_eth/pfe/class.h
+++ b/drivers/net/pfe_eth/pfe/class.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _CLASS_H_
#define _CLASS_H_
diff --git a/drivers/net/pfe_eth/pfe/class/ccu.h b/drivers/net/pfe_eth/pfe/class/ccu.h
index 2c43d97..605ac16 100644
--- a/drivers/net/pfe_eth/pfe/class/ccu.h
+++ b/drivers/net/pfe_eth/pfe/class/ccu.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _CCU_H_
#define _CCU_H_
diff --git a/drivers/net/pfe_eth/pfe/class/efet.h b/drivers/net/pfe_eth/pfe/class/efet.h
index 4f3cc25..7ef2978 100644
--- a/drivers/net/pfe_eth/pfe/class/efet.h
+++ b/drivers/net/pfe_eth/pfe/class/efet.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _CLASS_EFET_H_
#define _CLASS_EFET_H_
diff --git a/drivers/net/pfe_eth/pfe/class/mac_hash.h b/drivers/net/pfe_eth/pfe/class/mac_hash.h
index 68023b4..ca24ca5 100644
--- a/drivers/net/pfe_eth/pfe/class/mac_hash.h
+++ b/drivers/net/pfe_eth/pfe/class/mac_hash.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _MAC_HASH_H_
#define _MAC_HASH_H_
diff --git a/drivers/net/pfe_eth/pfe/class/perg.h b/drivers/net/pfe_eth/pfe/class/perg.h
index 7297171..dbb5a3b 100644
--- a/drivers/net/pfe_eth/pfe/class/perg.h
+++ b/drivers/net/pfe_eth/pfe/class/perg.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _PERG_H_
#define _PERG_H_
diff --git a/drivers/net/pfe_eth/pfe/class/vlan_hash.h b/drivers/net/pfe_eth/pfe/class/vlan_hash.h
index a54ac19..cdad97c 100644
--- a/drivers/net/pfe_eth/pfe/class/vlan_hash.h
+++ b/drivers/net/pfe_eth/pfe/class/vlan_hash.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _VLAN_HASH_H_
#define _VLAN_HASH_H_
diff --git a/drivers/net/pfe_eth/pfe/gpt.h b/drivers/net/pfe_eth/pfe/gpt.h
index d820277..6fce042 100644
--- a/drivers/net/pfe_eth/pfe/gpt.h
+++ b/drivers/net/pfe_eth/pfe/gpt.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _GPT_H_
#define _GPT_H_
diff --git a/drivers/net/pfe_eth/pfe/pe.h b/drivers/net/pfe_eth/pfe/pe.h
index a3838f5..ac8cbf2 100644
--- a/drivers/net/pfe_eth/pfe/pe.h
+++ b/drivers/net/pfe_eth/pfe/pe.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _PE_H_
#define _PE_H_
diff --git a/drivers/net/pfe_eth/pfe/pfe.h b/drivers/net/pfe_eth/pfe/pfe.h
index 9445155..ac1ecb8 100644
--- a/drivers/net/pfe_eth/pfe/pfe.h
+++ b/drivers/net/pfe_eth/pfe/pfe.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _PFE_H_
#define _PFE_H_
diff --git a/drivers/net/pfe_eth/pfe/tmu.h b/drivers/net/pfe_eth/pfe/tmu.h
index 12eaf12..dd697be 100644
--- a/drivers/net/pfe_eth/pfe/tmu.h
+++ b/drivers/net/pfe_eth/pfe/tmu.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _TMU_H_
#define _TMU_H_
diff --git a/drivers/net/pfe_eth/pfe/tmu/phy_queue.h b/drivers/net/pfe_eth/pfe/tmu/phy_queue.h
index 9eef9a9..b9a0925 100644
--- a/drivers/net/pfe_eth/pfe/tmu/phy_queue.h
+++ b/drivers/net/pfe_eth/pfe/tmu/phy_queue.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _PHY_QUEUE_H_
#define _PHY_QUEUE_H_
diff --git a/drivers/net/pfe_eth/pfe/tmu/sched.h b/drivers/net/pfe_eth/pfe/tmu/sched.h
index 0c741cc..954dc8f 100644
--- a/drivers/net/pfe_eth/pfe/tmu/sched.h
+++ b/drivers/net/pfe_eth/pfe/tmu/sched.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _SCHED_H_
#define _SCHED_H_
diff --git a/drivers/net/pfe_eth/pfe/tmu/shaper.h b/drivers/net/pfe_eth/pfe/tmu/shaper.h
index 76315f3..81c367d 100644
--- a/drivers/net/pfe_eth/pfe/tmu/shaper.h
+++ b/drivers/net/pfe_eth/pfe/tmu/shaper.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _SHAPER_H_
#define _SHAPER_H_
diff --git a/drivers/net/pfe_eth/pfe/uart.h b/drivers/net/pfe_eth/pfe/uart.h
index 483d446..2268430 100644
--- a/drivers/net/pfe_eth/pfe/uart.h
+++ b/drivers/net/pfe_eth/pfe/uart.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _UART_H_
#define _UART_H_
diff --git a/drivers/net/pfe_eth/pfe/util/eape.h b/drivers/net/pfe_eth/pfe/util/eape.h
index 07344dc..77af2d4 100644
--- a/drivers/net/pfe_eth/pfe/util/eape.h
+++ b/drivers/net/pfe_eth/pfe/util/eape.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _EAPE_H_
#define _EAPE_H_
diff --git a/drivers/net/pfe_eth/pfe/util/efet.h b/drivers/net/pfe_eth/pfe/util/efet.h
index 12d0310..eed87fe 100644
--- a/drivers/net/pfe_eth/pfe/util/efet.h
+++ b/drivers/net/pfe_eth/pfe/util/efet.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _UTIL_EFET_H_
#define _UTIL_EFET_H_
diff --git a/drivers/net/pfe_eth/pfe/util/inq.h b/drivers/net/pfe_eth/pfe/util/inq.h
index 73d1acb..7ee008b 100644
--- a/drivers/net/pfe_eth/pfe/util/inq.h
+++ b/drivers/net/pfe_eth/pfe/util/inq.h
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _INQ_H_
#define _INQ_H_
diff --git a/drivers/net/pfe_eth/pfe_driver.c b/drivers/net/pfe_eth/pfe_driver.c
index 2f4c385..e252fcf 100644
--- a/drivers/net/pfe_eth/pfe_driver.c
+++ b/drivers/net/pfe_eth/pfe_driver.c
@@ -1,27 +1,8 @@
/*
- * (C) Copyright 2011
- * Author : Mindspeed Technologes
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- * */
-
-
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#include "hal.h"
#include "pfe/pfe.h"
#include "pfe_driver.h"
diff --git a/drivers/net/pfe_eth/pfe_driver.h b/drivers/net/pfe_eth/pfe_driver.h
index 4d2e8b6..2ef8e5c 100644
--- a/drivers/net/pfe_eth/pfe_driver.h
+++ b/drivers/net/pfe_eth/pfe_driver.h
@@ -1,26 +1,8 @@
/*
- * (C) Copyright 2011
- * Author : Mindspeed Technologes
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- * */
-
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef __PFE_DRIVER_H__
#define __PFE_DRIVER_H__
diff --git a/drivers/net/pfe_eth/pfe_eth.c b/drivers/net/pfe_eth/pfe_eth.c
index 4a935ca..528ede9 100644
--- a/drivers/net/pfe_eth/pfe_eth.c
+++ b/drivers/net/pfe_eth/pfe_eth.c
@@ -1,3 +1,8 @@
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#include <common.h>
#include <config.h>
//#include <asm/arch/hardware.h>
diff --git a/drivers/net/pfe_eth/pfe_eth.h b/drivers/net/pfe_eth/pfe_eth.h
index af6191d..358fa58 100644
--- a/drivers/net/pfe_eth/pfe_eth.h
+++ b/drivers/net/pfe_eth/pfe_eth.h
@@ -1,26 +1,8 @@
/*
- * (C) Copyright 2011
- * Author : Mindspeed Technologes
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- * */
-
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
#ifndef _LS1012a_ETH_H_
#define _LS1012a_ETH_H_
diff --git a/drivers/net/pfe_eth/pfe_firmware.c b/drivers/net/pfe_eth/pfe_firmware.c
index 5957afd..e190514 100644
--- a/drivers/net/pfe_eth/pfe_firmware.c
+++ b/drivers/net/pfe_eth/pfe_firmware.c
@@ -1,4 +1,8 @@
-
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
/** @file
* Contains all the functions to handle parsing and loading of PE firmware files.
diff --git a/drivers/net/pfe_eth/pfe_firmware.h b/drivers/net/pfe_eth/pfe_firmware.h
index 2823162..ecae3e3 100644
--- a/drivers/net/pfe_eth/pfe_firmware.h
+++ b/drivers/net/pfe_eth/pfe_firmware.h
@@ -1,4 +1,8 @@
-
+/*
+* Copyright (C) 2016 Freescale Semiconductor Inc.
+*
+* SPDX-License-Identifier:GPL-2.0+
+*/
/** @file
* Contains all the defines to handle parsing and loading of PE firmware files.
--
1.7.9.5