summaryrefslogtreecommitdiff
path: root/arch/sh/lib/bootm.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-08-04 16:53:39 -0400
committerTom Rini <trini@konsulko.com>2022-08-04 16:54:01 -0400
commitb8e09898919e23c5d7f1934be7bf9a3a6f0deb0e (patch)
treeba1c168b729947aec2a487791e5a26ce72da4282 /arch/sh/lib/bootm.c
parent62e6418031bed3671e57e63d49273e2739a82589 (diff)
parent78475d2572615471d3c047e61481a68859d0dd7f (diff)
Merge branch '2022-08-04-Kconfig-migrations'
- Further migrations to Kconfig and associated dead code removal.
Diffstat (limited to 'arch/sh/lib/bootm.c')
-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 9b71424dfe6..7ea04442b87 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