aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/amd/dbm690t/get_bus_conf.c
diff options
context:
space:
mode:
authorJoe Bao <zheng.bao@amd.com>2008-12-01 19:52:54 +0000
committerMarc Jones <marc.jones@amd.com>2008-12-01 19:52:54 +0000
commit7c3d3b20279d07302a55df26e6e1be6cc040f988 (patch)
tree422cd730327d9017c05b210a0dcd446a42494dbf /src/mainboard/amd/dbm690t/get_bus_conf.c
parent40d46ba383de03ebb413ab0f3ac3af8301f5f813 (diff)
Add AMD dbm690t ACPI support.
The following ACPI features are supported. 1. S1, S5 sleep and wake up (by power button or PS/2 keyboard/mouse). 2. AMD powernow-k8 driver. 3. Thermal configuration based on ADT7461. 4. IDE timing settings. 5. HPET timer. 6. Interrupt routing based on ACPI table. Signed-off-by: Joe Bao <zheng.bao@amd.com> Reviewed-by: Maggie Li <maggie.li@amd.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3787 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd/dbm690t/get_bus_conf.c')
-rw-r--r--src/mainboard/amd/dbm690t/get_bus_conf.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/amd/dbm690t/get_bus_conf.c b/src/mainboard/amd/dbm690t/get_bus_conf.c
index b776e21113..90c98a3ac7 100644
--- a/src/mainboard/amd/dbm690t/get_bus_conf.c
+++ b/src/mainboard/amd/dbm690t/get_bus_conf.c
@@ -29,20 +29,20 @@
#include <cpu/amd/amdk8_sysconf.h>
-/* Global variables for MB layouts and these will be shared by irqtable mptable
+/* Global variables for MB layouts and these will be shared by irqtable mptable
* and acpi_tables busnum is default.
*/
u8 bus_isa;
u8 bus_rs690[8];
u8 bus_sb600[2];
-unsigned long apicid_sb600;
+u32 apicid_sb600;
/*
* Here you only need to set value in pci1234 for HT-IO that could be installed or not
* You may need to preset pci1234 for HTIO board,
* please refer to src/northbridge/amd/amdk8/get_sblk_pci1234.c for detail
*/
-unsigned long pci1234x[] = {
+u32 pci1234x[] = {
0x0000ff0,
};
@@ -50,22 +50,22 @@ unsigned long pci1234x[] = {
* HT Chain device num, actually it is unit id base of every ht device in chain,
* assume every chain only have 4 ht device at most
*/
-unsigned long hcdnx[] = {
+u32 hcdnx[] = {
0x20202020,
};
-unsigned long bus_type[256];
+u32 bus_type[256];
-unsigned long sbdn_rs690;
-unsigned long sbdn_sb600;
+u32 sbdn_rs690;
+u32 sbdn_sb600;
extern void get_sblk_pci1234(void);
-static unsigned long get_bus_conf_done = 0;
+static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
{
- unsigned long apicid_base;
+ u32 apicid_base;
device_t dev;
int i, j;