uboot: move print to common code
* STDIN DISABLED is checked when building production binaries
* move from marvell-specific to general code
Change-Id: Iac434cd566c28e5a36ed7d3dd261d0ce9c68b11b
diff --git a/board/mv_feroceon/mv_kw2/mv_main.c b/board/mv_feroceon/mv_kw2/mv_main.c
index f89ff9d..89c29ae 100644
--- a/board/mv_feroceon/mv_kw2/mv_main.c
+++ b/board/mv_feroceon/mv_kw2/mv_main.c
@@ -188,9 +188,6 @@
printf(" ** LOADER **\n");
#endif /* MV_INCLUDE_MONT_EXT */
//#endif
-#if defined(CONFIG_DISABLE_STDIN)
- printf(" ** STDIN DISABLED **\n");
-#endif
return;
}
diff --git a/common/main.c b/common/main.c
index 4c9ad8f..6042c96 100644
--- a/common/main.c
+++ b/common/main.c
@@ -215,6 +215,9 @@
{
int abort = 0;
+#if defined(CONFIG_DISABLE_STDIN)
+ printf(" ** STDIN DISABLED **\n");
+#endif
#ifdef CONFIG_MENUPROMPT
printf(CONFIG_MENUPROMPT);
#else