summaryrefslogtreecommitdiff
path: root/board/esd/vom405/vom405.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/vom405/vom405.c')
-rw-r--r--board/esd/vom405/vom405.c24
1 files changed, 8 insertions, 16 deletions
diff --git a/board/esd/vom405/vom405.c b/board/esd/vom405/vom405.c
index 70bc6db96c..bc5fa7c69b 100644
--- a/board/esd/vom405/vom405.c
+++ b/board/esd/vom405/vom405.c
@@ -79,12 +79,6 @@ int board_early_init_f (void)
/* ------------------------------------------------------------------------- */
-int misc_init_f (void)
-{
- return 0; /* dummy implementation */
-}
-
-
int misc_init_r (void)
{
DECLARE_GLOBAL_DATA_PTR;
@@ -103,7 +97,7 @@ int misc_init_r (void)
int checkboard (void)
{
- unsigned char str[64];
+ char str[64];
int i = getenv_r ("serial#", str, sizeof(str));
int flashcnt;
int delay;
@@ -132,11 +126,6 @@ int checkboard (void)
}
*led_reg = 0x40;
- /*
- * Disable sleep mode in LXT971
- */
- lxt971_no_sleep();
-
return 0;
}
@@ -159,10 +148,13 @@ long int initdram (int board_type)
/* ------------------------------------------------------------------------- */
-int testdram (void)
+void reset_phy(void)
{
- /* TODO: XXX XXX XXX */
- printf ("test: 16 MB - ok\n");
+#ifdef CONFIG_LXT971_NO_SLEEP
- return (0);
+ /*
+ * Disable sleep mode in LXT971
+ */
+ lxt971_no_sleep();
+#endif
}