Skip to content
Snippets Groups Projects
Commit 75a279c8 authored by Gabor Juhos's avatar Gabor Juhos Committed by Daniel Schwierzeck
Browse files

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: default avatarGabor Juhos <juhosg@openwrt.org>
parent 3a9d879f
No related branches found
No related tags found
No related merge requests found
...@@ -59,10 +59,8 @@ int do_bootm_linux(int flag, int argc, char * const argv[], ...@@ -59,10 +59,8 @@ int do_bootm_linux(int flag, int argc, char * const argv[],
bootstage_mark(BOOTSTAGE_ID_RUN_OS); bootstage_mark(BOOTSTAGE_ID_RUN_OS);
#ifdef DEBUG debug("## Transferring control to Linux (at address %08lx) ...\n",
printf("## Transferring control to Linux (at address %08lx) ...\n",
(ulong) theKernel); (ulong) theKernel);
#endif
linux_params_init(UNCACHED_SDRAM(gd->bd->bi_boot_params), commandline); linux_params_init(UNCACHED_SDRAM(gd->bd->bi_boot_params), commandline);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment