[U-Boot] Reset Status on MPC83xx

Sridhar Addagada sridhar_a at yahoo.com
Tue Dec 20 06:59:54 CET 2011


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

Thanks
S


More information about the U-Boot mailing list