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>
This commit is contained in:
parent
e0e1e64855
commit
961d31bdb3
|
@ -17,10 +17,10 @@
|
||||||
ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I440BX),y)
|
ifeq ($(CONFIG_NORTHBRIDGE_INTEL_I440BX),y)
|
||||||
|
|
||||||
ramstage-y += northbridge.c
|
ramstage-y += northbridge.c
|
||||||
ramstage-$(CONFIG_EARLY_CBMEM_INIT) += ram_calc.c
|
ramstage-y += ram_calc.c
|
||||||
|
|
||||||
romstage-y += raminit.c
|
romstage-y += raminit.c
|
||||||
romstage-$(CONFIG_DEBUG_RAM_SETUP) += debug.c
|
romstage-$(CONFIG_DEBUG_RAM_SETUP) += debug.c
|
||||||
romstage-$(CONFIG_EARLY_CBMEM_INIT) += ram_calc.c
|
romstage-y += ram_calc.c
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -79,9 +79,6 @@ static void i440bx_domain_set_resources(struct device *dev)
|
||||||
idx = 10;
|
idx = 10;
|
||||||
ram_resource(dev, idx++, 0, 640);
|
ram_resource(dev, idx++, 0, 640);
|
||||||
ram_resource(dev, idx++, 768, tolmk - 768);
|
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);
|
assign_resources(dev->link_list);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue