summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-17 04:40:15 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-17 04:40:15 +0000
commit50776fab1c9062ddfa353ee6c138f69d901c11b7 (patch)
treeece1cfdf3cf999616f895dd4aa4ad4f0713c38c7 /src/mainboard/amd/serengeti_cheetah/acpi_tables.c
parentdfd29aa41347083fbc7a26ca7d639f7f60fe1eea (diff)
downloadcoreboot-50776fab1c9062ddfa353ee6c138f69d901c11b7.tar.xz
trivial warning fixes, mostly for ACPI code
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5251 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd/serengeti_cheetah/acpi_tables.c')
-rw-r--r--src/mainboard/amd/serengeti_cheetah/acpi_tables.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mainboard/amd/serengeti_cheetah/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
index 9c59160cb6..a55ab640f3 100644
--- a/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
+++ b/src/mainboard/amd/serengeti_cheetah/acpi_tables.c
@@ -156,7 +156,7 @@ unsigned long acpi_fill_madt(unsigned long current)
extern void get_bus_conf(void);
-void update_ssdtx(void *ssdtx, int i)
+static void update_ssdtx(void *ssdtx, int i)
{
uint8_t *PCI;
uint8_t *HCIN;
@@ -200,8 +200,6 @@ unsigned long write_acpi_tables(unsigned long start)
acpi_header_t *ssdtx;
unsigned char *p;
- unsigned char *AmlCode_ssdtx[HC_POSSIBLE_NUM];
-
int i;
get_bus_conf(); //it will get sblk, pci1234, hcdn, and sbdn
@@ -313,7 +311,7 @@ unsigned long write_acpi_tables(unsigned long start)
current += ((acpi_header_t *)AmlCode)->length;
memcpy((void *)dsdt,(void *)AmlCode, \
((acpi_header_t *)AmlCode)->length);
- printk_debug("ACPI: * DSDT @ %08x Length %x\n",dsdt,dsdt->length);
+ printk_debug("ACPI: * DSDT @ %p Length %x\n",dsdt,dsdt->length);
/* FDAT */
printk_debug("ACPI: * FADT\n");