summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/mahogany_fam10
diff options
context:
space:
mode:
authorWang Qing Pei <wangqingpei@gmail.com>2010-08-17 11:11:09 +0000
committerStefan Reinauer <stepan@openbios.org>2010-08-17 11:11:09 +0000
commit543f767dbf86aa4625d22d3055f729c5fd3b45ac (patch)
treed631166977fc2cd200f70cde9a9412239e26e79e /src/mainboard/amd/mahogany_fam10
parent3f90125ab53af9957e4191b97c8e6e0f3da37f17 (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_fam10')
-rw-r--r--src/mainboard/amd/mahogany_fam10/mainboard.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/amd/mahogany_fam10/mainboard.c b/src/mainboard/amd/mahogany_fam10/mainboard.c
index c877914f86..8ecf4f8d04 100644
--- a/src/mainboard/amd/mahogany_fam10/mainboard.c
+++ b/src/mainboard/amd/mahogany_fam10/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.