blob: f2e6a453fc37ee7ff3108437635433a5eabcc490 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "MIPS architecture"
2 depends on MIPS
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "mips"
6
Masahiro Yamada7bfd5ee2014-10-24 01:30:46 +09007config USE_PRIVATE_LIBGCC
8 default y
9
Masahiro Yamadadd840582014-07-30 14:08:14 +090010choice
11 prompt "Target select"
12
13config TARGET_QEMU_MIPS
14 bool "Support qemu-mips"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010015 select SUPPORTS_BIG_ENDIAN
16 select SUPPORTS_LITTLE_ENDIAN
Masahiro Yamadadd840582014-07-30 14:08:14 +090017
18config TARGET_MALTA
19 bool "Support malta"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010020 select SUPPORTS_BIG_ENDIAN
21 select SUPPORTS_LITTLE_ENDIAN
Masahiro Yamadadd840582014-07-30 14:08:14 +090022
23config TARGET_VCT
24 bool "Support vct"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010025 select SUPPORTS_BIG_ENDIAN
Masahiro Yamadadd840582014-07-30 14:08:14 +090026
27config TARGET_DBAU1X00
28 bool "Support dbau1x00"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010029 select SUPPORTS_BIG_ENDIAN
30 select SUPPORTS_LITTLE_ENDIAN
Masahiro Yamadadd840582014-07-30 14:08:14 +090031
32config TARGET_PB1X00
33 bool "Support pb1x00"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010034 select SUPPORTS_LITTLE_ENDIAN
Masahiro Yamadadd840582014-07-30 14:08:14 +090035
36config TARGET_QEMU_MIPS64
37 bool "Support qemu-mips64"
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010038 select SUPPORTS_BIG_ENDIAN
39 select SUPPORTS_LITTLE_ENDIAN
Masahiro Yamadadd840582014-07-30 14:08:14 +090040
41endchoice
42
43source "board/dbau1x00/Kconfig"
44source "board/imgtec/malta/Kconfig"
45source "board/micronas/vct/Kconfig"
46source "board/pb1x00/Kconfig"
47source "board/qemu-mips/Kconfig"
48
Daniel Schwierzeck0e1dc342014-10-26 14:14:07 +010049if MIPS
50
51choice
52 prompt "Endianness selection"
53 help
54 Some MIPS boards can be configured for either little or big endian
55 byte order. These modes require different U-Boot images. In general there
56 is one preferred byteorder for a particular system but some systems are
57 just as commonly used in the one or the other endianness.
58
59config SYS_BIG_ENDIAN
60 bool "Big endian"
61 depends on SUPPORTS_BIG_ENDIAN
62
63config SYS_LITTLE_ENDIAN
64 bool "Little endian"
65 depends on SUPPORTS_LITTLE_ENDIAN
66
67endchoice
68
69config SUPPORTS_BIG_ENDIAN
70 bool
71
72config SUPPORTS_LITTLE_ENDIAN
73 bool
74
75endif
76
Masahiro Yamadadd840582014-07-30 14:08:14 +090077endmenu