mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
fixing up size
This commit is contained in:
parent
e187729ead
commit
c5270ce7e7
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ unsigned long sizeram()
|
|||
if ((ram & 0x1800000) == 0x1800000)
|
||||
size <<= 1;
|
||||
printk("size in 0x6c is 0x%x\n", size);
|
||||
return size/1024;
|
||||
cp = (unsigned char *) size;
|
||||
// now do the other two banks.
|
||||
#define INIT_MCR 0xf663b83c
|
||||
|
|
Loading…
Add table
Reference in a new issue