]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/mips/Kconfig
MIPS: kconfig: add options for endianess select
[people/ms/u-boot.git] / arch / mips / Kconfig
1 menu "MIPS architecture"
2 depends on MIPS
3
4 config SYS_ARCH
5 default "mips"
6
7 config USE_PRIVATE_LIBGCC
8 default y
9
10 choice
11 prompt "Target select"
12
13 config TARGET_QEMU_MIPS
14 bool "Support qemu-mips"
15 select SUPPORTS_BIG_ENDIAN
16 select SUPPORTS_LITTLE_ENDIAN
17
18 config TARGET_MALTA
19 bool "Support malta"
20 select SUPPORTS_BIG_ENDIAN
21 select SUPPORTS_LITTLE_ENDIAN
22
23 config TARGET_VCT
24 bool "Support vct"
25 select SUPPORTS_BIG_ENDIAN
26
27 config TARGET_DBAU1X00
28 bool "Support dbau1x00"
29 select SUPPORTS_BIG_ENDIAN
30 select SUPPORTS_LITTLE_ENDIAN
31
32 config TARGET_PB1X00
33 bool "Support pb1x00"
34 select SUPPORTS_LITTLE_ENDIAN
35
36 config TARGET_QEMU_MIPS64
37 bool "Support qemu-mips64"
38 select SUPPORTS_BIG_ENDIAN
39 select SUPPORTS_LITTLE_ENDIAN
40
41 endchoice
42
43 source "board/dbau1x00/Kconfig"
44 source "board/imgtec/malta/Kconfig"
45 source "board/micronas/vct/Kconfig"
46 source "board/pb1x00/Kconfig"
47 source "board/qemu-mips/Kconfig"
48
49 if MIPS
50
51 choice
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
59 config SYS_BIG_ENDIAN
60 bool "Big endian"
61 depends on SUPPORTS_BIG_ENDIAN
62
63 config SYS_LITTLE_ENDIAN
64 bool "Little endian"
65 depends on SUPPORTS_LITTLE_ENDIAN
66
67 endchoice
68
69 config SUPPORTS_BIG_ENDIAN
70 bool
71
72 config SUPPORTS_LITTLE_ENDIAN
73 bool
74
75 endif
76
77 endmenu