build/Kconfig: fix warnings detected by kconfiglib

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an
2023-02-09 16:01:01 +08:00
committed by Xiang Xiao
parent 3a0fdb019d
commit e942a7c55e
28 changed files with 46 additions and 67 deletions
+5 -5
View File
@@ -60,7 +60,7 @@ config ARCH_CHIP_A1X
select ARCH_HAVE_LOWVECTORS select ARCH_HAVE_LOWVECTORS
select ARCH_HAVE_FETCHADD select ARCH_HAVE_FETCHADD
select ARCH_HAVE_SDRAM select ARCH_HAVE_SDRAM
select BOOT_RUNFROMSDRAM depends on BOOT_RUNFROMSDRAM
select ARCH_HAVE_ADDRENV select ARCH_HAVE_ADDRENV
select ARCH_NEED_ADDRENV_MAPPING select ARCH_NEED_ADDRENV_MAPPING
---help--- ---help---
@@ -74,7 +74,7 @@ config ARCH_CHIP_AM335X
select ARCH_HAVE_LOWVECTORS select ARCH_HAVE_LOWVECTORS
select ARCH_HAVE_FETCHADD select ARCH_HAVE_FETCHADD
select ARCH_HAVE_SDRAM select ARCH_HAVE_SDRAM
select BOOT_RUNFROMSDRAM depends on BOOT_RUNFROMSDRAM
select ARCH_HAVE_ADDRENV select ARCH_HAVE_ADDRENV
select ARCH_NEED_ADDRENV_MAPPING select ARCH_NEED_ADDRENV_MAPPING
---help--- ---help---
@@ -144,7 +144,7 @@ config ARCH_CHIP_IMX6
select ARCH_HAVE_LOWVECTORS select ARCH_HAVE_LOWVECTORS
select ARCH_HAVE_FETCHADD select ARCH_HAVE_FETCHADD
select ARCH_HAVE_SDRAM select ARCH_HAVE_SDRAM
select BOOT_RUNFROMSDRAM depends on BOOT_RUNFROMSDRAM
select ARCH_HAVE_ADDRENV select ARCH_HAVE_ADDRENV
select ARCH_NEED_ADDRENV_MAPPING select ARCH_NEED_ADDRENV_MAPPING
---help--- ---help---
@@ -1358,7 +1358,7 @@ if ARCH_CHIP_S32K1XX
source "arch/arm/src/s32k1xx/Kconfig" source "arch/arm/src/s32k1xx/Kconfig"
endif endif
if ARCH_CHIP_S32K3XX if ARCH_CHIP_S32K3XX
source arch/arm/src/s32k3xx/Kconfig source "arch/arm/src/s32k3xx/Kconfig"
endif endif
if ARCH_CHIP_MAX326XX if ARCH_CHIP_MAX326XX
source "arch/arm/src/max326xx/Kconfig" source "arch/arm/src/max326xx/Kconfig"
@@ -1415,7 +1415,7 @@ if ARCH_CHIP_STM32U5
source "arch/arm/src/stm32u5/Kconfig" source "arch/arm/src/stm32u5/Kconfig"
endif endif
if ARCH_CHIP_STM32WB if ARCH_CHIP_STM32WB
source arch/arm/src/stm32wb/Kconfig source "arch/arm/src/stm32wb/Kconfig"
endif endif
if ARCH_CHIP_STM32WL5 if ARCH_CHIP_STM32WL5
source "arch/arm/src/stm32wl5/Kconfig" source "arch/arm/src/stm32wl5/Kconfig"
+2 -2
View File
@@ -308,14 +308,14 @@ choice
config LEUART0_SERIAL_CONSOLE config LEUART0_SERIAL_CONSOLE
bool "Use LEUART0 as the serial console" bool "Use LEUART0 as the serial console"
depends on EFM32_LEUART0 depends on EFM32_LEUART0
select OTHER_SERIAL_CONSOLE depends on OTHER_SERIAL_CONSOLE
---help--- ---help---
Use the LEUART0 device as the serial console Use the LEUART0 device as the serial console
config LEUART1_SERIAL_CONSOLE config LEUART1_SERIAL_CONSOLE
bool "Use LEUART1 as the serial console" bool "Use LEUART1 as the serial console"
depends on EFM32_LEUART1 depends on EFM32_LEUART1
select OTHER_SERIAL_CONSOLE depends on OTHER_SERIAL_CONSOLE
---help--- ---help---
Use the LEUART0 device as the serial console Use the LEUART0 device as the serial console
+4 -4
View File
@@ -181,19 +181,19 @@ choice
config IMX6_BOOT_OCRAM config IMX6_BOOT_OCRAM
bool "Running from internal OCRAM" bool "Running from internal OCRAM"
select BOOT_RUNFROMISRAM depends on BOOT_RUNFROMISRAM
config IMX6_BOOT_SDRAM config IMX6_BOOT_SDRAM
bool "Running from external SDRAM" bool "Running from external SDRAM"
select BOOT_RUNFROMSDRAM depends on BOOT_RUNFROMSDRAM
config IMX6_BOOT_NOR config IMX6_BOOT_NOR
bool "Running from external NOR FLASH" bool "Running from external NOR FLASH"
select BOOT_RUNFROMFLASH depends on BOOT_RUNFROMFLASH
config IMX6_BOOT_SRAM config IMX6_BOOT_SRAM
bool "Running from external SRAM" bool "Running from external SRAM"
select BOOT_RUNFROMEXTSRAM depends on BOOT_RUNFROMEXTSRAM
endchoice # i.MX6 Boot Configuration endchoice # i.MX6 Boot Configuration
+5 -5
View File
@@ -1776,7 +1776,7 @@ endchoice # i.MX RT Ethernet Interface
choice choice
prompt "i.MX RT Ethernet TX Clock Source" prompt "i.MX RT Ethernet TX Clock Source"
default IMXRT_PROVIDES_TXC default IMXRT_MAC_PROVIDES_TXC
depends on IMXRT_ENET depends on IMXRT_ENET
config IMXRT_MAC_PROVIDES_TXC config IMXRT_MAC_PROVIDES_TXC
@@ -1892,21 +1892,21 @@ choice
config IMXRT_BOOT_OCRAM config IMXRT_BOOT_OCRAM
bool "Running from internal OCRAM" bool "Running from internal OCRAM"
select BOOT_RUNFROMISRAM depends on BOOT_RUNFROMISRAM
config IMXRT_BOOT_SDRAM config IMXRT_BOOT_SDRAM
bool "Running from external SDRAM" bool "Running from external SDRAM"
select BOOT_RUNFROMSDRAM depends on BOOT_RUNFROMSDRAM
depends on IMXRT_SEMC_SDRAM depends on IMXRT_SEMC_SDRAM
config IMXRT_BOOT_NOR config IMXRT_BOOT_NOR
bool "Running from external NOR FLASH" bool "Running from external NOR FLASH"
select BOOT_RUNFROMFLASH depends on BOOT_RUNFROMFLASH
depends on IMXRT_SEMC_NOR depends on IMXRT_SEMC_NOR
config IMXRT_BOOT_SRAM config IMXRT_BOOT_SRAM
bool "Running from external SRAM" bool "Running from external SRAM"
select BOOT_RUNFROMEXTSRAM depends on BOOT_RUNFROMEXTSRAM
depends on IMXRT_SEMC_SRAM depends on IMXRT_SEMC_SRAM
endchoice # i.MX RT Boot Configuration endchoice # i.MX RT Boot Configuration
+1 -2
View File
@@ -664,8 +664,7 @@ menuconfig NRF52_SOFTDEVICE_CONTROLLER
select ARMV7M_USEBASEPRI select ARMV7M_USEBASEPRI
select ARCH_RAMVECTORS select ARCH_RAMVECTORS
select ARCH_IRQPRIO select ARCH_IRQPRIO
select NRF52_USE_LFCLK depends on NRF52_LFCLK_XTAL
select NRF52_LFCLK_XTAL
---help--- ---help---
This enables use of Nordic SoftDevice controller This enables use of Nordic SoftDevice controller
(SDC). It is a library version of a subset of (SDC). It is a library version of a subset of
+1 -1
View File
@@ -4415,7 +4415,7 @@ if SAMA5_ADC_PWMTRIG
choice choice
prompt "PWM Event Line Selection" prompt "PWM Event Line Selection"
default SAMA5_ADC_PWMTRIG_LINE0 default SAMA5_ADC_PWM_TRIG_LINE0
config SAMA5_ADC_PWM_TRIG_LINE0 config SAMA5_ADC_PWM_TRIG_LINE0
bool "PWM event Line 0" bool "PWM event Line 0"
+1 -1
View File
@@ -2760,7 +2760,7 @@ config STM32_CORDIC
bool "CORDIC Accelerator" bool "CORDIC Accelerator"
default n default n
depends on STM32_HAVE_CORDIC depends on STM32_HAVE_CORDIC
select MATH_CORDIC_USE_Q31 depends on MATH_CORDIC_USE_Q31
config STM32_BKP config STM32_BKP
bool "BKP" bool "BKP"
+1 -1
View File
@@ -63,7 +63,7 @@ menu "Atmel AVR Toolchain options"
config AVR_HAS_MEMX_PTR config AVR_HAS_MEMX_PTR
bool "Enable in-flash static const stings" bool "Enable in-flash static const stings"
depends on AVR_ATMEL_AVR_TOOLCHAIN depends on AVR_ATMEL_AVR_TOOLCHAIN
select ARCH_DEBUG_H depends on ARCH_DEBUG_H
default y default y
---help--- ---help---
Enabling this option (recommended) will place all constant Enabling this option (recommended) will place all constant
+4 -4
View File
@@ -62,9 +62,9 @@ config ARCH_CHIP
default "bm3823" if ARCH_CHIP_BM3823 default "bm3823" if ARCH_CHIP_BM3823
default "s698pm" if ARCH_CHIP_S698PM default "s698pm" if ARCH_CHIP_S698PM
source arch/sparc/src/sparc_v8/Kconfig source "arch/sparc/src/sparc_v8/Kconfig"
source arch/sparc/src/bm3803/Kconfig source "arch/sparc/src/bm3803/Kconfig"
source arch/sparc/src/bm3823/Kconfig source "arch/sparc/src/bm3823/Kconfig"
source arch/sparc/src/s698pm/Kconfig source "arch/sparc/src/s698pm/Kconfig"
endif endif
+2 -2
View File
@@ -88,7 +88,7 @@ endchoice # ZDS-II Toolchain version
config EZ80_BOOTLOADER config EZ80_BOOTLOADER
bool bool
default n default n
select BOOT_RUNFROMFLASH depends on BOOT_RUNFROMFLASH
---help--- ---help---
Binary image is a bootloader that may require special properties Binary image is a bootloader that may require special properties
such as re-direction of interrupts (eZ80F92) such as re-direction of interrupts (eZ80F92)
@@ -96,7 +96,7 @@ config EZ80_BOOTLOADER
config EZ80_PROGRAM config EZ80_PROGRAM
bool bool
default n default n
select BOOT_RUNFROMEXTSRAM depends on BOOT_RUNFROMEXTSRAM
---help--- ---help---
Binary image is a RAM-resident program loaded by a bootloader and Binary image is a RAM-resident program loaded by a bootloader and
may require special properties such as re-direction of interrupts may require special properties such as re-direction of interrupts
+1 -1
View File
@@ -533,7 +533,7 @@ endmenu
choice choice
prompt "Serial console" prompt "Serial console"
default Z180_NO_SERIAL_CONSOLE default Z180_UART0_SERIAL_CONSOLE
depends on DEV_CONSOLE depends on DEV_CONSOLE
config Z180_UART0_SERIAL_CONSOLE config Z180_UART0_SERIAL_CONSOLE
+1 -1
View File
@@ -52,7 +52,7 @@ config Z8_TOOLCHAIN_ZDSII
choice choice
prompt "ZDS-II Toolchain version" prompt "ZDS-II Toolchain version"
default EZ80_ZDSII_V522 default Z8_ZDSII_V522
config Z8_ZDSII_V500 config Z8_ZDSII_V500
bool "ZDS-II 5.0.0" bool "ZDS-II 5.0.0"
+1 -4
View File
@@ -315,9 +315,7 @@ config ARCH_BOARD_TTGO_T5V2_ESP32
select LCD select LCD
select LCD_DEV select LCD_DEV
select LCD_FRAMEBUFFER select LCD_FRAMEBUFFER
select LCD_PORTRAIT
select LCD_SSD1680 select LCD_SSD1680
select LCD_SSD1680_2_90
---help--- ---help---
TTGO T5v2 is an ESP32 board with e-ink 2.9 inch display. TTGO T5v2 is an ESP32 board with e-ink 2.9 inch display.
Display resolution 128/296. More info: Display resolution 128/296. More info:
@@ -1444,7 +1442,7 @@ config ARCH_BOARD_NUCLEO_F446RE
config ARCH_BOARD_STM32G071B_DISCO config ARCH_BOARD_STM32G071B_DISCO
bool "STM32G071 STM32G071B-DISO " bool "STM32G071 STM32G071B-DISO"
depends on ARCH_CHIP_STM32G071RB depends on ARCH_CHIP_STM32G071RB
select ARCH_HAVE_LEDS select ARCH_HAVE_LEDS
---help--- ---help---
@@ -1797,7 +1795,6 @@ config ARCH_BOARD_SAMA5D2_XULT
config ARCH_BOARD_GIANT_BOARD config ARCH_BOARD_GIANT_BOARD
bool "Groboards Giant Board (SAMA5D27C-D1G)" bool "Groboards Giant Board (SAMA5D27C-D1G)"
depends on ARCH_CHIP_ATSAMA5D27 depends on ARCH_CHIP_ATSAMA5D27
select SAMA5D27_GIANT_BOARD_492MHZ
select ARCH_HAVE_LEDS select ARCH_HAVE_LEDS
---help--- ---help---
This options selects support for NuttX on the Groboards Giant Board, This options selects support for NuttX on the Groboards Giant Board,
@@ -36,14 +36,11 @@ config GD32F450ZK_EVAL_CONSOLE_BOARD
bool "Eval Com Connector" bool "Eval Com Connector"
select GD32_USART0 select GD32_USART0
select USART0_SERIALDRIVER select USART0_SERIALDRIVER
select USART0_SERIAL_CONSOLE
select GD32F4_FLASH_CONFIG_K
config GD32F450ZK_EVAL_CONSOLE_VIRTUAL config GD32F450ZK_EVAL_CONSOLE_VIRTUAL
bool "Virtual Comport" bool "Virtual Comport"
select GD32_USART3 select GD32_USART3
select USART3_SERIALDRIVER select USART3_SERIALDRIVER
select USART3_SERIAL_CONSOLE
config GD32F450ZK_EVAL_CONSOLE_NONE config GD32F450ZK_EVAL_CONSOLE_NONE
bool "No Console" bool "No Console"
+1 -1
View File
@@ -7,7 +7,7 @@ if ARCH_BOARD_LX_CPU
choice choice
prompt "LX_CPU ode and boot memory selection" prompt "LX_CPU ode and boot memory selection"
default LX_CPU_BOOT_APP default LX_CPU_BOOT_FLASH_APP
depends on ARCH_BOARD_LX_CPU depends on ARCH_BOARD_LX_CPU
---help--- ---help---
Select where NuttX code/text is stored and how it is started. Select where NuttX code/text is stored and how it is started.
+2 -2
View File
@@ -11,13 +11,13 @@ choice
config METRO_M4_RUNFROMFLASH config METRO_M4_RUNFROMFLASH
bool "Run from FLASH" bool "Run from FLASH"
select BOOT_RUNFROMFLASH depends on BOOT_RUNFROMFLASH
---help--- ---help---
This is the normal configuration for building METRO M4 code. This is the normal configuration for building METRO M4 code.
config METRO_M4_RUNFROMSRAM config METRO_M4_RUNFROMSRAM
bool "Run from SRAM" bool "Run from SRAM"
select BOOT_RUNFROMISRAM depends on BOOT_RUNFROMISRAM
---help--- ---help---
During early bring-up, it is safer to execute entirely from During early bring-up, it is safer to execute entirely from
SRAM until you are confident in the initialization logic. SRAM until you are confident in the initialization logic.
@@ -11,14 +11,14 @@ choice
config SAME54_XPLAINED_PRO_RUNFROMFLASH config SAME54_XPLAINED_PRO_RUNFROMFLASH
bool "Run from FLASH" bool "Run from FLASH"
select BOOT_RUNFROMFLASH depends on BOOT_RUNFROMFLASH
---help--- ---help---
This is the normal configuration for building SAM E54 Xplained This is the normal configuration for building SAM E54 Xplained
Pro code. Pro code.
config SAME54_XPLAINED_PRO_RUNFROMSRAM config SAME54_XPLAINED_PRO_RUNFROMSRAM
bool "Run from SRAM" bool "Run from SRAM"
select BOOT_RUNFROMISRAM depends on BOOT_RUNFROMISRAM
---help--- ---help---
During early bring-up, it is safer to execute entirely from During early bring-up, it is safer to execute entirely from
SRAM until you are confident in the initialization logic. SRAM until you are confident in the initialization logic.
+1 -1
View File
@@ -7,7 +7,7 @@ if ARCH_BOARD_B_G431B_ESC1
choice choice
prompt "PLL clock source" prompt "PLL clock source"
default BOARD_STM32_BG431BESC1_HSI default BOARD_STM32_BG431BESC1_USE_HSI
config BOARD_STM32_BG431BESC1_USE_HSI config BOARD_STM32_BG431BESC1_USE_HSI
bool "HSI" bool "HSI"
-2
View File
@@ -36,13 +36,11 @@ config NUCLEO_F429ZI_CONSOLE_ARDUINO
bool "Arduino Connector" bool "Arduino Connector"
select STM32_USART6 select STM32_USART6
select USART6_SERIALDRIVER select USART6_SERIALDRIVER
select USART6_SERIAL_CONSOLE
config NUCLEO_F429ZI_CONSOLE_VIRTUAL config NUCLEO_F429ZI_CONSOLE_VIRTUAL
bool "Virtual Comport" bool "Virtual Comport"
select STM32_USART3 select STM32_USART3
select USART3_SERIALDRIVER select USART3_SERIALDRIVER
select USART3_SERIAL_CONSOLE
config NUCLEO_F429ZI_CONSOLE_NONE config NUCLEO_F429ZI_CONSOLE_NONE
bool "No Console" bool "No Console"
+1 -1
View File
@@ -7,7 +7,7 @@ if ARCH_BOARD_NUCLEO_G431RB
choice choice
prompt "PLL Clock source" prompt "PLL Clock source"
default BOARD_NUCLEO_G431RB_HSI default BOARD_NUCLEO_G431RB_USE_HSI
config BOARD_NUCLEO_G431RB_USE_HSI config BOARD_NUCLEO_G431RB_USE_HSI
bool "HSI" bool "HSI"
-4
View File
@@ -81,25 +81,21 @@ config NUCLEO_CONSOLE_ARDUINO
bool "Arduino Connector" bool "Arduino Connector"
select STM32F7_USART6 select STM32F7_USART6
select USART6_SERIALDRIVER select USART6_SERIALDRIVER
select USART6_SERIAL_CONSOLE
config NUCLEO_CONSOLE_VIRTUAL config NUCLEO_CONSOLE_VIRTUAL
bool "Virtual Comport" bool "Virtual Comport"
select STM32F7_USART3 select STM32F7_USART3
select USART3_SERIALDRIVER select USART3_SERIALDRIVER
select USART3_SERIAL_CONSOLE
config NUCLEO_CONSOLE_MORPHO config NUCLEO_CONSOLE_MORPHO
bool "Morpho Connector" bool "Morpho Connector"
select STM32F7_UART8 select STM32F7_UART8
select UART8_SERIALDRIVER select UART8_SERIALDRIVER
select UART8_SERIAL_CONSOLE
config NUCLEO_CONSOLE_MORPHO_UART4 config NUCLEO_CONSOLE_MORPHO_UART4
bool "Morpho Connector UART4" bool "Morpho Connector UART4"
select STM32F7_UART4 select STM32F7_UART4
select UART4_SERIALDRIVER select UART4_SERIALDRIVER
select UART4_SERIAL_CONSOLE
config NUCLEO_CONSOLE_NONE config NUCLEO_CONSOLE_NONE
bool "No Console" bool "No Console"
+4 -4
View File
@@ -238,7 +238,7 @@ config ARCH_BOARD_FLASH_PART1_FS
choice choice
prompt "Filesystem of user partition 1" prompt "Filesystem of user partition 1"
default ARCH_BOARD_FLASH_PART1_FS_RAW default ARCH_BOARD_FLASH_PART1_FS_RAWFS
config ARCH_BOARD_FLASH_PART1_FS_RAWFS config ARCH_BOARD_FLASH_PART1_FS_RAWFS
bool "rawfs" bool "rawfs"
@@ -304,7 +304,7 @@ config ARCH_BOARD_FLASH_PART2_FS
choice choice
prompt "Filesystem of user partition 2" prompt "Filesystem of user partition 2"
default ARCH_BOARD_FLASH_PART2_FS_RAW default ARCH_BOARD_FLASH_PART2_FS_RAWFS
config ARCH_BOARD_FLASH_PART2_FS_RAWFS config ARCH_BOARD_FLASH_PART2_FS_RAWFS
bool "rawfs" bool "rawfs"
@@ -347,7 +347,7 @@ config ARCH_BOARD_FLASH_PART3_FS
choice choice
prompt "Filesystem of user partition 3" prompt "Filesystem of user partition 3"
default ARCH_BOARD_FLASH_PART3_FS_RAW default ARCH_BOARD_FLASH_PART3_FS_RAWFS
config ARCH_BOARD_FLASH_PART3_FS_RAWFS config ARCH_BOARD_FLASH_PART3_FS_RAWFS
bool "rawfs" bool "rawfs"
@@ -390,7 +390,7 @@ config ARCH_BOARD_FLASH_PART4_FS
choice choice
prompt "Filesystem of user partition 4" prompt "Filesystem of user partition 4"
default ARCH_BOARD_FLASH_PART4_FS_RAW default ARCH_BOARD_FLASH_PART4_FS_RAWFS
config ARCH_BOARD_FLASH_PART4_FS_RAWFS config ARCH_BOARD_FLASH_PART4_FS_RAWFS
bool "rawfs" bool "rawfs"
+1 -1
View File
@@ -75,7 +75,7 @@ endif # TIVA_TIMER32_PERIODIC
config TM4C1294_LAUNCHPAD_JUMPERS_CAN config TM4C1294_LAUNCHPAD_JUMPERS_CAN
bool "Use CAN jumpers configuration" bool "Use CAN jumpers configuration"
default n default n
select TIVA_UART2 depends on TIVA_UART2
---help--- ---help---
If set, NuttX will assume the jumpers JP4 and JP5 are set in CAN configuration. If set, NuttX will assume the jumpers JP4 and JP5 are set in CAN configuration.
This means UART2 will be connected to the ICDI serial port. This means UART2 will be connected to the ICDI serial port.
+3 -3
View File
@@ -21,7 +21,7 @@ config Z20X_SDBOOT
config Z20X_W25BOOT config Z20X_W25BOOT
bool "W25 boot loader" bool "W25 boot loader"
select Z20X_W25_CHARDEV depends on Z20X_W25_CHARDEV
select LIBC_HEX2BIN select LIBC_HEX2BIN
select EZ80_BOOTLOADER select EZ80_BOOTLOADER
depends on EZ80_SPI && MTD_W25 depends on EZ80_SPI && MTD_W25
@@ -39,14 +39,14 @@ config Z20X_PROGRAM
config Z20X_STANDALONE config Z20X_STANDALONE
bool "Standalone FLASH progroam" bool "Standalone FLASH progroam"
select BOOT_RUNFROMFLASH depends on BOOT_RUNFROMFLASH
---help--- ---help---
Select this option only to build a small program that executes Select this option only to build a small program that executes
from z20x FLASH memory. from z20x FLASH memory.
config Z20X_COPYTORAM config Z20X_COPYTORAM
bool "Copy to RAM" bool "Copy to RAM"
select BOOT_RUNFROMEXTSRAM depends on BOOT_RUNFROMEXTSRAM
---help--- ---help---
This option is available only when running from external SRAM This option is available only when running from external SRAM
(CONFIG_BOOT_RUNFROMEXTSRAM). In that case there are two possible (CONFIG_BOOT_RUNFROMEXTSRAM). In that case there are two possible
+1 -1
View File
@@ -199,7 +199,7 @@ config TTY_LAUNCH_PRIORITY
default INIT_PRIORITY default INIT_PRIORITY
config TTY_LAUNCH_STACKSIZE config TTY_LAUNCH_STACKSIZE
hex "TTY launch program stack size" int "TTY launch program stack size"
default INIT_STACKSIZE default INIT_STACKSIZE
choice choice
-7
View File
@@ -7,27 +7,22 @@ menuconfig DRIVERS_VIRTIO
bool "Virtio Device Support" bool "Virtio Device Support"
depends on !OPENAMP depends on !OPENAMP
default n default n
---help---
if DRIVERS_VIRTIO if DRIVERS_VIRTIO
menuconfig DRIVERS_VIRTIO_MMIO_NUM menuconfig DRIVERS_VIRTIO_MMIO_NUM
int "The number of virtio mmio devices" int "The number of virtio mmio devices"
default 1 default 1
---help---
if DRIVERS_VIRTIO_MMIO_NUM != 0 if DRIVERS_VIRTIO_MMIO_NUM != 0
menuconfig DRIVERS_VIRTIO_MMIO_BASE menuconfig DRIVERS_VIRTIO_MMIO_BASE
hex "Virtio-mmio base address" hex "Virtio-mmio base address"
---help---
menuconfig DRIVERS_VIRTIO_MMIO_REGSIZE menuconfig DRIVERS_VIRTIO_MMIO_REGSIZE
hex "Virtio-mmio register size" hex "Virtio-mmio register size"
default 0 default 0
---help---
menuconfig DRIVERS_VIRTIO_MMIO_IRQ menuconfig DRIVERS_VIRTIO_MMIO_IRQ
int "Virtio-mmio irq number" int "Virtio-mmio irq number"
---help---
endif endif
@@ -36,13 +31,11 @@ menuconfig DRIVERS_VIRTIO_NET
default n default n
depends on DRIVERS_VIRTIO_MMIO_NUM > 0 depends on DRIVERS_VIRTIO_MMIO_NUM > 0
select ARCH_HAVE_NETDEV_STATISTICS select ARCH_HAVE_NETDEV_STATISTICS
---help---
if DRIVERS_VIRTIO_NET if DRIVERS_VIRTIO_NET
config DRIVERS_VIRTIO_NET_QUEUE_LEN config DRIVERS_VIRTIO_NET_QUEUE_LEN
int "Queue length" int "Queue length"
default 16 default 16
---help---
endif endif
endif endif
+1 -1
View File
@@ -206,7 +206,7 @@ source "libs/libc/machine/renesas/Kconfig"
endif endif
if ARCH_SPARC if ARCH_SPARC
source libs/libc/machine/sparc/Kconfig source "libs/libc/machine/sparc/Kconfig"
endif endif
endmenu # Architecture-Specific Support endmenu # Architecture-Specific Support
-1
View File
@@ -42,7 +42,6 @@ config NET_USRSOCK_UDP
bool "User-space daemon provides UDP sockets" bool "User-space daemon provides UDP sockets"
default n default n
select NET_UDP_NO_STACK select NET_UDP_NO_STACK
---help---
config NET_USRSOCK_TCP config NET_USRSOCK_TCP
bool "User-space daemon provides TCP sockets" bool "User-space daemon provides TCP sockets"