summaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx800/dram_init.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-14 10:12:23 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-14 10:12:23 +0000
commit4154c668f24da79672099dfac06f5263c415fee0 (patch)
tree260835bf16506bce6bc8f3837a16a352c679c486 /src/northbridge/via/vx800/dram_init.c
parentc264ad930a2579dc235de0c95842374e89ff5d6a (diff)
zero warnings days. Down to under 600 different warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5425 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via/vx800/dram_init.c')
-rw-r--r--src/northbridge/via/vx800/dram_init.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/northbridge/via/vx800/dram_init.c b/src/northbridge/via/vx800/dram_init.c
index d059b519ef..b6c8cf2ab0 100644
--- a/src/northbridge/via/vx800/dram_init.c
+++ b/src/northbridge/via/vx800/dram_init.c
@@ -17,12 +17,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-CB_STATUS DDR2_DRAM_INIT()
+CB_STATUS DDR2_DRAM_INIT(void)
{
- CB_STATUS Status;
u8 i;
u32 RamSize;
- BOOLEAN bTest;
DRAM_SYS_ATTR DramAttr;
PRINT_DEBUG_MEM("DRAM_INIT \r");
@@ -76,7 +74,7 @@ CB_STATUS DDR2_DRAM_INIT()
PRINT_DEBUG_MEM_HEX32(RamSize);
PRINT_DEBUG_MEM("\r");
DumpRegisters(0, 3);
- //bTest = DramBaseTest( M1, RamSize - M1 * 2,SPARE, FALSE);
+ //BOOLEAN bTest = DramBaseTest( M1, RamSize - M1 * 2,SPARE, FALSE);
/* the memory can not correct work, this is because the user set the incorrect memory
parameter from setup interface.so we must set the boot mode to recovery mode, let
the system to reset and use the spd value to initialize the memory */