From c2c1dc9c76c0d00374176e9a715ad12743dcfca3 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 27 Nov 2018 09:31:27 +0100 Subject: {mb,nb,soc/fsp_baytrail}: Get rid of dump_mem() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use hexdump() instead of dump_mem(). Change-Id: I7f6431bb2903a0d06f8ed0ada93aa3231a58eb6f Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/29853 Tested-by: build bot (Jenkins) Reviewed-by: David Guckian Reviewed-by: Kyösti Mälkki --- src/northbridge/intel/e7505/debug.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/northbridge/intel/e7505/debug.c') diff --git a/src/northbridge/intel/e7505/debug.c b/src/northbridge/intel/e7505/debug.c index f3a27e2b73..c21e321de4 100644 --- a/src/northbridge/intel/e7505/debug.c +++ b/src/northbridge/intel/e7505/debug.c @@ -183,15 +183,3 @@ void dump_io_resources(unsigned port) port++; } } - -void dump_mem(unsigned start, unsigned end) -{ - unsigned i; - printk(BIOS_DEBUG, "dump_mem:"); - for (i = start; i < end; i++) { - if ((i & 0xf)==0) - printk(BIOS_DEBUG, "\n%08x:", i); - printk(BIOS_DEBUG, " %02x", (unsigned char)*((unsigned char *)i)); - } - printk(BIOS_DEBUG, "\n"); -} -- cgit v1.2.3