mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
fixed bug where only 64MB ram was detected
This commit is contained in:
parent
ab529a5833
commit
f46a929825
1 changed files with 0 additions and 7 deletions
|
@ -49,13 +49,6 @@ static unsigned long __sizeram(void)
|
||||||
totalmem -= sma_size;
|
totalmem -= sma_size;
|
||||||
totalmem *= 1024;
|
totalmem *= 1024;
|
||||||
|
|
||||||
printk_info("sizeram: returning 0x%x KB\n", totalmem);
|
|
||||||
printk_info("sizeram: NOT returning 0x%x KB\n", totalmem);
|
|
||||||
printk_info("sizeram: there are still some SPD problems ... \n");
|
|
||||||
totalmem = 64 * 1024;
|
|
||||||
printk_info("sizeram: SO we return only 0x%x KB\n", totalmem);
|
|
||||||
#if 0
|
|
||||||
#endif
|
|
||||||
return totalmem;
|
return totalmem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue