diff options
author | Wang Qing Pei <wangqingpei@gmail.com> | 2010-08-17 11:11:09 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-08-17 11:11:09 +0000 |
commit | 543f767dbf86aa4625d22d3055f729c5fd3b45ac (patch) | |
tree | d631166977fc2cd200f70cde9a9412239e26e79e /src/mainboard/asrock | |
parent | 3f90125ab53af9957e4191b97c8e6e0f3da37f17 (diff) | |
download | coreboot-543f767dbf86aa4625d22d3055f729c5fd3b45ac.tar.xz |
Tilapila supports both dual slot and single slot. The difference should be
detected by the existence of dev3. Some other RS780 mainboard has
the same function. The patch added the function to make these boards work
smoothly.
Signed-off-by: Wang Qing Pei <wangqingpei@gmail.com>
Acked-by: Zheng Bao <zheng.bao@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5714 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asrock')
-rw-r--r-- | src/mainboard/asrock/939a785gmh/mainboard.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/asrock/939a785gmh/mainboard.c b/src/mainboard/asrock/939a785gmh/mainboard.c index 0aea2c65ea..9e29546506 100644 --- a/src/mainboard/asrock/939a785gmh/mainboard.c +++ b/src/mainboard/asrock/939a785gmh/mainboard.c @@ -34,7 +34,7 @@ uint64_t uma_memory_base, uma_memory_size; void set_pcie_dereset(void); void set_pcie_reset(void); - +u8 is_dev3_present(void); /* * Mahogany uses GPIO 6 as PCIe slot reset, GPIO4 as GFX slot reset. We need to * pull it up before training the slot. @@ -94,6 +94,11 @@ static void get_ide_dma66(void) } #endif /* get_ide_dma66 */ +u8 is_dev3_present(void) +{ + return 0; +} + /************************************************* * enable the dedicated function in mahogany board. * This function called early than rs780_enable. |