From 06755e404eb4b97dab5bc5ff90443f7d7d74d3cf Mon Sep 17 00:00:00 2001 From: Michael Xie Date: Mon, 22 Sep 2008 13:07:20 +0000 Subject: Patch for AMD RS690 chipset. All the PCIe slots are enabled in this patch except power management. Signed-off-by: Michael Xie Reviewed-by: Marc Jones Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3588 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/coreboot_table.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/arch/i386/boot') diff --git a/src/arch/i386/boot/coreboot_table.c b/src/arch/i386/boot/coreboot_table.c index 900ab7c106..86cb9a388b 100644 --- a/src/arch/i386/boot/coreboot_table.c +++ b/src/arch/i386/boot/coreboot_table.c @@ -447,6 +447,15 @@ unsigned long write_coreboot_table( lb_add_memory_range(mem, LB_MEM_TABLE, rom_table_start, rom_table_end-rom_table_start); + /* AMD rs690 chip, we should remove the UMA from system memory. */ +#if (CONFIG_GFXUMA == 1) + printk_info("uma_memory_start=0x%x, uma_memory_size=0x%x \n", + uma_memory_start, uma_memory_size); + lb_add_memory_range(mem, LB_MEM_TABLE, + uma_memory_start, uma_memory_size); +#endif + + /* Note: * I assume that there is always memory at immediately after * the low_table_end. This means that after I setup the coreboot table. -- cgit v1.2.3