summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/i440bx/Makefile.inc4
-rw-r--r--src/northbridge/intel/i440bx/northbridge.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/northbridge/intel/i440bx/Makefile.inc b/src/northbridge/intel/i440bx/Makefile.inc
index 50aeece1fe..b0ca180bd6 100644
--- a/src/northbridge/intel/i440bx/Makefile.inc
+++ b/src/northbridge/intel/i440bx/Makefile.inc
@@ -17,10 +17,10 @@
ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I440BX),y)
ramstage-y += northbridge.c
-ramstage-$(CONFIG_EARLY_CBMEM_INIT) += ram_calc.c
+ramstage-y += ram_calc.c
romstage-y += raminit.c
romstage-$(CONFIG_DEBUG_RAM_SETUP) += debug.c
-romstage-$(CONFIG_EARLY_CBMEM_INIT) += ram_calc.c
+romstage-y += ram_calc.c
endif
diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c
index 4e59631e61..affd8a10e7 100644
--- a/src/northbridge/intel/i440bx/northbridge.c
+++ b/src/northbridge/intel/i440bx/northbridge.c
@@ -79,9 +79,6 @@ static void i440bx_domain_set_resources(struct device *dev)
idx = 10;
ram_resource(dev, idx++, 0, 640);
ram_resource(dev, idx++, 768, tolmk - 768);
-
- if (IS_ENABLED(CONFIG_LATE_CBMEM_INIT))
- set_late_cbmem_top(tomk * 1024);
}
assign_resources(dev->link_list);
}