From 392de45ae2d9550c3b95078bff7a52c9e5eed563 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 17 Apr 2014 22:24:40 +1000 Subject: mainboard/*: Remove DUMP_ACPI_TABLES from amd boards Dumping the ACPI tables in this way has limited use, is not likely to be used and is poorly implemented. There are much more sophisticated tools available on Linux for debugging ACPI as such this code is outside the scope of coreboots 'bring up the hardware only' philosophy. A more generic implemention could be done with hexdump() in coreboot proper following on from this cleanup. Change-Id: Ifd3bfb76338609d18fcf7158d3c9a6d7c06c8847 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/5530 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Alexandru Gagniuc --- src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c | 34 ------------------------- 1 file changed, 34 deletions(-) (limited to 'src/mainboard/jetway/nf81-t56n-lf') diff --git a/src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c b/src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c index a3c5728e79..63cdb523a3 100644 --- a/src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c +++ b/src/mainboard/jetway/nf81-t56n-lf/acpi_tables.c @@ -28,8 +28,6 @@ #include #include -#include /* used for hexdump for CONFIG_DEBUG_ACPI */ - extern const unsigned char AmlCode[]; unsigned long acpi_fill_ssdt_generator(unsigned long current, const char *oem_table_id) @@ -267,38 +265,6 @@ unsigned long write_acpi_tables(unsigned long start) current += ssdt2->length; acpi_add_table(rsdp,ssdt2); -#if defined(CONFIG_DEBUG_ACPI) - printk(BIOS_DEBUG, "rsdp\n"); - hexdump(rsdp, sizeof(acpi_rsdp_t)); - - printk(BIOS_DEBUG, "rsdt\n"); - hexdump(rsdt, sizeof(acpi_rsdt_t)); - - printk(BIOS_DEBUG, "madt\n"); - hexdump(madt, madt->header.length); - - printk(BIOS_DEBUG, "srat\n"); - hexdump(srat, srat->header.length); - - printk(BIOS_DEBUG, "slit\n"); - hexdump(slit, slit->header.length); - - printk(BIOS_DEBUG, "alib\n"); - hexdump(ssdt, alib->length); - - printk(BIOS_DEBUG, "ssdt\n"); - hexdump(ssdt, ssdt->length); - - printk(BIOS_DEBUG, "ssdt2\n"); - hexdump(ssdt2, ssdt2->length); - - printk(BIOS_DEBUG, "fadt\n"); - hexdump(fadt, fadt->header.length); - - printk(BIOS_DEBUG, "hest\n"); - hexdump(hest, hest->header.length); -#endif /* CONFIG_DEBUG_ACPI */ - printk(BIOS_INFO, "ACPI: done.\n"); return current; } -- cgit v1.2.3