From patchwork Fri Oct 24 07:44:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ye.Li" X-Patchwork-Id: 403168 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 1C7A7140082 for ; Mon, 27 Oct 2014 02:06:38 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9DE42A73FB; Sun, 26 Oct 2014 16:06:13 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9TTF15ntdJXL; Sun, 26 Oct 2014 16:06:13 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 37F0EA744E; Sun, 26 Oct 2014 16:06:10 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1DC52A73EF for ; Fri, 24 Oct 2014 09:46:17 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mWzfLW1xprXd for ; Fri, 24 Oct 2014 09:46:16 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0129.outbound.protection.outlook.com [207.46.100.129]) by theia.denx.de (Postfix) with ESMTPS id 4C415A73E7 for ; Fri, 24 Oct 2014 09:46:12 +0200 (CEST) Received: from CO2PR03CA0052.namprd03.prod.outlook.com (10.141.194.179) by BLUPR03MB360.namprd03.prod.outlook.com (10.141.75.155) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Fri, 24 Oct 2014 07:46:09 +0000 Received: from BN1BFFO11FD024.protection.gbl (2a01:111:f400:7c10::1:106) by CO2PR03CA0052.outlook.office365.com (2a01:111:e400:1414::51) with Microsoft SMTP Server (TLS) id 15.1.6.9 via Frontend Transport; Fri, 24 Oct 2014 07:46:08 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD024.mail.protection.outlook.com (10.58.144.87) with Microsoft SMTP Server (TLS) id 15.0.1049.20 via Frontend Transport; Fri, 24 Oct 2014 07:46:07 +0000 Received: from leyoen-ubuntu.localdomain ([10.192.185.116]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s9O7juHV012144; Fri, 24 Oct 2014 00:46:02 -0700 From: Ye.Li To: Date: Fri, 24 Oct 2014 15:44:43 +0800 Message-ID: <1414136686-4045-2-git-send-email-B37916@freescale.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1414136686-4045-1-git-send-email-B37916@freescale.com> References: <1414136686-4045-1-git-send-email-B37916@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(50986999)(76176999)(85306004)(68736004)(87936001)(50466002)(4396001)(110136001)(50226001)(88136002)(89996001)(85852003)(48376002)(19580395003)(21056001)(104016003)(31966008)(92566001)(92726001)(93916002)(62966002)(97736003)(36756003)(64706001)(102836001)(95666004)(2351001)(84676001)(105606002)(46102003)(19580405001)(80022003)(104166001)(44976005)(87286001)(6806004)(26826002)(229853001)(76482002)(106466001)(107046002)(77156001)(20776003)(47776003)(120916001)(99396003)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR03MB360; H:tx30smr01.am.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB360; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 0374433C81 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=Ye.Li@freescale.com; X-OriginatorOrg: freescale.com Cc: fabio.estevam@freescale.com, u-boot@lists.denx.de Subject: [U-Boot] [PATCH 2/5] imx: mx6sl: Add perclk_clk_sel bit define in CCM X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The MX6SL has the perclk_clk_sel to select the perclk source. Add its define in CCM Signed-off-by: Ye.Li --- arch/arm/include/asm/arch-mx6/crm_regs.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h b/arch/arm/include/asm/arch-mx6/crm_regs.h index e67b5b9..53ffb3d 100644 --- a/arch/arm/include/asm/arch-mx6/crm_regs.h +++ b/arch/arm/include/asm/arch-mx6/crm_regs.h @@ -228,6 +228,8 @@ struct mxc_ccm_reg { #ifdef CONFIG_MX6SX #define MXC_CCM_CSCMR1_QSPI1_CLK_SEL_MASK (0x7 << 7) #define MXC_CCM_CSCMR1_QSPI1_CLK_SEL_OFFSET 7 +#endif +#if (defined(CONFIG_MX6SL) || defined(CONFIG_MX6SX)) #define MXC_CCM_CSCMR1_PER_CLK_SEL_MASK (1 << 6) #define MXC_CCM_CSCMR1_PER_CLK_SEL_OFFSET 6 #endif