diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-27 23:02:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-28 08:18:44 +0100 |
commit | 7e22de9c3c786f23493bed6847887fe5f6787078 (patch) | |
tree | cb26c11356816e67163ab0308096ef98920cb702 /pbl | |
parent | c42178d9fcbd54ea1696929b5cd351b5683f6d9d (diff) | |
download | barebox-7e22de9c3c786f23493bed6847887fe5f6787078.tar.gz barebox-7e22de9c3c786f23493bed6847887fe5f6787078.tar.xz |
pbl: Add support for memory_display
The PBL has console support now, so add memory_display support aswell
which can be a good debugging aid.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'pbl')
-rw-r--r-- | pbl/console.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pbl/console.c b/pbl/console.c index 3875e2aafd..a9859ad162 100644 --- a/pbl/console.c +++ b/pbl/console.c @@ -30,3 +30,13 @@ int pr_print(int level, const char *fmt, ...) return i; } + +int ctrlc(void) +{ + return 0; +} + +void console_putc(unsigned int ch, char c) +{ + putc_ll(c); +} |