summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/northbridge/intel/i440bx/northbridge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c
index 3dbfe1bad7..3870de866f 100644
--- a/src/northbridge/intel/i440bx/northbridge.c
+++ b/src/northbridge/intel/i440bx/northbridge.c
@@ -112,7 +112,8 @@ static void pci_domain_set_resources(device_t dev)
* the physical memory. The units are ticks of 8MB
* i.e. 1 means 8MB.
*/
- tomk = ((unsigned long)pci_read_config8(mc_dev, DRB7)) << 15;
+ tomk = ((unsigned long)pci_read_config8(mc_dev, DRB7)) << 13;
+ printk_debug("Setting RAM size to %d MB\n", tomk >> 10);
/* Compute the top of Low memory */
tolmk = pci_tolm >> 10;
if (tolmk >= tomk) {