blob: 30811889fbfc817c7ac2c3a667ecc16a06a24146 [file] [log] [blame]
Mario Sixf8395902018-09-27 09:19:34 +02001config GDSYS_LEGACY_OSD_CMDS
2 bool
3 help
4 Use the 'osdw', 'osdp', and 'osdsize' legacy commands required by
5 gdsys devices.
6
Mario Six78510212019-03-29 10:18:10 +01007config 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
Mario Six53abde72019-03-29 10:18:08 +010014config SYS_FPGA0_BASE
15 hex
16 default E0600000
17 help
18 The base address of the first FPGA's register map.
19
20config SYS_FPGA0_SIZE
21 hex
22 default 1
23 help
24 The base address of the first FPGA's register map.
25
26config SYS_FPGA1_BASE
27 hex
28 help
29 The base address of the second FPGA's register map.
30
31config SYS_FPGA1_SIZE
32 hex
33 help
34 The base address of the second FPGA's register map.
35
Dirk Eibachf74a0272014-11-13 19:21:18 +010036if TARGET_HRCON
37
38config SYS_BOARD
39 default "mpc8308"
40
41config SYS_VENDOR
42 default "gdsys"
43
44config SYS_CONFIG_NAME
45 default "hrcon"
46
Mario Sixf8395902018-09-27 09:19:34 +020047config GDSYS_LEGACY_OSD_CMDS
48 default y
49
Mario Six78510212019-03-29 10:18:10 +010050config GDSYS_LEGACY_DRIVERS
51 default y
52
Dirk Eibachf74a0272014-11-13 19:21:18 +010053endif
Dirk Eibachb355f172015-10-28 11:46:32 +010054
55if TARGET_STRIDER
56
57config SYS_BOARD
58 default "mpc8308"
59
60config SYS_VENDOR
61 default "gdsys"
62
63config SYS_CONFIG_NAME
64 default "strider"
65
Mario Sixf8395902018-09-27 09:19:34 +020066config GDSYS_LEGACY_OSD_CMDS
67 default y
Mario Six78510212019-03-29 10:18:10 +010068
69config GDSYS_LEGACY_DRIVERS
70 default y
71
Dirk Eibachb355f172015-10-28 11:46:32 +010072endif
Simon Glassec10c012017-05-17 03:25:35 -060073
Dirk Eibach8fc40842019-03-29 10:18:19 +010074if TARGET_GAZERBEAM
75
76config SYS_BOARD
77 default "mpc8308"
78
79config SYS_VENDOR
80 default "gdsys"
81
82config SYS_CONFIG_NAME
83 default "gazerbeam"
84
85config SYS_FPGA1_BASE
86 default E0700000
87
88config SYS_FPGA1_SIZE
89 default 1
90
91config GDSYS_LEGACY_OSD_CMDS
92 default y
93endif
94
95if TARGET_HRCON || TARGET_STRIDER || TARGET_GAZERBEAM
Mario Sixca10b2f2019-03-29 10:18:11 +010096
97choice
98 prompt "FPGA flavor selection"
99
100config SYS_FPGA_FLAVOR_LEGACY
101 bool "Legacy flavor"
102 help
103 This enables support for the gdsys pre-Gazerbeam FPGA memory layout.
104
105config 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
111endchoice
112
Dirk Eibach8fc40842019-03-29 10:18:19 +0100113config 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
Simon Glassec10c012017-05-17 03:25:35 -0600119config CMD_IOLOOP
120 bool "Enable 'ioloop' and 'ioreflect' commands"
121 help
122 These commands provide FPGA tests.
Mario Sixca10b2f2019-03-29 10:18:11 +0100123
124endif