summaryrefslogtreecommitdiff
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-01-06 00:54:20 +0000
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-01-16 10:52:07 +0100
commit75a279c8f28539f560a23425073d97ffee746716 (patch)
tree513f4a1a0ebef4df170456f12d2a6b831aa88571 /arch/mips/lib
parent3a9d879f6f64585b819af728b53be0a05037fe0d (diff)
downloadu-boot-imx-75a279c8f28539f560a23425073d97ffee746716.zip
u-boot-imx-75a279c8f28539f560a23425073d97ffee746716.tar.gz
u-boot-imx-75a279c8f28539f560a23425073d97ffee746716.tar.bz2
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 <juhosg@openwrt.org>
Diffstat (limited to 'arch/mips/lib')
-rw-r--r--arch/mips/lib/bootm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index 608c1a7..4ac712a 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);