mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 08:00:26 +09:00
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>
This commit is contained in:
parent
3a9d879f6f
commit
75a279c8f2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user