diff options
author | stroese <stroese> | 2004-12-16 18:36:28 +0000 |
---|---|---|
committer | stroese <stroese> | 2004-12-16 18:36:28 +0000 |
commit | ab379df3535036ccce6a27303f8604a24b8b3276 (patch) | |
tree | cec1126a1ac8f24e87e7263060042720dc983830 /board/esd | |
parent | f2dfe44fd68d6f2d5af037333e6f34d052b0f368 (diff) | |
download | u-boot-imx-ab379df3535036ccce6a27303f8604a24b8b3276.zip u-boot-imx-ab379df3535036ccce6a27303f8604a24b8b3276.tar.gz u-boot-imx-ab379df3535036ccce6a27303f8604a24b8b3276.tar.bz2 |
DU405 board update
Diffstat (limited to 'board/esd')
-rw-r--r-- | board/esd/du405/Makefile | 2 | ||||
-rw-r--r-- | board/esd/du405/du405.c | 14 |
2 files changed, 7 insertions, 9 deletions
diff --git a/board/esd/du405/Makefile b/board/esd/du405/Makefile index e6d7dd0..5ec4a4f 100644 --- a/board/esd/du405/Makefile +++ b/board/esd/du405/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a -OBJS = $(BOARD).o flash.o +OBJS = $(BOARD).o flash.o ../common/misc.o $(LIB): $(OBJS) $(SOBJS) $(AR) crv $@ $(OBJS) diff --git a/board/esd/du405/du405.c b/board/esd/du405/du405.c index 6e43bb0..2aa2b57 100644 --- a/board/esd/du405/du405.c +++ b/board/esd/du405/du405.c @@ -31,8 +31,8 @@ /*cmd_boot.c*/ extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); +extern void lxt971_no_sleep(void); -/* ------------------------------------------------------------------------- */ #if 0 #define FPGA_DEBUG @@ -141,12 +141,9 @@ int board_early_init_f (void) } -/* ------------------------------------------------------------------------- */ - /* * Check Board Identity: */ - int checkboard (void) { int index; @@ -180,17 +177,20 @@ int checkboard (void) *(volatile unsigned char *) FPGA_MODE_REG = 0xff; /* reset high active */ *(volatile unsigned char *) FPGA_MODE_REG = 0x00; /* low again */ + /* + * Disable sleep mode in LXT971 + */ + lxt971_no_sleep(); + return 0; } -/* ------------------------------------------------------------------------- */ long int initdram (int board_type) { return (16 * 1024 * 1024); } -/* ------------------------------------------------------------------------- */ int testdram (void) { @@ -199,5 +199,3 @@ int testdram (void) return (0); } - -/* ------------------------------------------------------------------------- */ |