summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-03 06:58:14 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-04 12:48:54 +0000
commit961d31bdb3c97e177156ed335d6f2c726d08ab51 (patch)
tree6c2814375020893af494c9958aa3d36c653b124a
parente0e1e648552212f6a3c1eb3e84125139fa61afbf (diff)
downloadcoreboot-961d31bdb3c97e177156ed335d6f2c726d08ab51.tar.xz
intel/i440bx: Drop tests for LATE_CBMEM_INIT
Change-Id: I08c28862cc66956bdcab6ac9362b3d50bb64e78f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26810 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
-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);
}