summaryrefslogtreecommitdiff
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-09 01:15:05 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-18 21:15:50 -0400
commit909878fd3fda056d19b8b51a5cc51cb1c0b563d1 (patch)
tree8093a518e8637fe7fef3cde5e0b2850fb767bbe9 /include/asm-blackfin
parentd39041fcadb1231430201d298c31f6be03d654f7 (diff)
downloadu-boot-imx-909878fd3fda056d19b8b51a5cc51cb1c0b563d1.zip
u-boot-imx-909878fd3fda056d19b8b51a5cc51cb1c0b563d1.tar.gz
u-boot-imx-909878fd3fda056d19b8b51a5cc51cb1c0b563d1.tar.bz2
Blackfin: add os log functions
Part of the mini Blackfin ABI with operating systems is that they can use 0x4f0-0x4f8 to pass log buffers to/from bootloaders. So add support to U-Boot for reading the log buffer. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/blackfin_local.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-blackfin/blackfin_local.h b/include/asm-blackfin/blackfin_local.h
index e17d8a2..8ec7928 100644
--- a/include/asm-blackfin/blackfin_local.h
+++ b/include/asm-blackfin/blackfin_local.h
@@ -61,6 +61,9 @@ extern u_long get_sclk(void);
# define bfin_revid() (*pCHIPID >> 28)
+extern bool bfin_os_log_check(void);
+extern void bfin_os_log_dump(void);
+
extern void blackfin_icache_flush_range(const void *, const void *);
extern void blackfin_dcache_flush_range(const void *, const void *);
extern void blackfin_icache_dcache_flush_range(const void *, const void *);