From patchwork Fri Jul 20 09:27:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tetsuyuki Kobayashi X-Patchwork-Id: 172188 X-Patchwork-Delegate: albert.aribaud@free.fr 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 1BA5C2C0388 for ; Fri, 20 Jul 2012 19:29:17 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D1142280DB; Fri, 20 Jul 2012 11:29:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 xpLSVleCQeLy; Fri, 20 Jul 2012 11:29:14 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F1A5D280DD; Fri, 20 Jul 2012 11:29:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 760C7280DD for ; Fri, 20 Jul 2012 11:28:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 zB58AXEf0TUw for ; Fri, 20 Jul 2012 11:28:55 +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 vrgw7.firstserver.ne.jp (vrgw7.firstserver.ne.jp [164.46.1.105]) by theia.denx.de (Postfix) with ESMTPS id 36B00280DB for ; Fri, 20 Jul 2012 11:28:52 +0200 (CEST) Received: from fvrsp25.firstserver.ne.jp (fvrsp25.firstserver.ne.jp [203.183.16.3]) by vrgw7.firstserver.ne.jp (8.13.8/8.13.8/FirstServer) with ESMTP id q6K9ScYs020308; Fri, 20 Jul 2012 18:28:39 +0900 (envelope-from koba@kmckk.co.jp) Received: from 203.137.25.97 (203.137.25.97) by fvrsp25.firstserver.ne.jp (F-Secure/virusgw_smtp/407/fvrsp25.firstserver.ne.jp); Fri, 20 Jul 2012 18:28:38 +0900 (JST) X-Virus-Status: clean(F-Secure/virusgw_smtp/407/fvrsp25.firstserver.ne.jp) Received: from localhost (58-188-103-12f2.kns1.eonet.ne.jp [58.188.103.12]) (authenticated (0 bits)) by mail.kmckk.co.jp (8.14.3/8.11.3) with ESMTP id q6K9Sc57018797; Fri, 20 Jul 2012 18:28:38 +0900 From: Tetsuyuki Kobayshi To: iwamatsu@nigauri.org Date: Fri, 20 Jul 2012 18:27:56 +0900 Message-Id: <1342776476-31484-1-git-send-email-koba@kmckk.co.jp> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v5] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Tetsuyuki Kobayashi Add dummy member to struct sh73a0_rwdt in sh73a0.h. Without this, initializing watch dog timer goes wrong. Signed-off-by: Tetsuyuki Kobayashi --- Changes for v2: - New Changes for v3: - No change Changes for v4: - No change Changes for v5: - remove volatile arch/arm/include/asm/arch-rmobile/sh73a0.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/sh73a0.h b/arch/arm/include/asm/arch-rmobile/sh73a0.h index 2c0c8c6..39ed2c3 100644 --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h @@ -64,7 +64,9 @@ /* RWDT */ struct sh73a0_rwdt { u16 rwtcnt0; /* 0x00 */ + u16 dummy0; /* 0x02 */ u16 rwtcsra0; /* 0x04 */ + u16 dummy1; /* 0x06 */ u16 rwtcsrb0; /* 0x08 */ };