aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-23 13:04:53 -0400
committerTom Rini <trini@konsulko.com>2022-08-04 16:18:47 -0400
commit6eaa0e4ac6d87591fbfaecdd1e3ae9b548063b1a (patch)
treef7b04beb95f3e264660900190a9ffe2cbd0f733b
parent62e6418031bed3671e57e63d49273e2739a82589 (diff)
downloadu-boot-6eaa0e4ac6d87591fbfaecdd1e3ae9b548063b1a.zip
u-boot-6eaa0e4ac6d87591fbfaecdd1e3ae9b548063b1a.tar.gz
u-boot-6eaa0e4ac6d87591fbfaecdd1e3ae9b548063b1a.tar.bz2
sh: Remove unused code in arch/sh/lib/bootm.c
There are no callers of the hexdump function that is guarded by CONFIG_SYS_DEBUG, so remove the section. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--arch/sh/lib/bootm.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/sh/lib/bootm.c b/arch/sh/lib/bootm.c
index 9b71424..7ea0444 100644
--- a/arch/sh/lib/bootm.c
+++ b/arch/sh/lib/bootm.c
@@ -17,21 +17,6 @@
DECLARE_GLOBAL_DATA_PTR;
-#ifdef CONFIG_SYS_DEBUG
-static void hexdump(unsigned char *buf, int len)
-{
- int i;
-
- for (i = 0; i < len; i++) {
- if ((i % 16) == 0)
- printf("%s%08x: ", i ? "\n" : "",
- (unsigned int)&buf[i]);
- printf("%02x ", buf[i]);
- }
- printf("\n");
-}
-#endif
-
#ifdef CONFIG_SH_SDRAM_OFFSET
#define GET_INITRD_START(initrd, linux) (initrd - linux + CONFIG_SH_SDRAM_OFFSET)
#else