summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-07-19 19:26:43 +0300
committerAnton Kochkov <anton.kochkov@gmail.com>2012-08-02 12:56:09 +0200
commit6b5eb1cc2d1702ff10cd02249d3d861c094f9118 (patch)
treebff0974dc6c3b5637c1fd2be45d06d4cf5dc9fba /src/mainboard/asrock
parent30f04645c1dc25a34d1e274a360a8a97f1d07f92 (diff)
downloadcoreboot-6b5eb1cc2d1702ff10cd02249d3d861c094f9118.tar.xz
AMD and GFXUMA: move setup_uma_memory() to northbridge
UMA region can be determined at any time after the amount of RAM is known and before the uma_resource() call. Change-Id: I2a0bf2d3cad55ee70e889c88846f962b7faa0c7e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1379 Reviewed-by: Zheng Bao <zheng.bao@amd.com> Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r--src/mainboard/asrock/939a785gmh/mainboard.c2
-rw-r--r--src/mainboard/asrock/e350m1/mainboard.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/mainboard/asrock/939a785gmh/mainboard.c b/src/mainboard/asrock/939a785gmh/mainboard.c
index d3ea27e87c..7526c6b9b8 100644
--- a/src/mainboard/asrock/939a785gmh/mainboard.c
+++ b/src/mainboard/asrock/939a785gmh/mainboard.c
@@ -100,8 +100,6 @@ static void mb_enable(device_t dev)
{
printk(BIOS_INFO, "Mainboard 939A785GMH/128M Enable. dev=0x%p\n", dev);
- setup_uma_memory();
-
set_pcie_dereset();
/* get_ide_dma66(); */
}
diff --git a/src/mainboard/asrock/e350m1/mainboard.c b/src/mainboard/asrock/e350m1/mainboard.c
index d0151be544..9a76cce56a 100644
--- a/src/mainboard/asrock/e350m1/mainboard.c
+++ b/src/mainboard/asrock/e350m1/mainboard.c
@@ -52,7 +52,6 @@ void set_pcie_dereset(void)
static void e350m1_enable(device_t dev)
{
printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
- setup_uma_memory();
}
int add_mainboard_resources(struct lb_memory *mem)