diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-09 01:15:05 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-18 21:15:50 -0400 |
commit | 909878fd3fda056d19b8b51a5cc51cb1c0b563d1 (patch) | |
tree | 8093a518e8637fe7fef3cde5e0b2850fb767bbe9 /include/asm-blackfin | |
parent | d39041fcadb1231430201d298c31f6be03d654f7 (diff) |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-blackfin/blackfin_local.h b/include/asm-blackfin/blackfin_local.h index e17d8a2003b..8ec79289456 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 *); |