Myles, are you sure that is dead code or is it just a missing
ACPI_SSDTX_NUM in Kconfig because noone cared to move the board to
Kconfig completely?

Stefan

On 3/26/10 7:31 PM, repository service wrote:
> -#if CONFIG_ACPI_SSDTX_NUM >= 1
> -
> -     /* same htio, but different position? We may have to copy, change HCIN, 
> and recalculate the checknum and add_table */
> -
> -     for (i = 1; i < sysconf.hc_possible_num; i++) { /* 0: is hc sblink */
> -             if ((sysconf.pci1234[i] & 1) != 1)
> -                     continue;
> -             uint8_t c;
> -             if (i < 7) {
> -                     c = (uint8_t) ('4' + i - 1);
> -             } else {
> -                     c = (uint8_t) ('A' + i - 1 - 6);
> -             }
> -             printk(BIOS_DEBUG, "ACPI:    * SSDT for PCI%c Aka hcid = %d\n", 
> c, sysconf.hcid[i]);    /* pci0 and pci1 are in dsdt */
> -             current = (current + 0x07) & -0x08;
> -             ssdtx = (acpi_header_t *) current;
> -             switch (sysconf.hcid[i]) {
> -             case 1: /* 8132 */
> -                     p = &AmlCode_ssdt2;
> -                     break;
> -             case 2: /* 8151 */
> -                     p = &AmlCode_ssdt3;
> -                     break;
> -             case 3: /* 8131 */
> -                     p = &AmlCode_ssdt4;
> -                     break;
> -             default:
> -                     /* HTX no io apic */
> -                     p = &AmlCode_ssdt5;
> -                     break;
> -             }
> -             current += p->length;
> -             memcpy((void *)ssdtx, p, p->length);
> -             update_ssdtx((void *)ssdtx, i);
> -             ssdtx->checksum = 0;
> -             ssdtx->checksum = acpi_checksum((u8 *)ssdtx, ssdtx->length);
> -             acpi_add_table(rsdp, ssdtx);
> -     }
> -#endif
> -
>   


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: i...@coresystems.de  • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to