aboutsummaryrefslogtreecommitdiff
path: root/arch/csky/Kconfig
blob: a7b64bc1cf853d749bcc8047398960978958b7ca (plain) (blame)
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#
# Copyright (C) 2017-2020 Alibaba Group Holding Limited
#
# SPDX-License-Identifier: GPL-2.0+
#

menu "CSKY architecture"
    depends on CSKY

config SYS_ARCH
    default "csky"

config CPU_C807_810
    bool

config CPU_C860
    bool

config SYS_CPU
    default "c807_810" if CPU_C807_810
    default "c860" if CPU_C860

choice
    prompt "ASIC select"
    optional

config IS_ASIC
    bool "support ASIC"

endchoice

choice
    prompt "trust cpu select"
    optional

config TRUST_CPU
    bool "use trust cpu"

endchoice

choice
    prompt "Target select"
    optional

config TARGET_ICE_C860
    bool "Support T-HEAD ICE C860 Board"
    select CPU_C860
    select SUPPORT_SPL

config TARGET_ICE_C810
    bool "Support T-HEAD ICE C810 Board"
    select CPU_C807_810
    select SUPPORT_SPL

config TARGET_TIANHUO_C860
    bool "Support T-HEAD TIANHUO C860 Board"
    select CPU_C860
    select SUPPORT_SPL

config TARGET_TIANHUO_C810
    bool "Support T-HEAD TIANHUO C810 Board"
    select CPU_C807_810
    select SUPPORT_SPL

config TARGET_ANOLE_C860
    bool "Support T-HEAD Anole C860 Board"
    select CPU_C860
    select SUPPORT_SPL

config TARGET_ANOLE_C810
    bool "Support T-HEAD Anole C810 Board"
    select CPU_C807_810
    select SUPPORT_SPL

endchoice

source "board/thead/ice-c860/Kconfig"
source "board/thead/ice-c810/Kconfig"
source "board/thead/tianhuo-c860/Kconfig"
source "board/thead/tianhuo-c810/Kconfig"
source "board/thead/anole-c860/Kconfig"
source "board/thead/anole-c810/Kconfig"

source "arch/csky/cpu/c807_810/Kconfig"
source "arch/csky/cpu/c860/Kconfig"

endmenu