projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7757d4
)
cosmetic: debug: Replace #ifdef DEBUG with debug() macro
author
Lukasz Majewski
<l.majewski@majess.pl>
Sun, 8 May 2016 06:52:21 +0000
(08:52 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 27 May 2016 19:39:48 +0000
(15:39 -0400)
Replace #ifdef DEBUG with dedicated debug() macro.
Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
common/bootm_os.c
patch
|
blob
|
history
diff --git
a/common/bootm_os.c
b/common/bootm_os.c
index cb83f4a9bd33f8fbb0c8877114c26cd5fd95d302..9ec84bd0dbe0349741b09b44010f3e4f75709be8 100644
(file)
--- 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;
}