From 961d31bdb3c97e177156ed335d6f2c726d08ab51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 3 Jun 2018 06:58:14 +0300 Subject: [PATCH] intel/i440bx: Drop tests for LATE_CBMEM_INIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I08c28862cc66956bdcab6ac9362b3d50bb64e78f Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26810 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/northbridge/intel/i440bx/Makefile.inc | 4 ++-- src/northbridge/intel/i440bx/northbridge.c | 3 --- 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); }