From 7acd6c2168deb38129ab677371c503429a40c532 Mon Sep 17 00:00:00 2001 From: stroese Date: Thu, 16 Dec 2004 18:34:28 +0000 Subject: CPCI440 board update --- board/esd/cpci440/cpci440.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'board/esd/cpci440/cpci440.c') 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 +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 } -- cgit v1.1