]> git.sur5r.net Git - u-boot/commit
Blackfin: put memory into self-refresh before/after programming clocks
authorMike Frysinger <vapier@gentoo.org>
Sun, 12 Oct 2008 01:58:33 +0000 (21:58 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 23 Mar 2009 19:14:55 +0000 (15:14 -0400)
commit74398b23f9c2ffdc137fd92910a46e3333fb93f9
tree40b0cb30e95b29ab6866cea3d7754dc5ffb0732b
parentd347d572ab1f2d47bf257c9f7ca2e602038a136b
Blackfin: put memory into self-refresh before/after programming clocks

When initializing the core clocks, stick external memory into self-refresh.
This gains us a few cool things:
 - support suspend-to-RAM with Linux
 - reprogram clocks automatically when doing "go" on u-boot.bin in RAM
 - make sure settings are stable before flashing new version
 - finally fully unify initialize startup code path between LDR/non-LDR

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
cpu/blackfin/initcode.c
cpu/blackfin/start.S