mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
Change dpends on SCHED_[L|H]PWORK to SCHED_WORKQUEUE
since the code could map the unsupported work to the supported one and remove select SCHED_WORKQUEUE from Kconfig since SCHED_[L|H]PWORK already do the selection Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
3f8b71924f
commit
7ec6b4c7dd
@@ -80,7 +80,7 @@ if CXD56_PMIC
|
|||||||
config CXD56_PMIC_INT
|
config CXD56_PMIC_INT
|
||||||
bool "PMIC interrupt"
|
bool "PMIC interrupt"
|
||||||
default n
|
default n
|
||||||
depends on SCHED_LPWORK
|
depends on SCHED_WORKQUEUE
|
||||||
---help---
|
---help---
|
||||||
Enable PMIC interrupt.
|
Enable PMIC interrupt.
|
||||||
|
|
||||||
@@ -1202,7 +1202,7 @@ menuconfig CXD56_SDIO
|
|||||||
default n
|
default n
|
||||||
select ARCH_HAVE_SDIO
|
select ARCH_HAVE_SDIO
|
||||||
select SDIO_BLOCKSETUP
|
select SDIO_BLOCKSETUP
|
||||||
depends on SCHED_HPWORK
|
depends on SCHED_WORKQUEUE
|
||||||
|
|
||||||
if CXD56_SDIO
|
if CXD56_SDIO
|
||||||
|
|
||||||
|
|||||||
@@ -5076,7 +5076,6 @@ config SAMA5_SDMMC
|
|||||||
bool "enable SDMMC controller"
|
bool "enable SDMMC controller"
|
||||||
default y if SAMA5_HAVE_SDMMC
|
default y if SAMA5_HAVE_SDMMC
|
||||||
select SDIO_DMA
|
select SDIO_DMA
|
||||||
select SCHED_WORKQUEUE
|
|
||||||
select SCHED_HPWORK
|
select SCHED_HPWORK
|
||||||
select MMCSD
|
select MMCSD
|
||||||
select MMCSD_SDIO
|
select MMCSD_SDIO
|
||||||
@@ -5084,7 +5083,7 @@ config SAMA5_SDMMC
|
|||||||
select ARCH_HAVE_SDIO
|
select ARCH_HAVE_SDIO
|
||||||
select SAMA5_SDMMC_DMA
|
select SAMA5_SDMMC_DMA
|
||||||
---help---
|
---help---
|
||||||
Enable SD Card interface SDMMC. Selects SAMA5_SDMMC SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
Enable SD Card interface SDMMC. Selects SAMA5_SDMMC SAMA5_SDMMC_DMA SDIO_DMA SCHED_HPWORK SDIO_BLOCKSETUP
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "SDMMC maximum bus speed"
|
prompt "SDMMC maximum bus speed"
|
||||||
|
|||||||
@@ -78,8 +78,7 @@ endmenu # BL602_SPIFLASH
|
|||||||
|
|
||||||
config BL602_WIRELESS
|
config BL602_WIRELESS
|
||||||
bool "Wireless & WiFi Support"
|
bool "Wireless & WiFi Support"
|
||||||
depends on SCHED_HPWORK
|
depends on SCHED_WORKQUEUE
|
||||||
depends on SCHED_LPWORK
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BL602_WIRELESS_DEBUG
|
config BL602_WIRELESS_DEBUG
|
||||||
@@ -101,6 +100,6 @@ config BL602_BLE_CONTROLLER
|
|||||||
bool "ble controller support"
|
bool "ble controller support"
|
||||||
default n
|
default n
|
||||||
depends on !DISABLE_MQUEUE
|
depends on !DISABLE_MQUEUE
|
||||||
depends on SCHED_HPWORK
|
depends on SCHED_WORKQUEUE
|
||||||
depends on BL602_WIRELESS
|
depends on BL602_WIRELESS
|
||||||
endmenu
|
endmenu
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ config LITEX_UART0
|
|||||||
config LITEX_SDIO
|
config LITEX_SDIO
|
||||||
bool "SDIO"
|
bool "SDIO"
|
||||||
default n
|
default n
|
||||||
select SCHED_WORKQUEUE
|
|
||||||
select SCHED_HPWORK
|
select SCHED_HPWORK
|
||||||
select MMCSD
|
select MMCSD
|
||||||
select MMCSD_SDIO
|
select MMCSD_SDIO
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ config SAMA5_SDMMC
|
|||||||
bool "enable SDMMC controller"
|
bool "enable SDMMC controller"
|
||||||
default y if SAMA5_HAVE_SDMMC
|
default y if SAMA5_HAVE_SDMMC
|
||||||
select SDIO_DMA
|
select SDIO_DMA
|
||||||
select SCHED_WORKQUEUE
|
|
||||||
select SCHED_HPWORK
|
select SCHED_HPWORK
|
||||||
select MMCSD
|
select MMCSD
|
||||||
select MMCSD_SDIO
|
select MMCSD_SDIO
|
||||||
@@ -38,7 +37,7 @@ config SAMA5_SDMMC
|
|||||||
select SAMA5_SDMMC_DMA
|
select SAMA5_SDMMC_DMA
|
||||||
---help---
|
---help---
|
||||||
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0
|
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0
|
||||||
SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
SAMA5_SDMMC_DMA SDIO_DMA SCHED_HPWORK SDIO_BLOCKSETUP
|
||||||
|
|
||||||
config SAMA5_SDMMC0
|
config SAMA5_SDMMC0
|
||||||
bool "Enable SDMMC0 (built-in eMMC)"
|
bool "Enable SDMMC0 (built-in eMMC)"
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ config SAMA5_SDMMC
|
|||||||
bool "enable SDMMC controller"
|
bool "enable SDMMC controller"
|
||||||
default y if SAMA5_HAVE_SDMMC
|
default y if SAMA5_HAVE_SDMMC
|
||||||
select SDIO_DMA
|
select SDIO_DMA
|
||||||
select SCHED_WORKQUEUE
|
|
||||||
select SCHED_HPWORK
|
select SCHED_HPWORK
|
||||||
select MMCSD
|
select MMCSD
|
||||||
select MMCSD_SDIO
|
select MMCSD_SDIO
|
||||||
@@ -46,7 +45,7 @@ config SAMA5_SDMMC
|
|||||||
select ARCH_HAVE_SDIO
|
select ARCH_HAVE_SDIO
|
||||||
select SAMA5_SDMMC_DMA
|
select SAMA5_SDMMC_DMA
|
||||||
---help---
|
---help---
|
||||||
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0 SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0 SAMA5_SDMMC_DMA SDIO_DMA SCHED_HPWORK SDIO_BLOCKSETUP
|
||||||
|
|
||||||
config SAMA5_SDMMC0
|
config SAMA5_SDMMC0
|
||||||
bool "Enable SDMMC0 (built-in eMMC)"
|
bool "Enable SDMMC0 (built-in eMMC)"
|
||||||
|
|||||||
@@ -106,8 +106,7 @@ config USBHOST_MSC
|
|||||||
default n
|
default n
|
||||||
depends on !BULK_DISABLE
|
depends on !BULK_DISABLE
|
||||||
---help---
|
---help---
|
||||||
Enable support for the mass storage class driver. This also depends on
|
Enable support for the mass storage class driver.
|
||||||
SCHED_WORKQUEUE=y
|
|
||||||
|
|
||||||
config USBHOST_MSC_NOTIFIER
|
config USBHOST_MSC_NOTIFIER
|
||||||
bool "Support USB Mass Storage notifications"
|
bool "Support USB Mass Storage notifications"
|
||||||
@@ -294,8 +293,7 @@ config USBHOST_HIDKBD
|
|||||||
default n
|
default n
|
||||||
depends on !INT_DISABLE
|
depends on !INT_DISABLE
|
||||||
---help---
|
---help---
|
||||||
Enable support for the keyboard class driver. This also depends on
|
Enable support for the keyboard class driver.
|
||||||
SCHED_WORKQUEUE
|
|
||||||
|
|
||||||
if USBHOST_HIDKBD
|
if USBHOST_HIDKBD
|
||||||
|
|
||||||
@@ -372,8 +370,7 @@ config USBHOST_HIDMOUSE
|
|||||||
select INPUT
|
select INPUT
|
||||||
select INPUT_MOUSE
|
select INPUT_MOUSE
|
||||||
---help---
|
---help---
|
||||||
Enable support for the mouse class driver. This also depends on
|
Enable support for the mouse class driver.
|
||||||
SCHED_WORKQUEUE
|
|
||||||
|
|
||||||
NOTE: This driver checks out on a Labtec and an AOpen mouse, but
|
NOTE: This driver checks out on a Labtec and an AOpen mouse, but
|
||||||
does not work correctly on a Microsoft mouse. A little more work
|
does not work correctly on a Microsoft mouse. A little more work
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ config WL_CC1101
|
|||||||
default n
|
default n
|
||||||
select SPI
|
select SPI
|
||||||
select SCHED_HPWORK
|
select SCHED_HPWORK
|
||||||
select SCHED_LPWORK
|
|
||||||
|
|
||||||
if WL_CC1101
|
if WL_CC1101
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
config FS_AIO
|
config FS_AIO
|
||||||
bool "Asynchronous I/O support"
|
bool "Asynchronous I/O support"
|
||||||
default n
|
default n
|
||||||
depends on SCHED_LPWORK
|
depends on SCHED_WORKQUEUE
|
||||||
---help---
|
---help---
|
||||||
Enable support for aynchronous I/O. This selection enables the
|
Enable support for aynchronous I/O. This selection enables the
|
||||||
interfaces declared in include/aio.h.
|
interfaces declared in include/aio.h.
|
||||||
|
|||||||
@@ -57,10 +57,6 @@
|
|||||||
# error Asynchronous I/O requires CONFIG_SCHED_WORKQUEUE
|
# error Asynchronous I/O requires CONFIG_SCHED_WORKQUEUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_SCHED_LPWORK
|
|
||||||
# error Asynchronous I/O requires CONFIG_SCHED_LPWORK
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Standard Definitions *****************************************************/
|
/* Standard Definitions *****************************************************/
|
||||||
|
|
||||||
/* aio_cancel return values
|
/* aio_cancel return values
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ config NET_TCP
|
|||||||
bool "TCP/IP Networking"
|
bool "TCP/IP Networking"
|
||||||
default n
|
default n
|
||||||
select NET_READAHEAD if !NET_TCP_NO_STACK
|
select NET_READAHEAD if !NET_TCP_NO_STACK
|
||||||
depends on SCHED_LPWORK
|
depends on SCHED_WORKQUEUE
|
||||||
---help---
|
---help---
|
||||||
Enable or disable TCP networking support.
|
Enable or disable TCP networking support.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user