summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@majess.pl>2016-05-08 08:52:21 +0200
committerTom Rini <trini@konsulko.com>2016-05-27 15:39:48 -0400
commit851bda81487b0e2b5b43c9c2dc2582214751953e (patch)
tree1ce6f74d2380b7483a3ca12a25f6757dbc3bcba6 /common
parentc7757d46958463542f3c5cc359d53769f83b9148 (diff)
downloadblackbird-obmc-uboot-851bda81487b0e2b5b43c9c2dc2582214751953e.tar.gz
blackbird-obmc-uboot-851bda81487b0e2b5b43c9c2dc2582214751953e.zip
cosmetic: debug: Replace #ifdef DEBUG with debug() macro
Replace #ifdef DEBUG with dedicated debug() macro. Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
Diffstat (limited to 'common')
-rw-r--r--common/bootm_os.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/bootm_os.c b/common/bootm_os.c
index cb83f4a9bd..9ec84bd0db 100644
--- a/common/bootm_os.c
+++ b/common/bootm_os.c
@@ -484,9 +484,8 @@ int boot_selected_os(int argc, char * const argv[], int state,
state == BOOTM_STATE_OS_FAKE_GO) /* We expect to return */
return 0;
bootstage_error(BOOTSTAGE_ID_BOOT_OS_RETURNED);
-#ifdef DEBUG
- puts("\n## Control returned to monitor - resetting...\n");
-#endif
+ debug("\n## Control returned to monitor - resetting...\n");
+
return BOOTM_ERR_RESET;
}
OpenPOWER on IntegriCloud