summaryrefslogtreecommitdiff
path: root/board/netstar/eeprom.c
diff options
context:
space:
mode:
authorLadislav Michl <Ladislav.Michl@seznam.cz>2010-01-27 11:12:28 -0500
committerTom Rix <Tom.Rix@windriver.com>2010-02-12 12:31:54 -0600
commitd798e27b14543762f9f5d0561a3430c7f9e2153b (patch)
tree5869180931596ed51fc3376c3384ee683d67886d /board/netstar/eeprom.c
parent89e94d81eda9af2e1c35e97125b0c049335c70fc (diff)
downloadu-boot-imx-d798e27b14543762f9f5d0561a3430c7f9e2153b.zip
u-boot-imx-d798e27b14543762f9f5d0561a3430c7f9e2153b.tar.gz
u-boot-imx-d798e27b14543762f9f5d0561a3430c7f9e2153b.tar.bz2
NetStar: Remove debug junk leaked into eeprom utility
This patch removes debug junk leaked into eeprom utility. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/netstar/eeprom.c')
-rw-r--r--board/netstar/eeprom.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/board/netstar/eeprom.c b/board/netstar/eeprom.c
index 1366457..adb01b9 100644
--- a/board/netstar/eeprom.c
+++ b/board/netstar/eeprom.c
@@ -22,8 +22,6 @@
* Some code shamelessly stolen back from Robin Getz.
*/
-#define DEBUG
-
#include <common.h>
#include <exports.h>
#include <timestamp.h>
@@ -142,8 +140,6 @@ static int parse_element(char *s, unsigned char *buf, int len)
return cnt;
}
-extern int crcek(void);
-
int eeprom(int argc, char *argv[])
{
int i, len, ret;
@@ -161,8 +157,6 @@ int eeprom(int argc, char *argv[])
return 1;
}
- return crcek();
-
if ((SMC_inw (&dev, BANK_SELECT) & 0xFF00) != 0x3300) {
printf("SMSC91111 not found.\n");
return 2;
@@ -176,7 +170,7 @@ int eeprom(int argc, char *argv[])
/* Print help message */
if (argv[1][1] == 'h') {
- printf("VoiceBlue EEPROM writer\n");
+ printf("NetStar EEPROM writer\n");
printf("Built: %s at %s\n", U_BOOT_DATE, U_BOOT_TIME);
printf("Usage:\n\t<mac_address> [<element_1>] [<...>]\n");
return 0;