From f4cc089f1eb4b8b4a31c4aae63990034f49c5a97 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Wed, 14 Apr 2010 16:50:16 +0000 Subject: Remove few more warnings and some dead code. Signed-off-by: Myles Watson Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5432 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- .../amd/serengeti_cheetah_fam10/acpi_tables.c | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c') diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c index 6282ef60c9..868649171d 100644 --- a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c +++ b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c @@ -160,32 +160,6 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } - -extern void update_ssdt(void *ssdt); - -static void update_ssdtx(void *ssdtx, int i) -{ - u8 *PCI; - u8 *HCIN; - u8 *UID; - - PCI = ssdtx + 0x32; - HCIN = ssdtx + 0x39; - UID = ssdtx + 0x40; - - if(i<7) { - *PCI = (u8) ('4' + i - 1); - } - else { - *PCI = (u8) ('A' + i - 1 - 6); - } - *HCIN = (u8) i; - *UID = (u8) (i+3); - - /* FIXME: need to update the GSI id in the ssdtx too */ - -} - unsigned long write_acpi_tables(unsigned long start) { unsigned long current; -- cgit v1.2.3