summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-25 17:19:36 -0400
committerMike Frysinger <vapier@gentoo.org>2010-10-02 16:00:37 -0400
commitd56b7068ce0691aa2df2c6b6f7361fe1dff7d497 (patch)
treef535b7229b2c69aad64c97490cf49bb6a3489f6a /board
parent5182186e8f42193f0cb5de8a05728238d771b483 (diff)
downloadu-boot-imx-d56b7068ce0691aa2df2c6b6f7361fe1dff7d497.zip
u-boot-imx-d56b7068ce0691aa2df2c6b6f7361fe1dff7d497.tar.gz
u-boot-imx-d56b7068ce0691aa2df2c6b6f7361fe1dff7d497.tar.bz2
Blackfin: bf527-ad7160-eval: convert from old style MMR macros
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>
Diffstat (limited to 'board')
-rw-r--r--board/bf527-ad7160-eval/bf527-ad7160-eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bf527-ad7160-eval/bf527-ad7160-eval.c b/board/bf527-ad7160-eval/bf527-ad7160-eval.c
index b06d5ab..ea405b6 100644
--- 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;
}