[U-Boot] [PATCH V3] imx25: Fix reset
Stefano Babic
sbabic at denx.de
Wed Oct 27 17:29:11 CEST 2010
On 10/27/2010 04:43 PM, Reinhard Meyer wrote:
> Dear Matthias Weisser,
>> struct wdog_regs {
>> - u32 wcr; /* Control */
>> - u32 wsr; /* Service */
>> - u32 wrsr; /* Reset Status */
>> - u32 wicr; /* Interrupt Control */
>> - u32 wmcr; /* Misc Control */
>> + u16 wcr; /* Control */
>> + u16 wsr; /* Service */
>> + u16 wrsr; /* Reset Status */
>> + u16 wicr; /* Interrupt Control */
>> + u16 wmcr; /* Misc Control */
>> };
> What catches my ARM-aware eye:
>
> I do not know the hardware, but are those registers really
> arranged on 2 byte boundaries (00, 02, 04, 06, 08, 0a, .. offsets)?
> Probably yes, assuming your code is tested ;)
Yes, they are. It sounds strange, but they are 16-bit wide.
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list