Tom Rini | 7c964c3 | 2021-02-20 20:06:24 -0500 | [diff] [blame] | 1 | if TARGET_GAZERBEAM |
| 2 | |
Mario Six | 3bf65cb | 2018-09-27 09:19:34 +0200 | [diff] [blame] | 3 | config GDSYS_LEGACY_OSD_CMDS |
| 4 | bool |
| 5 | help |
| 6 | Use the 'osdw', 'osdp', and 'osdsize' legacy commands required by |
| 7 | gdsys devices. |
| 8 | |
Mario Six | fe4a967 | 2019-03-29 10:18:10 +0100 | [diff] [blame] | 9 | config 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 Six | b335fb6 | 2019-03-29 10:18:08 +0100 | [diff] [blame] | 16 | config SYS_FPGA0_BASE |
| 17 | hex |
| 18 | default E0600000 |
| 19 | help |
| 20 | The base address of the first FPGA's register map. |
| 21 | |
| 22 | config SYS_FPGA0_SIZE |
| 23 | hex |
| 24 | default 1 |
| 25 | help |
| 26 | The base address of the first FPGA's register map. |
| 27 | |
| 28 | config SYS_FPGA1_BASE |
| 29 | hex |
| 30 | help |
| 31 | The base address of the second FPGA's register map. |
| 32 | |
| 33 | config SYS_FPGA1_SIZE |
| 34 | hex |
| 35 | help |
| 36 | The base address of the second FPGA's register map. |
| 37 | |
Dirk Eibach | d494cdb | 2019-03-29 10:18:19 +0100 | [diff] [blame] | 38 | config SYS_BOARD |
| 39 | default "mpc8308" |
| 40 | |
| 41 | config SYS_VENDOR |
| 42 | default "gdsys" |
| 43 | |
| 44 | config SYS_CONFIG_NAME |
| 45 | default "gazerbeam" |
| 46 | |
| 47 | config SYS_FPGA1_BASE |
| 48 | default E0700000 |
| 49 | |
| 50 | config SYS_FPGA1_SIZE |
| 51 | default 1 |
| 52 | |
| 53 | config GDSYS_LEGACY_OSD_CMDS |
| 54 | default y |
Mario Six | cda8e1f | 2019-03-29 10:18:11 +0100 | [diff] [blame] | 55 | |
| 56 | choice |
| 57 | prompt "FPGA flavor selection" |
| 58 | |
| 59 | config SYS_FPGA_FLAVOR_LEGACY |
| 60 | bool "Legacy flavor" |
| 61 | help |
| 62 | This enables support for the gdsys pre-Gazerbeam FPGA memory layout. |
| 63 | |
| 64 | config 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 | |
| 70 | endchoice |
| 71 | |
Dirk Eibach | d494cdb | 2019-03-29 10:18:19 +0100 | [diff] [blame] | 72 | config 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 Glass | 070f316 | 2017-05-17 03:25:35 -0600 | [diff] [blame] | 78 | config CMD_IOLOOP |
| 79 | bool "Enable 'ioloop' and 'ioreflect' commands" |
| 80 | help |
| 81 | These commands provide FPGA tests. |
Mario Six | cda8e1f | 2019-03-29 10:18:11 +0100 | [diff] [blame] | 82 | |
| 83 | endif |