uboot/prism: disable uboot console input

Change-Id: I6d5349798deb86ea9a559cff86ceaf25693fb543
diff --git a/common/console.c b/common/console.c
index 509593e..4d64400 100644
--- a/common/console.c
+++ b/common/console.c
@@ -295,6 +295,10 @@
 
 int getc(void)
 {
+#if defined(CONFIG_DISABLE_STDIN)
+	return 0;
+#endif
+
 #ifdef CONFIG_DISABLE_CONSOLE
 	if (gd->flags & GD_FLG_DISABLE_CONSOLE)
 		return 0;
@@ -311,6 +315,10 @@
 
 int tstc(void)
 {
+#if defined(CONFIG_DISABLE_STDIN)
+	return 0;
+#endif
+
 #ifdef CONFIG_DISABLE_CONSOLE
 	if (gd->flags & GD_FLG_DISABLE_CONSOLE)
 		return 0;
@@ -496,7 +504,7 @@
 	int flag;
 	struct stdio_dev *dev;
 
-#ifdef CONFIG_DISABLE_STDIN
+#if defined(CONFIG_DISABLE_STDIN)
 	if (file == stdin) {
 		devname = "nulldev";
 	}