mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
cosmetic: debug: Replace #ifdef DEBUG with debug() macro
Replace #ifdef DEBUG with dedicated debug() macro. Signed-off-by: Lukasz Majewski <l.majewski@majess.pl>
This commit is contained in:
parent
c7757d4695
commit
851bda8148
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue