From: Gabor Juhos Date: Sun, 6 Jan 2013 00:54:20 +0000 (+0000) Subject: MIPS: bootm.c: use debug macro to print debug message X-Git-Tag: v2013.04-rc1~180 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=75a279c8f28539f560a23425073d97ffee746716;p=oweals%2Fu-boot.git MIPS: bootm.c: use debug macro to print debug message The '## Transferring control ...' message is printed only if DEBUG is enabled. Get rid of the 'ifdef DEBUG' statement and use the debug macro instead. Signed-off-by: Gabor Juhos --- diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index 608c1a78db..4ac712aa4b 100644 --- a/arch/mips/lib/bootm.c +++ b/arch/mips/lib/bootm.c @@ -59,10 +59,8 @@ int do_bootm_linux(int flag, int argc, char * const argv[], bootstage_mark(BOOTSTAGE_ID_RUN_OS); -#ifdef DEBUG - printf("## Transferring control to Linux (at address %08lx) ...\n", + debug("## Transferring control to Linux (at address %08lx) ...\n", (ulong) theKernel); -#endif linux_params_init(UNCACHED_SDRAM(gd->bd->bi_boot_params), commandline);