From: Frank Li Date: Tue, 6 Nov 2012 20:14:43 +0000 (+0000) Subject: net: fec: default select FEC_PTP at mx6 platform X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0f2f7a40f9ae91b9e837c3cd2cacd7f46c168eb1;p=openwrt%2Fstaging%2Fblogic.git net: fec: default select FEC_PTP at mx6 platform Remove PPS. Limit FEC_PTP option for i.MX chip only. FEC_PTP default is on at mx6 platform. Signed-off-by: Frank Li Acked-by: Richard Cochran Acked-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig index ff3be53d0169..5ba6e1cbd346 100644 --- a/drivers/net/ethernet/freescale/Kconfig +++ b/drivers/net/ethernet/freescale/Kconfig @@ -94,9 +94,9 @@ config GIANFAR config FEC_PTP bool "PTP Hardware Clock (PHC)" - depends on FEC - select PPS + depends on FEC && ARCH_MXC select PTP_1588_CLOCK + default y if SOC_IMX6Q --help--- Say Y here if you want to use PTP Hardware Clock (PHC) in the driver. Only the basic clock operations have been implemented.