blob: c3fd0518bc4cb6720507c7bcc8f64ff0f76060c6 [file] [log] [blame]
Tom Rini7c964c32021-02-20 20:06:24 -05001if TARGET_GAZERBEAM
2
Mario Six3bf65cb2018-09-27 09:19:34 +02003config GDSYS_LEGACY_OSD_CMDS
4 bool
5 help
6 Use the 'osdw', 'osdp', and 'osdsize' legacy commands required by
7 gdsys devices.
8
Mario Sixfe4a9672019-03-29 10:18:10 +01009config GDSYS_LEGACY_DRIVERS
10 bool
11 help
12 Enable the gdsys legacy drivers under board/gdsys/common. If this
13 option is not set, all relevant DM drivers must be configured for the
14 device in question.
15
Mario Sixb335fb62019-03-29 10:18:08 +010016config SYS_FPGA0_BASE
17 hex
18 default E0600000
19 help
20 The base address of the first FPGA's register map.
21
22config SYS_FPGA0_SIZE
23 hex
24 default 1
25 help
26 The base address of the first FPGA's register map.
27
28config SYS_FPGA1_BASE
29 hex
30 help
31 The base address of the second FPGA's register map.
32
33config SYS_FPGA1_SIZE
34 hex
35 help
36 The base address of the second FPGA's register map.
37
Dirk Eibachd494cdb2019-03-29 10:18:19 +010038config SYS_BOARD
39 default "mpc8308"
40
41config SYS_VENDOR
42 default "gdsys"
43
44config SYS_CONFIG_NAME
45 default "gazerbeam"
46
47config SYS_FPGA1_BASE
48 default E0700000
49
50config SYS_FPGA1_SIZE
51 default 1
52
53config GDSYS_LEGACY_OSD_CMDS
54 default y
Mario Sixcda8e1f2019-03-29 10:18:11 +010055
56choice
57 prompt "FPGA flavor selection"
58
59config SYS_FPGA_FLAVOR_LEGACY
60 bool "Legacy flavor"
61 help
62 This enables support for the gdsys pre-Gazerbeam FPGA memory layout.
63
64config SYS_FPGA_FLAVOR_GAZERBEAM
65 bool "Gazerbeam flavor"
66 help
67 This enables support for the gdsys FPGA memory layout of the
68 Gazerbeam board.
69
70endchoice
71
Dirk Eibachd494cdb2019-03-29 10:18:19 +010072config EXTENDED_FEATURES
73 bool "FPGA extended features"
74 depends on GDSYS_LEGACY_DRIVERS
75 help
76 Enable support for the extended features field of the IHS FPGA.
77
Simon Glass070f3162017-05-17 03:25:35 -060078config CMD_IOLOOP
79 bool "Enable 'ioloop' and 'ioreflect' commands"
80 help
81 These commands provide FPGA tests.
Mario Sixcda8e1f2019-03-29 10:18:11 +010082
83endif