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/amd/mahogany/mainboard.c | |
parent | 3f90125ab53af9957e4191b97c8e6e0f3da37f17 (diff) |
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/amd/mahogany/mainboard.c')
-rw-r--r-- | src/mainboard/amd/mahogany/mainboard.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/amd/mahogany/mainboard.c b/src/mainboard/amd/mahogany/mainboard.c index 0aea2c65ea..0a5f691eae 100644 --- a/src/mainboard/amd/mahogany/mainboard.c +++ b/src/mainboard/amd/mahogany/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,10 @@ 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. |