projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5182186
)
Blackfin: bf527-ad7160-eval: convert from old style MMR macros
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 25 Jul 2010 21:19:36 +0000
(17:19 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 2 Oct 2010 20:00:37 +0000
(16:00 -0400)
The old MMR defines are being scrubbed, so convert the driver to use the
new standard helper macros.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
board/bf527-ad7160-eval/bf527-ad7160-eval.c
patch
|
blob
|
history
diff --git
a/board/bf527-ad7160-eval/bf527-ad7160-eval.c
b/board/bf527-ad7160-eval/bf527-ad7160-eval.c
index b06d5ab2e86de64d661749639fe11d76a7598c2c..ea405b639d61cbf83b5d01059a2b71a162994b5f 100644
(file)
--- a/
board/bf527-ad7160-eval/bf527-ad7160-eval.c
+++ b/
board/bf527-ad7160-eval/bf527-ad7160-eval.c
@@
-20,6
+20,6
@@
int checkboard(void)
int misc_init_r(void)
{
/* CLKIN Buffer Output Enable */
-
*pVR_CTL |= CLKBUFOE
;
+
bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE)
;
return 0;
}