]> git.sur5r.net Git - u-boot/commitdiff
Blackfin: bf527-ad7160-eval: convert from old style MMR macros
authorMike Frysinger <vapier@gentoo.org>
Sun, 25 Jul 2010 21:19:36 +0000 (17:19 -0400)
committerMike 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

index b06d5ab2e86de64d661749639fe11d76a7598c2c..ea405b639d61cbf83b5d01059a2b71a162994b5f 100644 (file)
@@ -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;
 }