]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/bootm_os.c
cosmetic: debug: Replace #ifdef DEBUG with debug() macro
[people/ms/u-boot.git] / common / bootm_os.c
index cb83f4a9bd33f8fbb0c8877114c26cd5fd95d302..9ec84bd0dbe0349741b09b44010f3e4f75709be8 100644 (file)
@@ -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;
 }