blob: 1d1347b167539d9c8fa90422d5a9e080a7340028 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "SPARC architecture"
2 depends on SPARC
3
Masahiro Yamada8be29642014-10-30 15:30:55 +09004config LEON
5 bool
6
7config LEON2
8 bool
9 select LEON
10
11config LEON3
12 bool
13 select LEON
14
Francois Retief52789142015-11-01 15:40:00 +020015config SYS_SPARC_NWINDOWS
16 int "Number of SPARC register windows"
17 range 2 32
18 default "8"
19 help
20 Specify the number of SPARC register windows implemented by this
21 processor. A SPARC implementation can have from 2 to 32 windows.
22 If unsure, choose 8.
23
Masahiro Yamadadd840582014-07-30 14:08:14 +090024choice
Masahiro Yamada89c64cd2014-10-30 15:30:54 +090025 prompt "Board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050026 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090027
28config TARGET_GRSIM_LEON2
Masahiro Yamada89c64cd2014-10-30 15:30:54 +090029 bool "GRSIM simulating a LEON2 board"
Masahiro Yamada8be29642014-10-30 15:30:55 +090030 select LEON2
Masahiro Yamadadd840582014-07-30 14:08:14 +090031
32config TARGET_GR_CPCI_AX2000
Masahiro Yamada89c64cd2014-10-30 15:30:54 +090033 bool "Gaisler GR-CPCI-AX2000 board"
Masahiro Yamada8be29642014-10-30 15:30:55 +090034 select LEON3
Masahiro Yamadadd840582014-07-30 14:08:14 +090035
36config TARGET_GR_EP2S60
Masahiro Yamada89c64cd2014-10-30 15:30:54 +090037 bool "Gaisler Template design for Altera NIOS board with Stratix EP2S60"
Masahiro Yamada8be29642014-10-30 15:30:55 +090038 select LEON3
Masahiro Yamada89c64cd2014-10-30 15:30:54 +090039 help
40 Gaisler Research AB's Template design (GPL Open Source SPARC/LEON3
41 96MHz) for Altera NIOS Development board Stratix II edition,
42 with the FPGA device EP2S60.
Masahiro Yamadadd840582014-07-30 14:08:14 +090043
44config TARGET_GR_XC3S_1500
Masahiro Yamada89c64cd2014-10-30 15:30:54 +090045 bool "Gaisler GR-XC3S-1500 spartan board"
Masahiro Yamada8be29642014-10-30 15:30:55 +090046 select LEON3
Masahiro Yamadadd840582014-07-30 14:08:14 +090047
48config TARGET_GRSIM
Masahiro Yamada89c64cd2014-10-30 15:30:54 +090049 bool "GRSIM simulating a LEON3 GR-XC3S-1500 board"
Masahiro Yamada8be29642014-10-30 15:30:55 +090050 select LEON3
Masahiro Yamadadd840582014-07-30 14:08:14 +090051
52endchoice
53
Masahiro Yamada89bedb02014-10-30 15:30:57 +090054config SYS_ARCH
55 default "sparc"
56
57config SYS_CPU
58 default "leon2" if LEON2
59 default "leon3" if LEON3
60
61config SYS_VENDOR
62 default "gaisler"
63
Masahiro Yamadadd840582014-07-30 14:08:14 +090064source "board/gaisler/gr_cpci_ax2000/Kconfig"
65source "board/gaisler/gr_ep2s60/Kconfig"
66source "board/gaisler/gr_xc3s_1500/Kconfig"
67source "board/gaisler/grsim/Kconfig"
68source "board/gaisler/grsim_leon2/Kconfig"
69
70endmenu