
13 Apr
2011
13 Apr
'11
1:48 p.m.
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@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@denx.de