From 9edd8e46f5863d6729b7042279737c483143f8ed Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sun, 29 Jul 2012 10:34:59 +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 See commit 505414a6cfb2aeef455b5144e4b96fc27f19eb39. Change-Id: Icc04af9726ae54141581aecc84c40e8aac54591d Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/1378 Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov --- src/mainboard/amd/parmer/mainboard.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/mainboard/amd/parmer/mainboard.c') diff --git a/src/mainboard/amd/parmer/mainboard.c b/src/mainboard/amd/parmer/mainboard.c index dae70c1fa9..0d73a4c36b 100644 --- a/src/mainboard/amd/parmer/mainboard.c +++ b/src/mainboard/amd/parmer/mainboard.c @@ -51,16 +51,6 @@ static void parmer_enable(device_t dev) int add_mainboard_resources(struct lb_memory *mem) { - /* UMA is removed from system memory in the northbridge code, but - * in some circumstances we want the memory mentioned as reserved. - */ - /* TODO: Check out why it was commented. */ -#if CONFIG_GFXUMA - printk(BIOS_INFO, "uma_memory_start=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; } struct chip_operations mainboard_ops = { -- cgit v1.2.3