From patchwork Mon Feb 12 14:52:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Goldschmidt X-Patchwork-Id: 872101 X-Patchwork-Delegate: marek.vasut@gmail.com 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=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zg7tl17zKz9t2R for ; Tue, 13 Feb 2018 01:52:31 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id BFBA6C21EE0; Mon, 12 Feb 2018 14:52:27 +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=none 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 3ECFEC21E5B; Mon, 12 Feb 2018 14:52:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 165F5C21EC2; Mon, 12 Feb 2018 14:52:16 +0000 (UTC) Received: from mailout.pepperl-fuchs.com (mailout.pepperl-fuchs.com [212.21.166.229]) by lists.denx.de (Postfix) with ESMTPS id 6C9A3C21EE3 for ; Mon, 12 Feb 2018 14:52:16 +0000 (UTC) Received: from PFDE-CAS2.EU.P-F.BIZ (pfde-cas2.eu.p-f.biz [172.24.5.134]) by mailout.pepperl-fuchs.com (Postfix) with ESMTP id 3767081D3E; Mon, 12 Feb 2018 15:52:16 +0100 (CET) Received: from localhost.localdomain (172.24.114.233) by PFDE-CAS2.EU.P-F.BIZ (172.24.5.134) with Microsoft SMTP Server (TLS) id 14.3.301.0; Mon, 12 Feb 2018 15:52:15 +0100 From: Simon Goldschmidt To: Date: Mon, 12 Feb 2018 15:52:12 +0100 Message-ID: <20180212145212.31720-1-sgoldschmidt@de.pepperl-fuchs.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Originating-IP: [172.24.114.233] X-EXCLAIMER-MD-CONFIG: 1e262833-c6b8-4d86-a546-40bddc43f2e2 Cc: Marek Vasut Subject: [U-Boot] [PATCH] arm: socfpga: use imply instead of select for spi/mmc 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" In arch/arm/Kconfig, ARCH_SOCFPGA currently selects some thins for spi flash and mmc that are not required by the hw. Give users more freedom of choice and use imply here instead of select. This should allow disabling spi support completely or using sd/mmc boot in "raw mode" (no partitions). Signed-off-by: Simon Goldschmidt --- arch/arm/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 225f57e847..37bf3dd69f 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -699,13 +699,13 @@ config ARCH_SOCFPGA select OF_CONTROL select SPL_OF_CONTROL select DM - select DM_SPI_FLASH - select DM_SPI select ENABLE_ARM_SOC_BOOT0_HOOK select ARCH_EARLY_INIT_R select ARCH_MISC_INIT - select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION select SYS_THUMB_BUILD + imply DM_SPI_FLASH + imply DM_SPI + imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION imply CMD_MTDPARTS imply CRC32_VERIFY imply FAT_WRITE