ram size now set from SPD.
authorRonald G. Minnich <rminnich@gmail.com>
Thu, 2 Oct 2003 22:54:43 +0000 (22:54 +0000)
committerRonald G. Minnich <rminnich@gmail.com>
Thu, 2 Oct 2003 22:54:43 +0000 (22:54 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1178 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/northbridge/via/vt8601/northbridge.c

index e289a6c9d27fce2c61aa44b375e97eedeac6dc0e..3b655cbdb5a8f779da65ecaebfdf502411bc536e 100644 (file)
@@ -53,8 +53,8 @@ struct mem_range *sizeram(void)
                       ramregs[i]);
        }
 
-       printk_err("I would set ram size to 0x%x Mbytes\n", (1 <<rambits)*8);
-               
+       printk_debug("I would set ram size to 0x%x Kbytes\n", (rambits)*8*1024);
+       mem[0].sizek = rambits*8*1024;
 #if 1
        for(i = 0; i < idx; i++) {
                printk_debug("mem[%d].basek = %08x mem[%d].sizek = %08x\n",