it's a long term, give the compiler a chance to breathe .. ;-)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5369 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
8a92684514
commit
135a966d34
|
@ -201,7 +201,8 @@ static unsigned long spd_module_size(unsigned char slot)
|
||||||
/* grand total. You have rows+cols addressing, * times of banks, times
|
/* grand total. You have rows+cols addressing, * times of banks, times
|
||||||
* width of data in bytes */
|
* width of data in bytes */
|
||||||
/* Width is assumed to be 64 bits == 8 bytes */
|
/* Width is assumed to be 64 bits == 8 bytes */
|
||||||
value = (1 << (cols + rows)) * banks * 8;
|
value = (1 << (cols + rows));
|
||||||
|
value *= banks * 8;
|
||||||
print_info_hex32(value);
|
print_info_hex32(value);
|
||||||
print_info(" bytes ");
|
print_info(" bytes ");
|
||||||
/* Return in 8MB units */
|
/* Return in 8MB units */
|
||||||
|
|
Loading…
Reference in New Issue