From 972d5cf040aebbb8052767a4a88ad99a961ad2bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 26 Jan 2014 14:44:18 +0200 Subject: Move hexdump32() to lib/hexdump. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Needs printk and is not a console core function. Change-Id: Id90a363eca133af4469663c1e8b504baa70471e0 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/5155 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Alexandru Gagniuc --- src/include/console/console.h | 1 - src/include/lib.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/console/console.h b/src/include/console/console.h index c5f5297f59..6fa624c799 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -86,7 +86,6 @@ void post_log_clear(void); void mainboard_post(u8 value); void __attribute__ ((noreturn)) die(const char *msg); int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf, 2, 3))); -void hexdump32(char LEVEL, const void *d, int len); #if defined(__BOOT_BLOCK__) && !CONFIG_BOOTBLOCK_CONSOLE || \ (defined(__PRE_RAM__) && !defined(__BOOT_BLOCK__)) && !CONFIG_EARLY_CONSOLE diff --git a/src/include/lib.h b/src/include/lib.h index bfa68e2eae..db2e9c776e 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -60,5 +60,6 @@ void post_cache_as_ram(void); /* Defined in src/lib/hexdump.c */ void hexdump(const void *memory, size_t length); +void hexdump32(char LEVEL, const void *d, int len); #endif /* __LIB_H__ */ -- cgit v1.2.3