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>
This commit is contained in:
parent
7ee5ce75e9
commit
14aa67cbd1
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user