summaryrefslogtreecommitdiff
path: root/cpu/mpc83xx/speed.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2007-08-15 22:30:19 -0500
committerKim Phillips <kim.phillips@freescale.com>2007-08-15 22:36:33 -0500
commit8f9e0e9f339aee4ce31a338d5f27356eb5457f85 (patch)
treea89aae79ac44f23ca179aa71f3304d6b5130e7da /cpu/mpc83xx/speed.c
parentf4b2ac5ed9aaff9920d487bff8a59696c083a524 (diff)
downloadu-boot-imx-8f9e0e9f339aee4ce31a338d5f27356eb5457f85.zip
u-boot-imx-8f9e0e9f339aee4ce31a338d5f27356eb5457f85.tar.gz
u-boot-imx-8f9e0e9f339aee4ce31a338d5f27356eb5457f85.tar.bz2
mpc83xx: remaining 8360 libfdt fixes
PCI clocks and QE frequencies weren't being updated, and the core clock was being updated incorrectly. This patch also adds a /memory node if it doesn't already exist prior to update. plus some cosmetic trimming to single line comments. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'cpu/mpc83xx/speed.c')
-rw-r--r--cpu/mpc83xx/speed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/mpc83xx/speed.c b/cpu/mpc83xx/speed.c
index bf30616..cba57fa 100644
--- a/cpu/mpc83xx/speed.c
+++ b/cpu/mpc83xx/speed.c
@@ -351,6 +351,7 @@ int get_clocks(void)
gd->qe_clk = qe_clk;
gd->brg_clk = brg_clk;
#endif
+ gd->pci_clk = pci_sync_in;
gd->cpu_clk = gd->core_clk;
gd->bus_clk = gd->csb_clk;
return 0;