summaryrefslogtreecommitdiffstats
path: root/drivers/ptp/Makefile
diff options
context:
space:
mode:
authorYangbo Lu2018-05-25 06:40:34 +0200
committerDavid S. Miller2018-05-29 05:05:11 +0200
commitceefc71d4c055dab2bba2d2bfa6e7c2855154a24 (patch)
treea69ac99896fa84fa5218542b83d6d7ab8297490b /drivers/ptp/Makefile
parentifb: fix packets checksum (diff)
downloadkernel-qcow2-linux-ceefc71d4c055dab2bba2d2bfa6e7c2855154a24.tar.gz
kernel-qcow2-linux-ceefc71d4c055dab2bba2d2bfa6e7c2855154a24.tar.xz
kernel-qcow2-linux-ceefc71d4c055dab2bba2d2bfa6e7c2855154a24.zip
ptp: rework gianfar_ptp as QorIQ common PTP driver
gianfar_ptp was the PTP clock driver for 1588 timer module of Freescale QorIQ eTSEC (Enhanced Three-Speed Ethernet Controllers) platforms. Actually QorIQ DPAA (Data Path Acceleration Architecture) platforms is also using the same 1588 timer module in hardware. This patch is to rework gianfar_ptp as QorIQ common PTP driver to support both DPAA and eTSEC. Moved gianfar_ptp.c to drivers/ptp/, renamed it as ptp_qoriq.c, and renamed many variables. There were not any function changes. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/Makefile')
-rw-r--r--drivers/ptp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ptp/Makefile b/drivers/ptp/Makefile
index fd28207f5379..19efa9cfa950 100644
--- a/drivers/ptp/Makefile
+++ b/drivers/ptp/Makefile
@@ -9,3 +9,4 @@ obj-$(CONFIG_PTP_1588_CLOCK_DTE) += ptp_dte.o
obj-$(CONFIG_PTP_1588_CLOCK_IXP46X) += ptp_ixp46x.o
obj-$(CONFIG_PTP_1588_CLOCK_PCH) += ptp_pch.o
obj-$(CONFIG_PTP_1588_CLOCK_KVM) += ptp_kvm.o
+obj-$(CONFIG_PTP_1588_CLOCK_QORIQ) += ptp_qoriq.o