Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
[platform/kernel/u-boot.git] / board / gdsys / mpc8308 / Kconfig
1 config GDSYS_LEGACY_OSD_CMDS
2         bool
3         help
4           Use the 'osdw', 'osdp', and 'osdsize' legacy commands required by
5           gdsys devices.
6
7 config GDSYS_LEGACY_DRIVERS
8         bool
9         help
10           Enable the gdsys legacy drivers under board/gdsys/common. If this
11           option is not set, all relevant DM drivers must be configured for the
12           device in question.
13
14 config SYS_FPGA0_BASE
15         hex
16         default E0600000
17         help
18           The base address of the first FPGA's register map.
19
20 config SYS_FPGA0_SIZE
21         hex
22         default 1
23         help
24           The base address of the first FPGA's register map.
25
26 config SYS_FPGA1_BASE
27         hex
28         help
29           The base address of the second FPGA's register map.
30
31 config SYS_FPGA1_SIZE
32         hex
33         help
34           The base address of the second FPGA's register map.
35
36 if TARGET_HRCON
37
38 config SYS_BOARD
39         default "mpc8308"
40
41 config SYS_VENDOR
42         default "gdsys"
43
44 config SYS_CONFIG_NAME
45         default "hrcon"
46
47 config GDSYS_LEGACY_OSD_CMDS
48         default y
49
50 config GDSYS_LEGACY_DRIVERS
51         default y
52
53 endif
54
55 if TARGET_STRIDER
56
57 config SYS_BOARD
58         default "mpc8308"
59
60 config SYS_VENDOR
61         default "gdsys"
62
63 config SYS_CONFIG_NAME
64         default "strider"
65
66 config GDSYS_LEGACY_OSD_CMDS
67         default y
68
69 config GDSYS_LEGACY_DRIVERS
70         default y
71
72 endif
73
74 if TARGET_GAZERBEAM
75
76 config SYS_BOARD
77         default "mpc8308"
78
79 config SYS_VENDOR
80         default "gdsys"
81
82 config SYS_CONFIG_NAME
83         default "gazerbeam"
84
85 config SYS_FPGA1_BASE
86         default E0700000
87
88 config SYS_FPGA1_SIZE
89         default 1
90
91 config GDSYS_LEGACY_OSD_CMDS
92         default y
93 endif
94
95 if TARGET_HRCON || TARGET_STRIDER || TARGET_GAZERBEAM
96
97 choice
98         prompt "FPGA flavor selection"
99
100 config SYS_FPGA_FLAVOR_LEGACY
101         bool "Legacy flavor"
102         help
103           This enables support for the gdsys pre-Gazerbeam FPGA memory layout.
104
105 config SYS_FPGA_FLAVOR_GAZERBEAM
106         bool "Gazerbeam flavor"
107         help
108           This enables support for the gdsys FPGA memory layout of the
109           Gazerbeam board.
110
111 endchoice
112
113 config EXTENDED_FEATURES
114         bool "FPGA extended features"
115         depends on GDSYS_LEGACY_DRIVERS
116         help
117           Enable support for the extended features field of the IHS FPGA.
118
119 config CMD_IOLOOP
120         bool "Enable 'ioloop' and 'ioreflect' commands"
121         help
122           These commands provide FPGA tests.
123
124 endif