From patchwork Thu Jan 13 14:48:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12712828 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E271C433F5 for ; Thu, 13 Jan 2022 14:49:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rFy6PwRUCWn62hygjmSh5Jruxz9C2GKz85+4uF9ta0M=; b=Orrxp+QZfyNpYx n5wGue66PP59aoDg96dAN6QGtrqR9YkMi3ikA3PlcZK7X5+6dnVd1je4ZL8cLzW7w9NKsECWJmw6b 4FqnHLR92BqvorRYS2+JmvVAWZdN83XFmzHzaq2fj6lzbXWRlR+GHZppXl9Us9gTZqSSKhw6v7Ym+ tzfSL4kUF+a4jIuPar+kOxuhcX7rQ4gkCMCOk9N6FVtL7jY3h5cOn0CjJnHNkgaR9tSITR7noMJsY 6jqSG3Rml3BL4xzuwKGkqbaVM3IttZLcl0uKnj4J/DFmb3PuyqU+inFyFTnw8zcdeazeBzGDdANIa Um1D230TDjg8lgJXv2pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n81Og-006GqO-4H; Thu, 13 Jan 2022 14:48:14 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n81OT-006GjS-Dg for linux-arm-kernel@lists.infradead.org; Thu, 13 Jan 2022 14:48:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1642085281; x=1673621281; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Cn32FVsFXj7kfAuzJ2kdL23yH/APr88N4Syy5Ekn8OM=; b=zZRlmmwYzMH00kshQxD9Tb5uPnMV3qN92552dOqPr4ehw/mCzdg6I4j2 rFgyCyE4o2T/HH2orVEARIdO33m4Bdb+wuE/XZvenDkpeBkBMZoSPAsI5 g95Oj6Wbw3oLzU2qgAUMl2euCJgmJRvq/CcSRDNr1Nz8iCSlzBGKfwo72 27wUehWQPTRKQgSJ2Rj4TGFQ5xP+QeRF/0Cg1zY8ZKQEKYHn3QvAZ1PQV kaZxxIHFFjxIR7yAzJrVaE44x+8ppKPY551Z78ojbQUC+0OIDRAZ0uW+9 el6Av4neyJluM8ltvEaoz+BtO/dnmw2GyxNtRn5qVj/cc/nJ4Je08Mvo7 w==; IronPort-SDR: fhquOLUgqGAvIcJkV2498oPQ6QQ7zP3v7mekOLklhyq1LekwwggcAVs0+xjrfgZ6mukC52xtSf vSLQ5bY0A6mJnx7mcyHhrSTUllwlY1EYJJZ6FjHLyNEJCT1EBcv2/uSgX8RVBGO/dgdGeDXX96 nHws1Rz7K0Ysj32+GLRHD7HkFOt08poGmDqCct+cmnyf+CcHaqL33a9jzcykTAiNm7uPsumKCQ EVplH+y2VqRHIWP8I0LsGMorosP3wJbF/FasQZ306vOxfG0EfYnMrJ7OXpNdSmC+5uVGNBxnsJ bJZhRVV61vMUFPcucJ2E8tPq X-IronPort-AV: E=Sophos;i="5.88,286,1635231600"; d="scan'208";a="150108166" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Jan 2022 07:47:59 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 13 Jan 2022 07:47:58 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 13 Jan 2022 07:47:55 -0700 From: Claudiu Beznea To: , , , , , , CC: , , , , Claudiu Beznea Subject: [PATCH v2 01/10] ARM: at91: ddr: remove CONFIG_SOC_SAMA7 dependency Date: Thu, 13 Jan 2022 16:48:51 +0200 Message-ID: <20220113144900.906370-2-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220113144900.906370-1-claudiu.beznea@microchip.com> References: <20220113144900.906370-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220113_064801_494994_D2E50B25 X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove CONFIG_SOC_SAMA7 dependency to avoid having #ifdef preprocessor directives in driver code (arch/arm/mach-at91/pm.c). This prepares the code for next commits. Signed-off-by: Claudiu Beznea --- include/soc/at91/sama7-ddr.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/soc/at91/sama7-ddr.h b/include/soc/at91/sama7-ddr.h index f6542584ca13..13b47e26cdbe 100644 --- a/include/soc/at91/sama7-ddr.h +++ b/include/soc/at91/sama7-ddr.h @@ -11,8 +11,6 @@ #ifndef __SAMA7_DDR_H__ #define __SAMA7_DDR_H__ -#ifdef CONFIG_SOC_SAMA7 - /* DDR3PHY */ #define DDR3PHY_PIR (0x04) /* DDR3PHY PHY Initialization Register */ #define DDR3PHY_PIR_DLLBYP (1 << 17) /* DLL Bypass */ @@ -75,6 +73,4 @@ #define UDDRC_PCTRL_3 (0x6A0) /* UDDRC Port 3 Control Register */ #define UDDRC_PCTRL_4 (0x750) /* UDDRC Port 4 Control Register */ -#endif /* CONFIG_SOC_SAMA7 */ - #endif /* __SAMA7_DDR_H__ */