summaryrefslogtreecommitdiff
path: root/board/esd
diff options
context:
space:
mode:
authorstroese <stroese>2004-12-16 18:37:41 +0000
committerstroese <stroese>2004-12-16 18:37:41 +0000
commit25215ee2b0d116bf82d97cca69706f9553714cbf (patch)
treed3b1f5145eec302d32fba7e5adc99e9e778602e5 /board/esd
parent31193c2cca272d8e661b28b9e8492949c9dd7309 (diff)
downloadu-boot-imx-25215ee2b0d116bf82d97cca69706f9553714cbf.zip
u-boot-imx-25215ee2b0d116bf82d97cca69706f9553714cbf.tar.gz
u-boot-imx-25215ee2b0d116bf82d97cca69706f9553714cbf.tar.bz2
OCRTC board update
Diffstat (limited to 'board/esd')
-rw-r--r--board/esd/ocrtc/Makefile2
-rw-r--r--board/esd/ocrtc/ocrtc.c16
2 files changed, 9 insertions, 9 deletions
diff --git a/board/esd/ocrtc/Makefile b/board/esd/ocrtc/Makefile
index 756a1bb..b3039c6 100644
--- a/board/esd/ocrtc/Makefile
+++ b/board/esd/ocrtc/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB = lib$(BOARD).a
-OBJS = $(BOARD).o flash.o cmd_ocrtc.o
+OBJS = $(BOARD).o flash.o ../common/misc.o cmd_ocrtc.o
$(LIB): $(OBJS) $(SOBJS)
$(AR) crv $@ $(OBJS)
diff --git a/board/esd/ocrtc/ocrtc.c b/board/esd/ocrtc/ocrtc.c
index dc425ae..ac032ef 100644
--- a/board/esd/ocrtc/ocrtc.c
+++ b/board/esd/ocrtc/ocrtc.c
@@ -27,7 +27,9 @@
#include <i2c.h>
#include <command.h>
-/* ------------------------------------------------------------------------- */
+
+extern void lxt971_no_sleep(void);
+
int board_early_init_f (void)
{
@@ -61,8 +63,6 @@ int board_early_init_f (void)
}
-/* ------------------------------------------------------------------------- */
-
int misc_init_f (void)
{
return 0; /* dummy implementation */
@@ -72,7 +72,6 @@ int misc_init_f (void)
/*
* Check Board Identity:
*/
-
int checkboard (void)
{
unsigned char str[64];
@@ -93,10 +92,14 @@ int checkboard (void)
putc ('\n');
+ /*
+ * Disable sleep mode in LXT971
+ */
+ lxt971_no_sleep();
+
return (0);
}
-/* ------------------------------------------------------------------------- */
long int initdram (int board_type)
{
@@ -113,7 +116,6 @@ long int initdram (int board_type)
return (4 * 1024 * 1024 << ((val & 0x000e0000) >> 17));
}
-/* ------------------------------------------------------------------------- */
int testdram (void)
{
@@ -122,5 +124,3 @@ int testdram (void)
return (0);
}
-
-/* ------------------------------------------------------------------------- */