[U-Boot] Reset Status on MPC83xx

Sridhar Addagada sridhar_a at yahoo.com
Tue Dec 20 14:15:29 CET 2011


Thought so, i was looking at the wrong manual 837x, hence did not find the section

Thanks
S



________________________________
 From: Wolfgang Denk <wd at denx.de>
To: Sridhar Addagada <sridhar_a at yahoo.com> 
Cc: "u-boot at lists.denx.de" <u-boot at lists.denx.de> 
Sent: Tuesday, December 20, 2011 5:18 PM
Subject: Re: [U-Boot] Reset Status on MPC83xx
 
Dear Sridhar Addagada,

In message <1324360794.59571.YahooMailNeo at web120203.mail.ne1.yahoo.com> you wrote:
> 
> In an effort to find the cause of reboot from linux userspace, which
> was always returning hardreset, i traced the reason for the reset
> status register being cleared is from file
> arch/powerpc/cpu/mpc83xx/cpu_init.c, 
> 
> /* RSR - Reset Status Register - clear all status (4.6.1.3) */
>     gd->reset_status __raw_readl(&im->reset.rsr);
>     __raw_writel(~(RSR_RES), &im->reset.rsr);
> 
> 
> Can anyone throw some light why it is getting cleared and what is 4.6.1.3

"(4.6.1.3)" usually means the relevant section in the respective
user's manual (MPC8349E PowerQUICC II Pro Integrated Host Processor
Family Reference Manual, Rev. 1), here section "4.6.1.3 Reset Status
Register (RSR)" on page 4-37 ff.

The Note also explains why it makes sense to clear the register (so
you can get a sane state for only the next reset/reboot).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What can it profit a man to gain the whole world and to come  to  his
property with a gastric ulcer, a blown prostate, and bifocals?
                                     -- John Steinbeck, _Cannery Row_


More information about the U-Boot mailing list