summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-03-29 10:18:11 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-21 08:03:38 +0200
commitcda8e1f6ca514effb229cad74719fa7b5bf8cd7b (patch)
tree06d6aeb1eb5fb19551e4ad4bce186edc0000e44f /board
parentfe4a9675758e8fe7dce0b0064cac03c81a649f0a (diff)
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>
Diffstat (limited to 'board')
-rw-r--r--board/gdsys/mpc8308/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/board/gdsys/mpc8308/Kconfig b/board/gdsys/mpc8308/Kconfig
index 222ab0d20a..e6a4796054 100644
--- a/board/gdsys/mpc8308/Kconfig
+++ b/board/gdsys/mpc8308/Kconfig
@@ -71,7 +71,27 @@ config GDSYS_LEGACY_DRIVERS
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
bool "Enable 'ioloop' and 'ioreflect' commands"
help
These commands provide FPGA tests.
+
+endif