From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6195C4332F for ; Thu, 16 Dec 2021 14:11:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237765AbhLPOLb (ORCPT ); Thu, 16 Dec 2021 09:11:31 -0500 Received: from esa.microchip.iphmx.com ([68.232.153.233]:10939 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237754AbhLPOLa (ORCPT ); Thu, 16 Dec 2021 09:11:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1639663889; x=1671199889; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Cn32FVsFXj7kfAuzJ2kdL23yH/APr88N4Syy5Ekn8OM=; b=eyeJFPQDyPJd3HHTMpXpD4QCGvBK+u86+KskR+rUTzuVn6hmvGIw5fJ4 Qr5o8TaK8hto5R0OfW1H2GqezReCutr7v9PWOnHTS6/Empb/cMEfsowKt +BEQbJTun/X5IAFsyPnH+eagOA8NK7KwkqRFqSbZSFoeXZXNpd00EOfZy ILwKbeVOZk/Ss3aOpb3dk/jDSQlHN6hRJahm8pcscoi9fghpfnJ+p638o Gl1Wx2PBWNlM/ogRBjG0O7GPZlFTDrItf4Xzh1I+vIbRDrweVYvGyfBGw B3C+PQPJsUdhpUFO35cRd7G3TFElWIMf9iJphC442nHbkubvVfjW1EwdU A==; IronPort-SDR: 6hpipkpsGy1eUV4LY0tRSeT+Vo5RQrrGtrB01+f9j4W8WkpaXasP9jEgVzJo9r/ZZL/r3StRWn bZNttU9TS2p6YGGj1BNkvJSkeXcQZHBRyLGGSS2vIcHQrosbR8i5tylctMkjYIaWIMbmKp3vn2 RLR19yArvbnW/+lBPtgj0zUs7/BHLownkqw6ukWWx0wWkiQ3Pu7XwNB03XA6OM7Shi4UHbhO+m wpJGDGP1i4kl7E2783ulH7p/Uj0FocybyfBTHHXP6D3fpL5/YS2tT6UrfLXnMnNMfbeJV5YVG2 9UuwZqMpRAgLaTl/PZBX/frA X-IronPort-AV: E=Sophos;i="5.88,211,1635231600"; d="scan'208";a="147461397" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Dec 2021 07:11:28 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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, 16 Dec 2021 07:11:28 -0700 Received: from rob-dk-mpu02.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 16 Dec 2021 07:11:25 -0700 From: Claudiu Beznea To: , , , , , , CC: , , , Subject: [PATCH 1/8] ARM: at91: ddr: remove CONFIG_SOC_SAMA7 dependency Date: Thu, 16 Dec 2021 16:13:31 +0200 Message-ID: <20211216141338.35144-2-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211216141338.35144-1-claudiu.beznea@microchip.com> References: <20211216141338.35144-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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__ */ -- 2.32.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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 416CCC433EF for ; Thu, 16 Dec 2021 14:13:32 +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=S8lt6O0v9EYpyJ k6JlMvD5YxdL21l9aRchUcj1XkAhScjtw3P01Ult5PWFdy7LjLJyyYDSOXk+HzfieUYXmQvQKlhnp j9mXjPrt+xAt9aE/IiUPpdyy4mVi2I59v7XdtnKKIytNQ1K6OGHRBOqS347Jjge5U++LNoUhLmC6K z4uj/kIxMlNzY0fLjB5MfDYFr3YwL1DFliT/qYyCXokckjX34OY7vlg7M0XCjJcYNIY8xrrv0JFJw GhO6Sww/K/3c7GjFU5xazxDFPvBqpX3+sxoJUs+29nG11fIWPPc5yj7FNy3/Xj22JKlSeyADIgFIB 9sR8LqZD7iGOH/9GRwow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mxrTz-00646S-Kw; Thu, 16 Dec 2021 14:11:44 +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 1mxrTl-00643v-J3 for linux-arm-kernel@lists.infradead.org; Thu, 16 Dec 2021 14:11:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1639663889; x=1671199889; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Cn32FVsFXj7kfAuzJ2kdL23yH/APr88N4Syy5Ekn8OM=; b=eyeJFPQDyPJd3HHTMpXpD4QCGvBK+u86+KskR+rUTzuVn6hmvGIw5fJ4 Qr5o8TaK8hto5R0OfW1H2GqezReCutr7v9PWOnHTS6/Empb/cMEfsowKt +BEQbJTun/X5IAFsyPnH+eagOA8NK7KwkqRFqSbZSFoeXZXNpd00EOfZy ILwKbeVOZk/Ss3aOpb3dk/jDSQlHN6hRJahm8pcscoi9fghpfnJ+p638o Gl1Wx2PBWNlM/ogRBjG0O7GPZlFTDrItf4Xzh1I+vIbRDrweVYvGyfBGw B3C+PQPJsUdhpUFO35cRd7G3TFElWIMf9iJphC442nHbkubvVfjW1EwdU A==; IronPort-SDR: 6hpipkpsGy1eUV4LY0tRSeT+Vo5RQrrGtrB01+f9j4W8WkpaXasP9jEgVzJo9r/ZZL/r3StRWn bZNttU9TS2p6YGGj1BNkvJSkeXcQZHBRyLGGSS2vIcHQrosbR8i5tylctMkjYIaWIMbmKp3vn2 RLR19yArvbnW/+lBPtgj0zUs7/BHLownkqw6ukWWx0wWkiQ3Pu7XwNB03XA6OM7Shi4UHbhO+m wpJGDGP1i4kl7E2783ulH7p/Uj0FocybyfBTHHXP6D3fpL5/YS2tT6UrfLXnMnNMfbeJV5YVG2 9UuwZqMpRAgLaTl/PZBX/frA X-IronPort-AV: E=Sophos;i="5.88,211,1635231600"; d="scan'208";a="147461397" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 16 Dec 2021 07:11:28 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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, 16 Dec 2021 07:11:28 -0700 Received: from rob-dk-mpu02.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 16 Dec 2021 07:11:25 -0700 From: Claudiu Beznea To: , , , , , , CC: , , , Subject: [PATCH 1/8] ARM: at91: ddr: remove CONFIG_SOC_SAMA7 dependency Date: Thu, 16 Dec 2021 16:13:31 +0200 Message-ID: <20211216141338.35144-2-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211216141338.35144-1-claudiu.beznea@microchip.com> References: <20211216141338.35144-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-20211216_061129_679406_86639F61 X-CRM114-Status: UNSURE ( 8.79 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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__ */ -- 2.32.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel