From patchwork Mon Dec 28 12:45:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 352692 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9806044jai; Mon, 28 Dec 2020 06:57:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxd+fZidPAJB1dJAVyKnbx/Xdq251/V3z7m+xwBkwBu16clg4fAOwqQ71kGcfLPNeB31cA+ X-Received: by 2002:a17:906:eb5b:: with SMTP id mc27mr41498048ejb.163.1609167438079; Mon, 28 Dec 2020 06:57:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609167438; cv=none; d=google.com; s=arc-20160816; b=HDrbcKsPCiOXDBHk3blBnU2OSW0FBBPgi5CGtxO4ThI3uOl+9g8ba4pB2yx5EL7QLR pvyI3clxEuphTtxxDIeZQqj0XeS9tzIQ6jW9LLuM+xZS8jt7TU1tb2K/F0tSSOBwBEXp bLDqKlMOOgqGRq4CNUwqQhGwKVjlnUugjdhERu26Kls4wr22QcJXvQKSjqIctICqyi7G Ln2KcJ4/Iw9zZ3HliOAGhvoXCQJzeuoMOan4/EDzFOkNEA95pWj2k86RqMriIUauY3mK A4kJlAiBpOObJbW6LsCxI8GEfwSQcoBV7TpokiT5irA90T48wvvmXNP+aHt5NGsOSCHv zRMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=chYBo4Y959vdY/X8l+t5twIbkq6Ax/v/Dib/n8Wf0ho=; b=xy9iVX/BmzGZCQqjceIeSsDSgoS7lYfjQm6XCmdL0rRCmTodV50qPNJpR93L4KqbGg hOnedfEL6UFVHQbYxeCYOAQ+gSSfcq7AWs2RSofnyOunuZg0nhyVkN0cqUnw4n7jhXXr VFrjV05wwldllc9Zg5mtWNBucFlnl1JTA89MzMXroj7kZ4KKcGwf+WCPngZ8wWzmJSTC uh0s5eeWoZLRjcpDleP0FTbP3KDux5E7WxkLlT1LzVuxZfJH32PkQcKbMpfbEFAgDNig Kk+mvr6GmWBVnV0apurF4D7QL4ZsjVN5z3sBn70HPswtHY7KWPRYs3T2LQ4klEv7yQSv uqkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G4Mrxj7t; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si19937582ejj.425.2020.12.28.06.57.17; Mon, 28 Dec 2020 06:57:18 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G4Mrxj7t; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391779AbgL1OQZ (ORCPT + 14 others); Mon, 28 Dec 2020 09:16:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:51196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440885AbgL1OQH (ORCPT ); Mon, 28 Dec 2020 09:16:07 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9EF8320791; Mon, 28 Dec 2020 14:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164927; bh=WDcTPrTXz9qUtyo8bsOW9H+jSc4yZdmHOzryDsLKWVA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G4Mrxj7tr92Ah02QvnNP0MhxO7Ow8F8xAPyqN0m3xwkTtURTP/iYrWPGytyqv2oY9 KM+S1PU7GWZPEndIJaIXTd4QJuVnvwlM3AxIK/knOQoPKsRU3gF2pfr5xfaf/IRdsI vzvfWhr03HFE0OzXl0m+UgZUg9ybE5/YWy28DzO8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 5.10 317/717] memory: ti-emif-sram: only build for ARMv7 Date: Mon, 28 Dec 2020 13:45:15 +0100 Message-Id: <20201228125036.221339172@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann [ Upstream commit d77d22d701b0471584abe1871570bb43deb6e3c4 ] The driver can be compile-tested on all ARM machines, but causes a failure when built for ARMv7-M: arm-linux-gnueabi-ld: error: drivers/memory/ti-emif-sram-pm.o: conflicting architecture profiles A/M Limit the target machines to configurations that have ARMv7 enabled. Fixes: ea0c0ad6b6eb ("memory: Enable compile testing for most of the drivers") Signed-off-by: Arnd Bergmann Link: https://lore.kernel.org/r/20201203230832.1481767-1-arnd@kernel.org Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- drivers/memory/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 00e013b14703e..cc2c83e1accfb 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -128,7 +128,7 @@ config OMAP_GPMC_DEBUG config TI_EMIF_SRAM tristate "Texas Instruments EMIF SRAM driver" - depends on SOC_AM33XX || SOC_AM43XX || (ARM && COMPILE_TEST) + depends on SOC_AM33XX || SOC_AM43XX || (ARM && CPU_V7 && COMPILE_TEST) depends on SRAM help This driver is for the EMIF module available on Texas Instruments