projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add bootcount to AT91
[oweals/u-boot.git]
/
board
/
pm854
/
pm854.c
diff --git
a/board/pm854/pm854.c
b/board/pm854/pm854.c
index db855df6fb7974d16f3e11d58c84993149a5e29e..5353d738b4cfe13c55875db5fc8a0cc36bc61227 100644
(file)
--- a/
board/pm854/pm854.c
+++ b/
board/pm854/pm854.c
@@
-144,13
+144,13
@@
local_bus_init(void)
* Errata LBC11.
* Fix Local Bus clock glitch when DLL is enabled.
*
* Errata LBC11.
* Fix Local Bus clock glitch when DLL is enabled.
*
- * If localbus freq is < 66M
h
z, DLL bypass mode must be used.
- * If localbus freq is > 133M
h
z, DLL can be safely enabled.
+ * If localbus freq is < 66M
H
z, DLL bypass mode must be used.
+ * If localbus freq is > 133M
H
z, DLL can be safely enabled.
* Between 66 and 133, the DLL is enabled with an override workaround.
*/
get_sys_info(&sysinfo);
* Between 66 and 133, the DLL is enabled with an override workaround.
*/
get_sys_info(&sysinfo);
- clkdiv = lbc->lcrr &
0x0f
;
+ clkdiv = lbc->lcrr &
LCRR_CLKDIV
;
lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv;
if (lbc_hz < 66) {
lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv;
if (lbc_hz < 66) {