From patchwork Fri Mar 29 09:18:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Six X-Patchwork-Id: 1069366 X-Patchwork-Delegate: mario.six@gdsys.cc Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gdsys.cc Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44Vx9H36yQz9sQm for ; Fri, 29 Mar 2019 20:22:59 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 214F6C21C38; Fri, 29 Mar 2019 09:21:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id AE09BC21DB3; Fri, 29 Mar 2019 09:21:27 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5B005C21E0F; Fri, 29 Mar 2019 09:21:06 +0000 (UTC) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.18.29]) by lists.denx.de (Postfix) with ESMTPS id ED655C21C38 for ; Fri, 29 Mar 2019 09:21:02 +0000 (UTC) Received: from [87.191.40.34] (helo=bob3.testumgebung.local) by smtprelay06.ispgateway.de with esmtpa (Exim 4.90_1) (envelope-from ) id 1h9nh8-0002nK-7r; Fri, 29 Mar 2019 10:21:02 +0100 From: Mario Six To: U-Boot Mailing List , Wolfgang Denk , Dirk Eibach Date: Fri, 29 Mar 2019 10:18:11 +0100 Message-Id: <20190329091819.8345-8-mario.six@gdsys.cc> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190329091819.8345-1-mario.six@gdsys.cc> References: <20190329091819.8345-1-mario.six@gdsys.cc> MIME-Version: 1.0 X-Df-Sender: bWFyaW8uc2l4QGdkc3lzLmNj Subject: [U-Boot] [PATCH 08/16] gdsys: mpc8308: Add FPGA flavor option X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- board/gdsys/mpc8308/Kconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/board/gdsys/mpc8308/Kconfig b/board/gdsys/mpc8308/Kconfig index 222ab0d20a3..e6a47960547 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