On Fri, 2014-08-08 at 11:35 +0530, Vineeth wrote: > Was wondering how "reboot" works from linux kernel for t1040qds. > > > When checked, @arch/powerpc/sysdev/fsl_soc.c > > __setup_rstcr, an ioremap is done for the offset 0xb0 and writes 0x2 > to that to reboot the machine. and it works properly. > > > when checked the reference manual for T1040QDS, it was given that > RST_CTL is at offset 0x40 and the RST is the 7th bit of same.
RSTCR is an SoC register (see DCFG_CCSR_RSTCR in T1040RM), not something implemented by the board. Are you perhaps looking at some QIXIS register? -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev