From patchwork Thu Jan 23 08:26:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olliver Schinagl X-Patchwork-Id: 1227707 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=schinagl.nl Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=schinagl.nl header.i=@schinagl.nl header.a=rsa-sha256 header.s=7of9 header.b=ei7Cu5jr; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 483Fjb4pGlz9sR1 for ; Thu, 23 Jan 2020 19:26:27 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 885CC81749; Thu, 23 Jan 2020 09:26:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=schinagl.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=schinagl.nl header.i=@schinagl.nl header.b="ei7Cu5jr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EA95981744; Thu, 23 Jan 2020 09:26:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from 7of9.schinagl.nl (7of9.schinagl.nl [62.251.20.244]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3031881744 for ; Thu, 23 Jan 2020 09:26:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=schinagl.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=oliver@schinagl.nl Received: from 3of9.evbox.com (unknown [83.232.59.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by 7of9.schinagl.nl (Postfix) with ESMTPSA id 654AC12D0554; Thu, 23 Jan 2020 09:26:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schinagl.nl; s=7of9; t=1579767979; bh=bxnxXZmVVnfXxhy5kK9HtJaP0y1orpNgsEKmSBPr3Bg=; h=From:To:Cc:Subject:Date; b=ei7Cu5jrSwQyOaGnKsMUYsdVR9U/kqWK62N3+jxvsstGoKjMq2TMiYcA92DB71xpL SmMz6ZLAH0u2iYK483J9DQx18SFCJLTSiuIU47znc3JRX0G1dqADTG06n0HnmZfQz2 zhAsVSP8mxE0mpYXEdv9vX5hwlB38LM1MazklR0Q= From: Olliver Schinagl To: Michal Simek Subject: [PATCH] Kconfig/fpga_zynq: Depend on FPGA Date: Thu, 23 Jan 2020 09:26:12 +0100 Message-Id: <20200123082612.22626-1-oliver@schinagl.nl> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olliver Schinagl , u-boot@lists.denx.de, Olliver Schinagl Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean The zynq FPGA bits require the main FPGA bits to be enabled as we otherwise get the following compiler error: arch/arm/mach-zynq/cpu.c: In function 'arch_early_init_r': arch/arm/mach-zynq/cpu.c:118:37: error: 'const struct ' has no member named 'fpga_size' fpga.size = zynq_fpga_descs[cpu_id].fpga_size; ^ Signed-off-by: Olliver Schinagl --- drivers/fpga/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index fe398a1d49..1d2df617d0 100644 --- a/drivers/fpga/Kconfig +++ b/drivers/fpga/Kconfig @@ -81,6 +81,7 @@ config FPGA_VIRTEX2 config FPGA_ZYNQPL bool "Enable Xilinx FPGA for Zynq" depends on ARCH_ZYNQ + select FPGA help Enable FPGA driver for loading bitstream in BIT and BIN format on Xilinx Zynq devices.