summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/spl/spl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index f01a21c..97eb8eb 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -221,7 +221,9 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
break;
#endif
default:
- debug("SPL: Un-supported Boot Device\n");
+#if defined(CONFIG_SPL_SERIAL_SUPPORT) && defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
+ printf("SPL: Unsupported Boot Device %d\n", boot_device);
+#endif
hang();
}