From patchwork Tue Mar 16 16:22:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1704 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4487F3F067 for ; Tue, 16 Mar 2021 17:22:35 +0100 (CET) Received: by mail-pg1-f197.google.com with SMTP id l2sf19025674pgi.5 for ; Tue, 16 Mar 2021 09:22:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1615911753; cv=pass; d=google.com; s=arc-20160816; b=Sso5zgPGRr6ey0zcv+cGW9E/i9MpjmKuu+lIGoaJrHNAj7mIWxpfkL67AlBjW2D5Qs QPJgf6fDx8uS0KSuoI+maluAQlEJ/xdQDRT6k0Z0DUdANVWlFQwxnPdONPJ6ckJdjQgW vOj6kajeRIhgJVLi8oHGIOAMMeMVom0csXBApJSC2ky4BP6W9FEDYJlI+hXRgb0lDbRi TK0ranRdgSos7DvSLmG2bKdf046xAYtzXT6wQGzhE0YJDC9fbdOpFm95AW6oLNWKItD5 D+yW+jH5j5Hjx6zebcTRFbYNZ40HF8iF9mO0dD1ItgNH9SDDD3aEPUnoCv+tg+/QJoPA JsYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Je6wyCYnhWr+/TF5wOQxmexbKKMULPz0I4l2VdqD/TY=; b=JCjlB83wHJYOBDTz8YvTOx6FNSchHqvBnBLAxOsp9XE0x53C7EzwfThtg4heuDZTxu 2IwVjP2HMYvpuUibpqRjBlbBmM4+xbnGPy+WvC8lCIMiIOG3KUrTqtGsfznnYs1Dyuvf I6ryYi3XfQcBshj3k+M+0zhCgT2CVBuRVCn6094mD1hHn4fXHNNQzz24j6886F9JYyFK HEAIe/3IHiLcB/XULUfstlqICW6R3vhyC0ytPXw7mg70pZBr06Tj87wFtepze9UjZzyg sqXZewaDHVEYPiFxBnJOYL9HfRB3TmpKx1UoOVIaXm9OYLKq7fPQ0FjkTwjIchaxiMXI Lwag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="H/TcHSGV"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Je6wyCYnhWr+/TF5wOQxmexbKKMULPz0I4l2VdqD/TY=; b=bSFBH4yhpx5tCzZR8COUGSr+kack5bqad5pNZQdGcs63oJdUIDcg/9tYXe3XTS3plb 4982ptYayp1XT+pMfOen8FsGCiqzp4oGJ9SO1/SfX5axj5M+dYITiz2/genOHD7IIyed lMIEEEJyIw3iThrSpfD2zrwYTIkuVNEvl9n10= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=Je6wyCYnhWr+/TF5wOQxmexbKKMULPz0I4l2VdqD/TY=; b=IiS/ykoSPaX/qClS6jhxqvhpfLs7WPj96WNO4458X8pUs87ZviXvNZBCclaL0p292U nWgomayyZ5ZDS1bW5hA+YlXOS7W5LZa8ZTmwSp1OexbePVrqeM4EOnQ12S9nRkkOfWtp a+nIXqXjSbPftGuMUm8UqePt/OhgyJnzMAgYcO3hcjJovgJMQ5SiCVLYget6u83+u8ZS 91JJd56NaNKT2fng1mHE5qTuEfjFnrfnRfXvGXcp1YlqPr2X0+duz+yMn9iWZ6F82UHO soSgBOUNP7F3P8U3hv2RgngmCnQImBrglgF4h75irjlG4J1tMYaqFGKr7VdqXU303LcH Iszg== X-Gm-Message-State: AOAM530OGjWa+dQWwMiTToBgm1LM2epCZDBC7hsfVHLzBTINvwWpiOFk OQaUKUUzppVXoSz6bbWpRjc+VSAx X-Google-Smtp-Source: ABdhPJwMFzJxNK2YLzWYA8fpH9WrwsghWv4T6yBD/pCUmmN56GGYOQJWdfkwOKW8ZD5mwLoDq2aaHg== X-Received: by 2002:a17:90b:310b:: with SMTP id gc11mr439880pjb.186.1615911753590; Tue, 16 Mar 2021 09:22:33 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:eb43:: with SMTP id i3ls10724803pli.7.gmail; Tue, 16 Mar 2021 09:22:33 -0700 (PDT) X-Received: by 2002:a17:90b:4c0a:: with SMTP id na10mr406136pjb.227.1615911752893; Tue, 16 Mar 2021 09:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615911752; cv=none; d=google.com; s=arc-20160816; b=D/o2vFqB2Vghw87dVgYTKM/Z2gY+AGFGPmKn/KuWLk7aEAAqgJIFmBRSz//SX7JhLp Fzhv1otO0svzYE8v5UtwsBbImIzvHKsnFomc4selu01fW3p52mY6h5hW7M9yLDheOBNp uW1SsGUSwe5cykh91iBeIYOFYAqWr1HIDTggZz3ob67TE8WqBjjfSKUrqG5Nhn2ueWyZ 5WZZspd1sryD5KXeO/8hNewQa9P+7JHZyx9P/NiPZVoJinGAIIDGnvEXbepzK8F8983K 0EoF4Y5sM5hDh/1ZEnI9fejre1cjy21I/1KpkQu8K5yWSyFhp7CUXm8NVmgsuv7OxG1N C06g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YzZKBH1J//EL0EHQ8l2ESnAMpxuILjG/T7wE0rLIt4s=; b=jt+NFWDDLEWslbSonC721Sd2DMMJt1hHKNb41D6rHCMTVyZjAJTFW9THa0TJtGeV6Q ESavyMcjx7KMMkbPZ4L/dDUKjo+oJz4B/ytK7S0c+OWKo9EbGZrqrOXD5hvuGRQE/u7K Pae6qPuHKvOn7lQkkTzUGEr4CJIZUDU8ZmPaLresHyLMW7HKPC+BY/cPnLx6q7OLmAjd ugR+cDzjCPIBhNrh7LIyotslyqU39iLoTnqvCj1NEt0bNu+VmBm6atD27g8l7osbwh8N TVWJedh7rARD10KWeNqLqLRbD0DgoOj8/Wc+WKVSPhpxjAVEcyudTHSE73VWLAhUnePE r63A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="H/TcHSGV"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id em22sor8898730pjb.14.2021.03.16.09.22.32 for (Google Transport Security); Tue, 16 Mar 2021 09:22:32 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90a:7c48:: with SMTP id e8mr430022pjl.89.1615911752380; Tue, 16 Mar 2021 09:22:32 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a884:9de:273e:6ee1:9865]) by smtp.gmail.com with ESMTPSA id k27sm17678240pfg.95.2021.03.16.09.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Mar 2021 09:22:32 -0700 (PDT) From: Jagan Teki To: Patrick Delaunay , Patrice Chotard , Matteo Lisi Cc: uboot-stm32@st-md-mailman.stormreply.com, u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v3 3/8] ARM: stm32: Imply SPL_SPI_LOAD Date: Tue, 16 Mar 2021 21:52:02 +0530 Message-Id: <20210316162207.35641-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210316162207.35641-1-jagan@amarulasolutions.com> References: <20210316162207.35641-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="H/TcHSGV"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , SPI Load isn't mandatory for STM32 builds. Let's imply instead of select it to get rid of build issues for non-SPI defconfigs. Reviewed-by: Patrick Delaunay Reviewed-by: Patrice Chotard Signed-off-by: Jagan Teki --- Changes for v3: - add if SPL_SPI_SUPPORT - collect Patrice r-b Changes for v2: - collect Patrice r-b arch/arm/mach-stm32mp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig index f538d7cb83..c61eb424c1 100644 --- a/arch/arm/mach-stm32mp/Kconfig +++ b/arch/arm/mach-stm32mp/Kconfig @@ -16,13 +16,13 @@ config SPL select SPL_REGMAP select SPL_DM_RESET select SPL_SERIAL_SUPPORT - select SPL_SPI_LOAD select SPL_SYSCON select SPL_WATCHDOG_SUPPORT if WATCHDOG imply BOOTSTAGE_STASH if SPL_BOOTSTAGE imply SPL_BOOTSTAGE if BOOTSTAGE imply SPL_DISPLAY_PRINT imply SPL_LIBDISK_SUPPORT + imply SPL_SPI_LOAD if SPL_SPI_SUPPORT config SYS_SOC default "stm32mp"