summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2010-10-08 11:02:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-12 22:10:35 +0200
commitb531c53e74ed686947bd45eab22fb4d3b793a33b (patch)
tree05bfa125936489c8997b533828e1ed0c2a9c70f9 /scripts
parent857b9f558b1cdd2912ccc65f248c85d7c5acb372 (diff)
downloadbarebox-b531c53e74ed686947bd45eab22fb4d3b793a33b.tar.gz
barebox-b531c53e74ed686947bd45eab22fb4d3b793a33b.tar.xz
Switch the i.MX27's PLL in a safe manner
Changing PLL settings is somehow tricky on the i.MX27: Whenever the clock speed of the main PLL is changed, the clock stops for about 100 us until the PLL locks into the new frequency. While this clock stop, also the SDRAM controller cannot refresh the memory, because it uses the same clock source. This can lead into data loss and random system crashes. This patch divides the PLL setting in two steps. First step is to re-program the PLL and clock settings to values possible at a core supply of 1.25 V. Second step is to increase the core power supply to 1.45 V and switch the CPU clock to the specified 400 MHz. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions