]> git.sur5r.net Git - u-boot/commit
fsl-ddr: make the self refresh idle threshold configurable
authorDave Liu <daveliu@freescale.com>
Fri, 21 Nov 2008 08:31:35 +0000 (16:31 +0800)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Fri, 23 Jan 2009 23:03:14 +0000 (17:03 -0600)
commit22cca7e1cd54590e967c73558b07ffbdccd39504
tree4f6322f49d1eef36f8af7e5e19297f1699e5b9a4
parent22ff3d01348e0a2dc369b7efcbac30e4ce86d178
fsl-ddr: make the self refresh idle threshold configurable

Some 85xx processors have the advanced power management feature,
such as wake up ARP, that needs enable the automatic self refresh.

If the DDR controller pass the SR_IT (self refresh idle threshold)
idle cycles, it will automatically enter self refresh. However,
anytime one transaction is issued to the DDR controller, it will
reset the counter and exit self refresh state.

Signed-off-by: Dave Liu <daveliu@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
cpu/mpc8xxx/ddr/ctrl_regs.c
include/asm-ppc/fsl_ddr_sdram.h