Skip to content

Commit 3777ac1

Browse files
unicornxRbb666
authored andcommitted
bsp: k230: eliminate warnings for kconfig
When run kconfig, see warnings as followings: Kconfig:5: warning: BSP_ROOT has 'option env="BSP_DIR"',... Kconfig:10: warning: RTT_ROOT has 'option env="RTT_DIR"',... Kconfig:15: warning: PKGS_ROOT has 'option env="PKGS_DIR"',... ... warning: the choice symbol PKG_USING_ZLIB_LATEST_VERSION (...) is selected by the following symbols, but select/imply has no effect on choice symbols - BSP_ROOTFS_TYPE_CROMFS (defined at Kconfig:41) warning: the value '0xF00000000' is invalid for C908_PLIC_PHY_ADDR... Trying to cleanup Kconfig and re-run menuconfig to update. Signed-off-by: Chen Wang <[email protected]>
1 parent f05f344 commit 3777ac1

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

bsp/k230/.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,5 +1494,4 @@ CONFIG_PKG_ZLIB_VER="latest"
14941494

14951495
CONFIG_BOARD_fpgac908=y
14961496
CONFIG___STACKSIZE__=65536
1497-
CONFIG_C908_PLIC_PHY_ADDR=0xF00000000
14981497
CONFIG_BSP_ROOTFS_TYPE_CROMFS=y

bsp/k230/Kconfig

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
11
mainmenu "RT-Thread Project Configuration"
22

3-
config BSP_DIR
4-
string
5-
option env="BSP_ROOT"
6-
default "."
3+
BSP_DIR := .
74

8-
config RTT_DIR
9-
string
10-
option env="RTT_ROOT"
11-
default "../../"
5+
RTT_DIR := ../../
126

13-
config PKGS_DIR
14-
string
15-
option env="PKGS_ROOT"
16-
default "packages"
7+
PKGS_DIR := packages
178

189
source "$RTT_DIR/Kconfig"
1910
source "$PKGS_DIR/Kconfig"
@@ -34,13 +25,8 @@ config __STACKSIZE__
3425
int "stack size for interrupt"
3526
default 4096
3627

37-
config C908_PLIC_PHY_ADDR
38-
int "PLIC base address"
39-
default 0xF00000000
40-
4128
config BSP_ROOTFS_TYPE_CROMFS
4229
bool "Use CROMFS as ROOTFS"
4330
select RT_USING_DFS_CROMFS
4431
select PKG_USING_ZLIB
45-
select PKG_USING_ZLIB_LATEST_VERSION
4632
default y

bsp/k230/rtconfig.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,6 @@
562562
/* end of Drivers Configuration */
563563
#define BOARD_fpgac908
564564
#define __STACKSIZE__ 65536
565-
#define C908_PLIC_PHY_ADDR 0xF00000000
566565
#define BSP_ROOTFS_TYPE_CROMFS
567566

568567
#endif

0 commit comments

Comments
 (0)