diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-06-15 17:13:27 +0200 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2011-06-15 19:03:39 +0200 |
commit | d4dc9a5a039123f788848d1fa54926270b6c8805 (patch) | |
tree | b930fba935f9f07b6759bd1a20e4147ca7a05152 /src/mainboard/lenovo | |
parent | d8c68a9d08afbd9475de8bf2ff6b43eec892fe8a (diff) |
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 <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/35
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/t60/acpi_tables.c | 55 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/acpi_tables.c | 55 |
2 files changed, 0 insertions, 110 deletions
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) { diff --git a/src/mainboard/lenovo/x60/acpi_tables.c b/src/mainboard/lenovo/x60/acpi_tables.c index d9275b5ac0..3742c2097b 100644 --- a/src/mainboard/lenovo/x60/acpi_tables.c +++ b/src/mainboard/lenovo/x60/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) { |