[U-Boot] [PATCH v4 4/7] arm: rmobile: kzm9g: Add dummy member to struct sh73a0_rwdt

Nobuhiro Iwamatsu
2012-07-20T00:15:44Z

Hi,

Sorry, I dropped volatile qualifiers from register struct.
Please remove volatile qualifiers from your code.

Best regards,
Nobuhiro

2012/7/17 Tetsuyuki Kobayshi <koba@kmckk.co.jp>:
> From: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
>
> Add dummy member to struct sh73a0_rwdt in sh73a0.h.
> Without this, initializing watch dog timer goes wrong.
>
> Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
> ---
> Changes for v2:
> - New
> Changes for v3:
> - No change
> Changes for v4:
> - No change
>
> 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 ad59be7..74d1c48 100644
> --- a/arch/arm/include/asm/arch-rmobile/sh73a0.h
> +++ b/arch/arm/include/asm/arch-rmobile/sh73a0.h
> @@ -60,7 +60,9 @@
> /* RWDT */
> struct sh73a0_rwdt {
> volatile u16 rwtcnt0; /* 0x00 */
> + volatile u16 dummy0; /* 0x02 */
> volatile u16 rwtcsra0; /* 0x04 */
> + volatile u16 dummy1; /* 0x06 */
> volatile u16 rwtcsrb0; /* 0x08 */
> };
>
> --
> 1.7.9.5
>

--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6