From 505414a6cfb2aeef455b5144e4b96fc27f19eb39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 10 Jul 2012 14:26:43 +0300 Subject: AMD and GFXUMA: drop redundant use of lb_add_memory_range() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use of uma_resource() in AMD northbridge code created a memory resource marked as reserved. Such resources are removed from system memory in write_coreboot_table(). Change-Id: Ib5e49e851d6622d8ece9d6d612e245b3962b9167 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/1233 Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek --- src/mainboard/siemens/sitemp_g1p1/mainboard.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/mainboard/siemens') diff --git a/src/mainboard/siemens/sitemp_g1p1/mainboard.c b/src/mainboard/siemens/sitemp_g1p1/mainboard.c index fa29ea321f..05435d8583 100644 --- a/src/mainboard/siemens/sitemp_g1p1/mainboard.c +++ b/src/mainboard/siemens/sitemp_g1p1/mainboard.c @@ -873,14 +873,6 @@ int add_mainboard_resources(struct lb_memory *mem) printk(BIOS_INFO, "mmconf: base=%0llx size=%0llx\n", res->base, res->size); lb_add_memory_range(mem, LB_MEM_RESERVED, res->base, res->size); } - /* UMA is removed from system memory in the northbridge code, but - * in some circumstances we want the memory mentioned as reserved. - */ -#if CONFIG_GFXUMA - printk(BIOS_INFO, "uma_memory_base=0x%llx, uma_memory_size=0x%llx \n", - uma_memory_base, uma_memory_size); - lb_add_memory_range(mem, LB_MEM_RESERVED, uma_memory_base, uma_memory_size); -#endif return 0; } -- cgit v1.2.3