diff options
author | stroese <stroese> | 2004-12-16 18:34:28 +0000 |
---|---|---|
committer | stroese <stroese> | 2004-12-16 18:34:28 +0000 |
commit | 7acd6c2168deb38129ab677371c503429a40c532 (patch) | |
tree | 1521bd80d149c730e3b18205a5b93743cbb47589 /board/esd/cpci440 | |
parent | c491b442cc881c86d8d9907563d8377b0aa46f35 (diff) | |
download | u-boot-imx-7acd6c2168deb38129ab677371c503429a40c532.zip u-boot-imx-7acd6c2168deb38129ab677371c503429a40c532.tar.gz u-boot-imx-7acd6c2168deb38129ab677371c503429a40c532.tar.bz2 |
CPCI440 board update
Diffstat (limited to 'board/esd/cpci440')
-rw-r--r-- | board/esd/cpci440/Makefile | 2 | ||||
-rw-r--r-- | board/esd/cpci440/config.mk | 1 | ||||
-rw-r--r-- | board/esd/cpci440/cpci440.c | 13 | ||||
-rw-r--r-- | board/esd/cpci440/u-boot.lds | 2 |
4 files changed, 17 insertions, 1 deletions
diff --git a/board/esd/cpci440/Makefile b/board/esd/cpci440/Makefile index f706ebc..84d44fb 100644 --- a/board/esd/cpci440/Makefile +++ b/board/esd/cpci440/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk LIB = lib$(BOARD).a -OBJS = $(BOARD).o strataflash.o +OBJS = $(BOARD).o strataflash.o ../common/misc.o SOBJS = init.o $(LIB): $(OBJS) $(SOBJS) diff --git a/board/esd/cpci440/config.mk b/board/esd/cpci440/config.mk index e5722dd..8e5f63f 100644 --- a/board/esd/cpci440/config.mk +++ b/board/esd/cpci440/config.mk @@ -31,6 +31,7 @@ ifeq ($(ramsym),1) TEXT_BASE = 0x07FD0000 else TEXT_BASE = 0xFFFC0000 +#TEXT_BASE = 0x01fc0000 endif PLATFORM_CPPFLAGS += -DCONFIG_440=1 diff --git a/board/esd/cpci440/cpci440.c b/board/esd/cpci440/cpci440.c index 20c8303..43d8a3b 100644 --- a/board/esd/cpci440/cpci440.c +++ b/board/esd/cpci440/cpci440.c @@ -26,6 +26,9 @@ #include <asm/processor.h> +extern void lxt971_no_sleep(void); + + long int fixed_sdram( void ); int board_early_init_f (void) @@ -77,6 +80,12 @@ int checkboard (void) printf("\tPLB: %lu MHz\n", sysinfo.freqPLB/1000000); printf("\tOPB: %lu MHz\n", sysinfo.freqOPB/1000000); printf("\tEPB: %lu MHz\n", sysinfo.freqEPB/1000000); + + /* + * Disable sleep mode in LXT971 + */ + lxt971_no_sleep(); + return (0); } @@ -101,6 +110,7 @@ long int fixed_sdram( void ) { uint reg; +#if 1 /* test-only */ /*-------------------------------------------------------------------- * Setup some default *------------------------------------------------------------------*/ @@ -136,4 +146,7 @@ long int fixed_sdram( void ) } return( 64 * 1024 * 1024 ); /* 64 MB */ +#else + return( 32 * 1024 * 1024 ); /* 64 MB */ +#endif } diff --git a/board/esd/cpci440/u-boot.lds b/board/esd/cpci440/u-boot.lds index 46ccf31..3925ad9 100644 --- a/board/esd/cpci440/u-boot.lds +++ b/board/esd/cpci440/u-boot.lds @@ -28,11 +28,13 @@ SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/ SECTIONS { .resetvec 0xFFFFFFFC : +/* .resetvec 0x01FFFFFC :*/ { *(.resetvec) } = 0xffff .bootpg 0xFFFFF000 : +/* .bootpg 0x01FFF000 :*/ { cpu/ppc4xx/start.o (.bootpg) } = 0xffff |