1config GDSYS_LEGACY_OSD_CMDS
2	bool
3	help
4	  Use the 'osdw', 'osdp', and 'osdsize' legacy commands required by
5	  gdsys devices.
6
7config 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
14config 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
36if 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
47config GDSYS_LEGACY_OSD_CMDS
48	default y
49
50config GDSYS_LEGACY_DRIVERS
51	default y
52
53endif
54
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
66config GDSYS_LEGACY_OSD_CMDS
67	default y
68
69config GDSYS_LEGACY_DRIVERS
70	default y
71
72endif
73
74if 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
96
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
113config 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
119config CMD_IOLOOP
120	bool "Enable 'ioloop' and 'ioreflect' commands"
121	help
122	  These commands provide FPGA tests.
123
124endif
125