From 318e481e55e807d5f1218c28036c6a44f25adee3 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 20 Oct 2014 19:38:27 +0200 Subject: Kconfig: Remove ACPI_SSDTX_NUM. Its scope is limited to a single mainboard and is only to go through ifdef. Kill it and move the value to the code. Change-Id: I76a87e2790d57dee8f37b51e33d0689fffd3a59d Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/7135 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Edward O'Callaghan --- src/mainboard/amd/serengeti_cheetah_fam10/Kconfig | 4 ---- src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c | 5 ----- 2 files changed, 9 deletions(-) (limited to 'src/mainboard/amd/serengeti_cheetah_fam10') diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig index f0b20431e8..8677fc9557 100644 --- a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig +++ b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig @@ -62,8 +62,4 @@ config AMD_UCODE_PATCH_FILE string default "mc_patch_01000095.h" -config ACPI_SSDTX_NUM - int - default 5 - endif # BOARD_AMD_SERENGETI_CHEETAH_FAM10 diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c index ea3ec6cc42..cb91132886 100644 --- a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c +++ b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c @@ -30,12 +30,10 @@ #include "mb_sysconf.h" #include "mainboard.h" -#if CONFIG_ACPI_SSDTX_NUM >= 1 extern const unsigned char AmlCode_ssdt2[]; extern const unsigned char AmlCode_ssdt3[]; extern const unsigned char AmlCode_ssdt4[]; extern const unsigned char AmlCode_ssdt5[]; -#endif unsigned long acpi_fill_madt(unsigned long current) { @@ -143,8 +141,6 @@ unsigned long mainboard_write_acpi_tables(unsigned long current, get_bus_conf(); //it will get sblk, pci1234, hcdn, and sbdn -#if CONFIG_ACPI_SSDTX_NUM >= 1 - /* same htio, but different possition? We may have to copy, change HCIN, and recalculate the checknum and add_table */ @@ -182,7 +178,6 @@ unsigned long mainboard_write_acpi_tables(unsigned long current, ssdtx->checksum = acpi_checksum((u8 *)ssdtx, ssdtx->length); acpi_add_table(rsdp, ssdtx); } -#endif return current; } -- cgit v1.2.3