projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
499e783
)
ppc4xx: Fix sys_get_info() for 405GP(r)
author
Matthias Fuchs
<matthias.fuchs@esd-electronics.com>
Fri, 18 Apr 2008 15:24:32 +0000
(17:24 +0200)
committer
Stefan Roese
<sr@denx.de>
Mon, 21 Apr 2008 04:54:08 +0000
(06:54 +0200)
This patch assigns the correct EBC clock for 405GP(r) CPUs
to PPC4xx_SYS_INFO structure. Without this patch U-Boot
uses an uninitialized EBC clock in its startup message.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
cpu/ppc4xx/speed.c
patch
|
blob
|
history
diff --git
a/cpu/ppc4xx/speed.c
b/cpu/ppc4xx/speed.c
index fa799529d375f17598db1a2e1fc5b10cac921ce2..05b42fec97702e82ede6ec363d526c923e0d41df 100644
(file)
--- a/
cpu/ppc4xx/speed.c
+++ b/
cpu/ppc4xx/speed.c
@@
-165,6
+165,8
@@
void get_sys_info (PPC4xx_SYS_INFO * sysInfo)
}
}
+ sysInfo->freqEBC = sysInfo->freqPLB / sysInfo->pllExtBusDiv;
+
sysInfo->freqUART = sysInfo->freqProcessor;
}