[U-Boot] [PATCH v2] MX51: mx51evk: Use struct to access SRSR register instead of offset

Detlev Zundel dzu at denx.de
Wed Apr 13 13:48:59 CEST 2011


Hi Fabio,

> Use struct to access SRSR register instead of offset. While at it mask 
> the 7 bits of SRSR for correctness.
>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

The SRSR is a MX51 register and thus not board specific.  Can we please
move this reset cause detection into common mx51 code so other boards
will profit from it also?

Thanks
  Detlev

-- 
(7)  It is always something
(7a) (corollary). Good, Fast, Cheap: Pick any two (you can't have all three).
                                   -- The Twelve Networking Truths (RFC 1925)
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list