zephyr/drivers/ethernet/Kconfig.liteeth
Ulf Magnusson 378d6b137a kconfig: Replace non-defconfig single-symbol 'if's with 'depends on'
Same deal as in commit eddd98f811 ("kconfig: Replace some single-symbol
'if's with 'depends on'"), for the remaining cases outside defconfig
files. See that commit for an explanation.

Will do the defconfigs separately in case there are any complaints
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-12 10:32:34 -06:00

26 lines
487 B
Plaintext

# Copyright (c) 2019 Antmicro
# SPDX-License-Identifier: Apache-2.0
menuconfig ETH_LITEETH
bool "LiteEth Ethernet core driver"
config ETH_LITEETH_0
bool "LiteEth Ethernet port 0"
depends on ETH_LITEETH
if ETH_LITEETH_0
config ETH_LITEETH_0_IRQ_PRI
int "LiteEth interrupt priority"
default 0
help
IRQ priority
config ETH_LITEETH_0_RANDOM_MAC
bool "Random MAC address"
depends on ENTROPY_GENERATOR
help
Generate a random MAC address dynamically.
endif # ETH_LITEETH_0