summaryrefslogtreecommitdiff
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-12 18:42:53 -0500
committerMike Frysinger <vapier@gentoo.org>2010-01-17 09:17:27 -0500
commitf948158f72e6b880d02e4fa549362e4dc285eb1c (patch)
tree253333c6ccfe5eadf8767dd5b5815a07e7749126 /include/asm-blackfin
parent313e8aacc1c9f5ca06085fa19b1429fa18a01aaa (diff)
downloadu-boot-imx-f948158f72e6b880d02e4fa549362e4dc285eb1c.zip
u-boot-imx-f948158f72e6b880d02e4fa549362e4dc285eb1c.tar.gz
u-boot-imx-f948158f72e6b880d02e4fa549362e4dc285eb1c.tar.bz2
Blackfin: use new bfin read/write mmr helper funcs
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/blackfin_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-blackfin/blackfin_local.h b/include/asm-blackfin/blackfin_local.h
index 308014a..3fd34b3 100644
--- a/include/asm-blackfin/blackfin_local.h
+++ b/include/asm-blackfin/blackfin_local.h
@@ -61,7 +61,7 @@ extern u_long get_vco(void);
extern u_long get_cclk(void);
extern u_long get_sclk(void);
-# define bfin_revid() (*pCHIPID >> 28)
+# define bfin_revid() (bfin_read_CHIPID() >> 28)
extern bool bfin_os_log_check(void);
extern void bfin_os_log_dump(void);