The old MMR defines are being scrubbed, so convert the driver to use the
new standard helper macros.

Signed-off-by: Mike Frysinger <vap...@gentoo.org>
---
 board/bf527-ad7160-eval/bf527-ad7160-eval.c |    2 +-
 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;
 }
-- 
1.7.3.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to