summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte
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/gigabyte
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/gigabyte')
-rw-r--r--src/mainboard/gigabyte/ma785gm/mainboard.c2
-rw-r--r--src/mainboard/gigabyte/ma785gmt/mainboard.c2
-rw-r--r--src/mainboard/gigabyte/ma78gm/mainboard.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/mainboard/gigabyte/ma785gm/mainboard.c b/src/mainboard/gigabyte/ma785gm/mainboard.c
index 680bb2eeb7..c65fbb6cf2 100644
--- a/src/mainboard/gigabyte/ma785gm/mainboard.c
+++ b/src/mainboard/gigabyte/ma785gm/mainboard.c
@@ -139,8 +139,6 @@ static void ma785gm_enable(device_t dev)
{
printk(BIOS_INFO, "Mainboard MA785GM-US2H Enable. dev=0x%p\n", dev);
- setup_uma_memory();
-
set_pcie_dereset();
/* get_ide_dma66(); */
set_gpio40_gfx();
diff --git a/src/mainboard/gigabyte/ma785gmt/mainboard.c b/src/mainboard/gigabyte/ma785gmt/mainboard.c
index b7ecf9f2eb..3c26c6a287 100644
--- a/src/mainboard/gigabyte/ma785gmt/mainboard.c
+++ b/src/mainboard/gigabyte/ma785gmt/mainboard.c
@@ -249,8 +249,6 @@ static void ma785gmt_enable(device_t dev)
{
printk(BIOS_INFO, "Mainboard MA785GMT-UD2H Enable. dev=0x%p\n", dev);
- setup_uma_memory();
-
set_pcie_dereset();
/* get_ide_dma66(); */
set_thermal_config();
diff --git a/src/mainboard/gigabyte/ma78gm/mainboard.c b/src/mainboard/gigabyte/ma78gm/mainboard.c
index 6756690dc1..ba9baf4f45 100644
--- a/src/mainboard/gigabyte/ma78gm/mainboard.c
+++ b/src/mainboard/gigabyte/ma78gm/mainboard.c
@@ -76,8 +76,6 @@ static void ma78gm_enable(device_t dev)
{
printk(BIOS_INFO, "Mainboard MA78GM-US2H Enable. dev=0x%p\n", dev);
- setup_uma_memory();
-
set_pcie_dereset();
/* get_ide_dma66(); */
}