diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-07 03:41:39 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-07 03:41:39 +0000 |
commit | 135a966d34123cbc4ab5959f92e5364651c1ad55 (patch) | |
tree | 8260f544d6801dffaa031884ab4e84044161144a /src/northbridge | |
parent | 8a9268451423da1648a4454aaf3b76c2989ee3b4 (diff) | |
download | coreboot-135a966d34123cbc4ab5959f92e5364651c1ad55.tar.xz |
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
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/via/vt8601/raminit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/northbridge/via/vt8601/raminit.c b/src/northbridge/via/vt8601/raminit.c index c898453ed1..cb13ad4e98 100644 --- a/src/northbridge/via/vt8601/raminit.c +++ b/src/northbridge/via/vt8601/raminit.c @@ -201,7 +201,8 @@ static unsigned long spd_module_size(unsigned char slot) /* grand total. You have rows+cols addressing, * times of banks, times * width of data in 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(" bytes "); /* Return in 8MB units */ |