mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-08 11:54:50 +08:00
bsp: k230: fix kconfig warnings
scons --menuconfig will report: ``` warning: the choice symbol PKG_USING_ZLIB_LATEST_VERSION (defined at /home/u/.env/packages/packages/misc/zlib/Kconfig:31) is selected by the following symbols, but select/imply has no effect on choice symbols - BSP_ROOTFS_TYPE_CROMFS (defined at Kconfig:36) warning: default on the choice symbol BSP_USING_SDIO0 (defined at board/Kconfig:20) will have no effect, as defaults do not affect choice symbols warning: default on the choice symbol BSP_USING_SDIO1 (defined at board/Kconfig:34) will have no effect, as defaults do not affect choice symbols ``` Fix and remove these warnings. Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
This commit is contained in:
@@ -37,5 +37,4 @@ choice BSP_ROOTFS_TYPE
|
||||
bool "Use Compressed ROM File-System (ReadOnly)"
|
||||
select RT_USING_DFS_CROMFS
|
||||
select PKG_USING_ZLIB
|
||||
select PKG_USING_ZLIB_LATEST_VERSION
|
||||
endchoice
|
||||
|
||||
@@ -19,7 +19,6 @@ menu "Drivers Configuration"
|
||||
|
||||
config BSP_USING_SDIO0
|
||||
bool "Enable SDIO0"
|
||||
default y
|
||||
|
||||
if BSP_USING_SDIO0
|
||||
config BSP_SDIO0_EMMC
|
||||
@@ -33,7 +32,6 @@ menu "Drivers Configuration"
|
||||
|
||||
config BSP_USING_SDIO1
|
||||
bool "Enable SDIO1"
|
||||
default n
|
||||
endchoice
|
||||
|
||||
config BSP_SD_MNT_DEVNAME
|
||||
|
||||
Reference in New Issue
Block a user