summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2016-10-11 10:59:51 +0100
committerAnas Nashif <nashif@linux.intel.com>2016-10-15 16:44:06 +0000
commit14aa67cbd1f2870580ac3fea859c839bbdc24b7f (patch)
treeaf0c113c24b1e67c2762ead8d70daec53c2f85a8 /arch
parent7ee5ce75e9283f9a30f978613de4d496e1c4e0e2 (diff)
board: Enable ETH_DW for quark_x1000 if ETHERNET is enabled.
There is a convention in the soc implementation for other (non-ethernet) classes of driver that enabling a generic driver has the effect of enabling the specific flavour of driver required for the board. Extend this convention such that when ETHERNET is enabled, the quark_x1000 enables the DW ethernet driver. Change-Id: I525471d259c9582024cd44d6cc4557260abe6451 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series b/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series
index 0f19590f9..951c2e3aa 100644
--- a/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series
+++ b/arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series
@@ -244,6 +244,10 @@ endif # UART_NS16550_PORT_1
endif # UART_NS16550
+if ETHERNET
+config ETH_DW
+ def_bool y
+
if ETH_DW
config ETH_DW_0
@@ -258,6 +262,8 @@ endif # ETH_DW_0
endif # ETH_DW
+endif # ETHERNET
+
# Pin multiplexer uses PCAL9535A, needs to be initialized after it
config PINMUX_INIT_PRIORITY
default 80 if PINMUX