Commit 5d9bf433 authored by Yangbo Lu's avatar Yangbo Lu Committed by David S. Miller

net: dpaa2: improve PTP Kconfig option

Converted to use "imply" instead of "select" for PTP_1588_CLOCK
driver selecting. This could break the hard dependency between
the PTP clock subsystem and ethernet drivers.
This patch also set "default y" for dpaa2 ptp driver building to
provide user an available ptp clock in default.
Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8fb18be9
...@@ -9,8 +9,9 @@ config FSL_DPAA2_ETH ...@@ -9,8 +9,9 @@ config FSL_DPAA2_ETH
config FSL_DPAA2_PTP_CLOCK config FSL_DPAA2_PTP_CLOCK
tristate "Freescale DPAA2 PTP Clock" tristate "Freescale DPAA2 PTP Clock"
depends on FSL_DPAA2_ETH && POSIX_TIMERS depends on FSL_DPAA2_ETH
select PTP_1588_CLOCK imply PTP_1588_CLOCK
default y
help help
This driver adds support for using the DPAA2 1588 timer module This driver adds support for using the DPAA2 1588 timer module
as a PTP clock. as a PTP clock.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment