mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
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>
This commit is contained in:
parent
62e6418031
commit
6eaa0e4ac6
1 changed files with 0 additions and 15 deletions
|
@ -17,21 +17,6 @@
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
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
|
#ifdef CONFIG_SH_SDRAM_OFFSET
|
||||||
#define GET_INITRD_START(initrd, linux) (initrd - linux + CONFIG_SH_SDRAM_OFFSET)
|
#define GET_INITRD_START(initrd, linux) (initrd - linux + CONFIG_SH_SDRAM_OFFSET)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue