diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-07-25 17:19:36 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-02 16:00:37 -0400 |
commit | d56b7068ce0691aa2df2c6b6f7361fe1dff7d497 (patch) | |
tree | f535b7229b2c69aad64c97490cf49bb6a3489f6a /board/bf527-ad7160-eval/bf527-ad7160-eval.c | |
parent | 5182186e8f42193f0cb5de8a05728238d771b483 (diff) | |
download | bootable_bootloader_goldelico_gta04-d56b7068ce0691aa2df2c6b6f7361fe1dff7d497.zip bootable_bootloader_goldelico_gta04-d56b7068ce0691aa2df2c6b6f7361fe1dff7d497.tar.gz bootable_bootloader_goldelico_gta04-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/bf527-ad7160-eval/bf527-ad7160-eval.c')
-rw-r--r-- | 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; } |