blob: 1c33f0c982d27618934a1ec89eab63a306d0f28a [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
Dirk Eibach8fc40842019-03-29 10:18:19 +010055if TARGET_GAZERBEAM
56
57config SYS_BOARD
58 default "mpc8308"
59
60config SYS_VENDOR
61 default "gdsys"
62
63config SYS_CONFIG_NAME
64 default "gazerbeam"
65
66config SYS_FPGA1_BASE
67 default E0700000
68
69config SYS_FPGA1_SIZE
70 default 1
71
72config GDSYS_LEGACY_OSD_CMDS
73 default y
74endif
75
Tom Rini587d77a2021-02-20 20:06:23 -050076if TARGET_HRCON || TARGET_GAZERBEAM
Mario Sixca10b2f2019-03-29 10:18:11 +010077
78choice
79 prompt "FPGA flavor selection"
80
81config SYS_FPGA_FLAVOR_LEGACY
82 bool "Legacy flavor"
83 help
84 This enables support for the gdsys pre-Gazerbeam FPGA memory layout.
85
86config SYS_FPGA_FLAVOR_GAZERBEAM
87 bool "Gazerbeam flavor"
88 help
89 This enables support for the gdsys FPGA memory layout of the
90 Gazerbeam board.
91
92endchoice
93
Dirk Eibach8fc40842019-03-29 10:18:19 +010094config EXTENDED_FEATURES
95 bool "FPGA extended features"
96 depends on GDSYS_LEGACY_DRIVERS
97 help
98 Enable support for the extended features field of the IHS FPGA.
99
Simon Glassec10c012017-05-17 03:25:35 -0600100config CMD_IOLOOP
101 bool "Enable 'ioloop' and 'ioreflect' commands"
102 help
103 These commands provide FPGA tests.
Mario Sixca10b2f2019-03-29 10:18:11 +0100104
105endif