mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-16 11:52:48 +00:00
Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though. Also replace some config prompt "foo" bool/int with the more common shorthand config bool/int "foo" See the 'Style recommendations and shorthands' section in https://docs.zephyrproject.org/latest/guides/kconfig/index.html. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
29 lines
502 B
Plaintext
29 lines
502 B
Plaintext
# Copyright (c) 2019 Antmicro
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig ETH_LITEETH
|
|
bool "LiteEth Ethernet core driver"
|
|
|
|
if ETH_LITEETH
|
|
|
|
config ETH_LITEETH_0
|
|
bool "LiteEth Ethernet port 0"
|
|
|
|
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
|
|
|
|
endif # ETH_LITEETH
|