gdsys: mpc8308: Add FPGA flavor option
More recent versions of IHS FPGAs feature a different memory layout. Add a Kconfig option to differentiate between the legacy layout, and the new layout (which is used on the upcoming "Gazerbeam" and later boards). Signed-off-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
@@ -71,7 +71,27 @@ config GDSYS_LEGACY_DRIVERS
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if TARGET_HRCON || TARGET_STRIDER
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "FPGA flavor selection"
|
||||||
|
|
||||||
|
config SYS_FPGA_FLAVOR_LEGACY
|
||||||
|
bool "Legacy flavor"
|
||||||
|
help
|
||||||
|
This enables support for the gdsys pre-Gazerbeam FPGA memory layout.
|
||||||
|
|
||||||
|
config SYS_FPGA_FLAVOR_GAZERBEAM
|
||||||
|
bool "Gazerbeam flavor"
|
||||||
|
help
|
||||||
|
This enables support for the gdsys FPGA memory layout of the
|
||||||
|
Gazerbeam board.
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
config CMD_IOLOOP
|
config CMD_IOLOOP
|
||||||
bool "Enable 'ioloop' and 'ioreflect' commands"
|
bool "Enable 'ioloop' and 'ioreflect' commands"
|
||||||
help
|
help
|
||||||
These commands provide FPGA tests.
|
These commands provide FPGA tests.
|
||||||
|
|
||||||
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user