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 fed0ed431872b5149ddcf100e5a79827e1286b73..5353d738b4cfe13c55875db5fc8a0cc36bc61227 100644
(file)
--- a/
board/pm854/pm854.c
+++ b/
board/pm854/pm854.c
@@
-150,7
+150,7
@@
local_bus_init(void)
*/
get_sys_info(&sysinfo);
*/
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) {