summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-07-11 21:49:42 +0000
committerwdenk <wdenk>2004-07-11 21:49:42 +0000
commitb9283e2dbedae4492ec0efdf683d51a00566a477 (patch)
tree0074e23686525883b94c46ec092fedc85e767632 /board
parent810509266fba83fb73f28842fc99268e761bd43c (diff)
* Patch by Dan Poirot, 06 Jul 2004:
Fix sbc8260 environment variables * Cleanup redundand "console" environment variable
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 15056606cb..5fb20ae66c 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 aa31ed3a70..dd59969378 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));