diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2010-04-12 22:28:13 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-04-13 09:13:25 +0200 |
commit | c6fb83d21729321426308c3acff2a3dfb20d250b (patch) | |
tree | 85b569582345fdd9361d8524df08e92251c84a59 /cpu/blackfin/os_log.c | |
parent | a4145534851bf74619cb373a942613a74547bb82 (diff) | |
download | u-boot-imx-c6fb83d21729321426308c3acff2a3dfb20d250b.zip u-boot-imx-c6fb83d21729321426308c3acff2a3dfb20d250b.tar.gz u-boot-imx-c6fb83d21729321426308c3acff2a3dfb20d250b.tar.bz2 |
blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/*
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'cpu/blackfin/os_log.c')
-rw-r--r-- | cpu/blackfin/os_log.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/cpu/blackfin/os_log.c b/cpu/blackfin/os_log.c deleted file mode 100644 index e1c8e29..0000000 --- a/cpu/blackfin/os_log.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * functions for handling OS log buffer - * - * Copyright (c) 2009 Analog Devices Inc. - * - * Licensed under the 2-clause BSD. - */ - -#include <common.h> - -#define OS_LOG_MAGIC 0xDEADBEEF -#define OS_LOG_MAGIC_ADDR ((unsigned long *)0x4f0) -#define OS_LOG_PTR_ADDR ((char **)0x4f4) - -bool bfin_os_log_check(void) -{ - if (*OS_LOG_MAGIC_ADDR != OS_LOG_MAGIC) - return false; - *OS_LOG_MAGIC_ADDR = 0; - return true; -} - -void bfin_os_log_dump(void) -{ - char *log = *OS_LOG_PTR_ADDR; - while (*log) { - puts(log); - log += strlen(log) + 1; - } -} |