From d4dc9a5a039123f788848d1fa54926270b6c8805 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Wed, 15 Jun 2011 17:13:27 +0200 Subject: Remove old ACPI code it isn't used anywhere, and could be fetched from git/svn history if needed. Change-Id: Iaa2ba39af531d0389d7ab1110263ae7ecaa35c70 Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/35 Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/t60/acpi_tables.c | 55 ---------------------------------- 1 file changed, 55 deletions(-) (limited to 'src/mainboard/lenovo/t60') diff --git a/src/mainboard/lenovo/t60/acpi_tables.c b/src/mainboard/lenovo/t60/acpi_tables.c index d9275b5ac0..3742c2097b 100644 --- a/src/mainboard/lenovo/t60/acpi_tables.c +++ b/src/mainboard/lenovo/t60/acpi_tables.c @@ -36,61 +36,6 @@ extern const unsigned char AmlCode[]; unsigned long acpi_create_slic(unsigned long current); #endif -#define OLD_ACPI 0 -#if OLD_ACPI -static void acpi_create_gnvs(global_nvs_t *gnvs) -{ - memset (gnvs, 0, sizeof(global_nvs_t)); - - gnvs->LIDS = 1; - gnvs->PWRS = 1; - - gnvs->ACTT = 0x37; - gnvs->PSVT = 0x4f; - - gnvs->TC1V = 0x00; - gnvs->TC2V = 0x0a; - gnvs->TSPV = 0x02; - - gnvs->CRTT = 0x77; - - gnvs->B0SC = 0x54; - gnvs->APIC = 0x01; - gnvs->MPEN = 0x01; - - gnvs->PPCM = 0x02; - gnvs->PCP0 = 0xbf; - gnvs->PCP1 = 0xbf; - - gnvs->CMAP = 0x01; - gnvs->CMBP = 0x01; - gnvs->LT0 = 0x01; - gnvs->FDCP = 0x01; - gnvs->CMCP = 0x01; - gnvs->CMDP = 0x01; - gnvs->P2M = 0x02; - - gnvs->IGDS = 0x01; - - gnvs->CADL = 0x09; - gnvs->PADL = 0x09; - - gnvs->NDID = 3; - gnvs->DID1 = 0x80000100; - gnvs->DID2 = 0x80000240; - gnvs->DID3 = 0x80000410; - gnvs->DID4 = 0x80000410; - gnvs->DID5 = 0x00000005; - - gnvs->ALAF = 0x64; - gnvs->LLOW = 0x2c; - gnvs->LHIH = 0x01; - - // tolud = pci_read_config32(dev_find_slot(0, PCI_DEVFN(2, 0)), 0x5c); - // oemb->topm = tolud; -} -#endif - #include "southbridge/intel/i82801gx/nvs.h" static void acpi_create_gnvs(global_nvs_t *gnvs) { -- cgit v1.2.3