From patchwork Thu Jun 2 03:19:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Howard X-Patchwork-Id: 628947 X-Patchwork-Delegate: trini@ti.com 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 3rKt1w6GV2z9t61 for ; Thu, 2 Jun 2016 13:27:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 50582A74D2; Thu, 2 Jun 2016 05:26:58 +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 zClEVp5eLetY; Thu, 2 Jun 2016 05:26:58 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A9D0A4B811; Thu, 2 Jun 2016 05:26:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C1BE64B811 for ; Thu, 2 Jun 2016 05:26:54 +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 13J4UBkKQRpd for ; Thu, 2 Jun 2016 05:26:54 +0200 (CEST) X-Greylist: delayed 408 seconds by postgrey-1.34 at theia; Thu, 02 Jun 2016 05:26:49 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 mail.northern-ridge.com.au (11.209.149.122.sta.dodo.net.au [122.149.209.11]) by theia.denx.de (Postfix) with ESMTP id D30284B801 for ; Thu, 2 Jun 2016 05:26:49 +0200 (CEST) Received: from pig.nridge.com.au (pig.nridge.com.au [192.168.0.4]) by mail.northern-ridge.com.au (Postfix) with ESMTPS id C3EA44002351 for ; Thu, 2 Jun 2016 13:19:57 +1000 (AEST) Message-ID: <1464837566.2290.2.camel@northern-ridge.com.au> From: Peter Howard To: u-boot@lists.denx.de Date: Thu, 02 Jun 2016 13:19:26 +1000 X-Mailer: Evolution 3.16.5 (3.16.5-3.fc22) Mime-Version: 1.0 Subject: [U-Boot] [PATCH] Fix to davinci_nand.h to place CEnCFG registers at correct X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Signed-off-by: Peter Howard --- arch/arm/include/asm/ti-common/davinci_nand.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/ti-common/davinci_nand.h b/arch/arm/include/as m/ti-common/davinci_nand.h index 11407be..f343ac2 100644 --- a/arch/arm/include/asm/ti-common/davinci_nand.h +++ b/arch/arm/include/asm/ti-common/davinci_nand.h @@ -35,10 +35,12 @@ struct davinci_emif_regs { uint32_t sdrcr; union { uint32_t abncr[4]; - uint32_t ab1cr; - uint32_t ab2cr; - uint32_t ab3cr; - uint32_t ab4cr; + struct { + uint32_t ab1cr; + uint32_t ab2cr; + uint32_t ab3cr; + uint32_t ab4cr; + }; }; uint32_t sdtimr; uint32_t ddrsr; -- 1.9.1