Commit 851bda81487b0e2b5b43c9c2dc2582214751953e

Authored by Lukasz Majewski
Committed by Tom Rini
1 parent c7757d4695

cosmetic: debug: Replace #ifdef DEBUG with debug() macro

Replace #ifdef DEBUG with dedicated debug() macro.

Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>

Showing 1 changed file with 2 additions and 3 deletions Side-by-side Diff

... ... @@ -484,9 +484,8 @@
484 484 state == BOOTM_STATE_OS_FAKE_GO) /* We expect to return */
485 485 return 0;
486 486 bootstage_error(BOOTSTAGE_ID_BOOT_OS_RETURNED);
487   -#ifdef DEBUG
488   - puts("\n## Control returned to monitor - resetting...\n");
489   -#endif
  487 + debug("\n## Control returned to monitor - resetting...\n");
  488 +
490 489 return BOOTM_ERR_RESET;
491 490 }
492 491