Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9112986pxu; Mon, 28 Dec 2020 07:00:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmI4ozU6MCyf+VXDIToptA+IDmlEBefA4SUGXsbcxiWxsSue4JzjYXKxMde/x8TM/CfXhb X-Received: by 2002:a17:906:edca:: with SMTP id sb10mr42600217ejb.284.1609167602572; Mon, 28 Dec 2020 07:00:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609167602; cv=none; d=google.com; s=arc-20160816; b=L1RuVb7hoKu3mYIv6bmGgcTD/nY0Tsii9Sy14aHmTi3yh/ZZQuhP2Mls0Wvmt8JJYz kI4DWr+tEN0ktCxO7Llo1umRYyY/Iy72RcdNHoAI1K0Oet2WxXf78t3L8+1HHiUkM1tG Qbk7DPP2VQqpVR9RP94fcqPnP7sEf9erYyt/EowRsA/qJbGlPoV5pe7b6YHpiY/DPWqf oekAfCu8J0m5n3l+WbtjdK26L6zaTHMYl2cwBlxx/e7AwLNuOSFXUg/x9D0SiDmbdOzK SNPvWutfxh4HE4v7jyplQD0tvGRnuAEBWvNUw+v85+X1yU08L1ozXoqAmRxc+AAL3BTi h3Nw== 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=txHLqEzRnDYvntH6nD3aLQ0YfXwFS1bdHMptKvGDaaZsjANYdailGhfhXhYGn3mS+2 r2cW0GdKYJ2vADhmPOWvf2owu7nNnAvIpwSLu5/IHWNesBL5F/h2wARLtXzqQdKxM5V2 nAMOhZSPvNx769aLQAqmtZecUS0hPdpD/i9/3A2AYwGFEx+ERCexOuko/yU+JEvOvJ2/ R+TPbaDTv3jkzH45oPudbQL4KU4K0aidnvDmrBCTE/fMUA3gK0KK7K+LBQs+HdSvf+X2 b09rHT+nMz9fT0uHPhoc7yDeo0eGCVriI5dPvesLYSwRgiYMB90OHEQzEYv6wTzpi4B7 Eh/A== 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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 r12si20558764edw.349.2020.12.28.06.59.37; Mon, 28 Dec 2020 07:00:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S2441238AbgL1OQp (ORCPT + 99 others); Mon, 28 Dec 2020 09:16:45 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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 -- 2.27.0