Commit 851bda81487b0e2b5b43c9c2dc2582214751953e
Committed by
Tom Rini
1 parent
c7757d4695
Exists in
v2017.01-smarct4x
and in
25 other branches
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
common/bootm_os.c
... | ... | @@ -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 |