summaryrefslogtreecommitdiff
path: root/bsp/phytium/aarch64/Kconfig
blob: f532b366c5b95adeff7702f5ceb2eb4a62b1cb2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
mainmenu "RT-Thread Project Configuration"

config RTT_DIR
    string
    option env="RTT_ROOT"
    default "../../.."

config BSP_DIR
    string
    option env="BSP_ROOT"
    default "../."

config STANDALONE_DIR
    string
    option env="STANDALONE_DIR"
    default ".././libraries/standalone"

config PKGS_DIR
    string
    option env="PKGS_ROOT"
    default "packages"

source "$RTT_DIR/Kconfig"
source "$PKGS_DIR/Kconfig"
source "$BSP_DIR/libraries/drivers/Kconfig"

config BSP_USING_GIC
    bool
    default y
    config BSP_USING_GICV3
        bool
        default y

config PHYTIUM_ARCH_AARCH64
    bool
    select ARCH_ARMV8
    select RT_USING_COMPONENTS_INIT
    select RT_USING_USER_MAIN
    select ARCH_CPU_64BIT
    select TARGET_ARMV8_AARCH64
    select ARCH_ARM_BOOTWITH_FLUSH_CACHE
    default y
    

if TARGET_E2000Q
    config ARM_SPI_BIND_CPU_ID
        int 
        default 2
endif

if TARGET_E2000D
    config ARM_SPI_BIND_CPU_ID
        int 
        default 0
endif

if TARGET_PHYTIUMPI
    config ARM_SPI_BIND_CPU_ID
        int 
        default 2
endif

menu "Standalone Setting"
    config TARGET_ARMV8_AARCH64
        bool "Armv8 Aarch64"
        default y

    source "$STANDALONE_DIR/board/Kconfig"
    source "$STANDALONE_DIR/drivers/Kconfig"
    source "$STANDALONE_DIR/common/Kconfig"

endmenu