From: Mike Frysinger Date: Sun, 25 Jul 2010 21:19:36 +0000 (-0400) Subject: Blackfin: bf527-ad7160-eval: convert from old style MMR macros X-Git-Tag: v2010.12-rc1~169^2~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d56b7068ce0691aa2df2c6b6f7361fe1dff7d497;p=u-boot 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 --- diff --git a/board/bf527-ad7160-eval/bf527-ad7160-eval.c b/board/bf527-ad7160-eval/bf527-ad7160-eval.c index b06d5ab2e8..ea405b639d 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; }