[U-Boot] [PATCH 31/51] gdsys: mpc8308: Add FPGA flavor option

Mario Six mario.six at gdsys.cc
Fri Jul 14 12:55:17 UTC 2017


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 at gdsys.cc>
---

 board/gdsys/mpc8308/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/board/gdsys/mpc8308/Kconfig b/board/gdsys/mpc8308/Kconfig
index e913e94b3a..80ac1a0f8a 100644
--- a/board/gdsys/mpc8308/Kconfig
+++ b/board/gdsys/mpc8308/Kconfig
@@ -55,6 +55,17 @@ config GDSYS_LEGACY_DRIVERS
 
 endif
 
+choice
+	prompt "FPGA flavor selection"
+
+config SYS_FPGA_FLAVOR_LEGACY
+	bool "Legacy flavor"
+
+config SYS_FPGA_FLAVOR_GAZERBEAM
+	bool "Gazerbeam flavor"
+
+endchoice
+
 config CMD_IOLOOP
 	bool "Enable 'ioloop' and 'ioreflect' commands"
 	help
-- 
2.11.0



More information about the U-Boot mailing list