summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/eltec/elppc/misc.c4
-rw-r--r--board/netphone/phone_console.c6
2 files changed, 0 insertions, 10 deletions
diff --git a/board/eltec/elppc/misc.c b/board/eltec/elppc/misc.c
index 1505660..5fb20ae 100644
--- a/board/eltec/elppc/misc.c
+++ b/board/eltec/elppc/misc.c
@@ -250,10 +250,6 @@ int misc_init_r (void)
eerev.etheraddr[4], eerev.etheraddr[5]);
setenv ("ethaddr", buf);
- /* set serial console as default */
- if ((ptr = getenv ("console")) == NULL)
- setenv ("console", "serial");
-
/* print actual board identification */
printf ("Ident: %s Ser %s Rev %c%c\n",
eerev.board, (char *) &eerev.serial,
diff --git a/board/netphone/phone_console.c b/board/netphone/phone_console.c
index aa31ed3..dd59969 100644
--- a/board/netphone/phone_console.c
+++ b/board/netphone/phone_console.c
@@ -328,12 +328,6 @@ int drv_phone_init(void)
device_t console_dev;
char *penv;
- /*
- * Force console i/o to serial ?
- */
- if ((penv = getenv("console")) != NULL && strcmp(penv, "serial") == 0)
- return 0;
-
console_init();
memset(&console_dev, 0, sizeof(console_dev));