2 * Copyright 2004 Tyan Computer
6 #if CONFIG_HT_CHAIN_END_UNITID_BASE < CONFIG_HT_CHAIN_UNITID_BASE
7 #define CK804_DEVN_BASE CONFIG_HT_CHAIN_END_UNITID_BASE
9 #define CK804_DEVN_BASE CONFIG_HT_CHAIN_UNITID_BASE
12 static void ck804_enable_rom(void)
17 /* Enable 4MB ROM access at 0xFFC00000 - 0xFFFFFFFF. */
18 /* Locate the ck804 LPC. */
19 addr = PCI_DEV(0, (CK804_DEVN_BASE + 1), 0);
21 /* Set the 4MB enable bit. */
22 byte = pci_read_config8(addr, 0x88);
24 pci_write_config8(addr, 0x88, byte);