MCP55: Add TINY_BOOTBLOCK support.
[coreboot.git] / src / southbridge / amd / amd8111 / amd8111_enable_rom.c
1
2 static void amd8111_enable_rom(void)
3 {
4         unsigned char byte;
5         device_t dev;
6
7         /* Enable 5MB rom access at 0xFFB00000 - 0xFFFFFFFF */
8         /* Locate the amd8111 */
9         dev = pci_io_locate_device(PCI_ID(0x1022, 0x7468), 0);
10
11         /* Set the 5MB enable bits */
12         byte = pci_io_read_config8(dev, 0x43);
13         byte |= 0xC0;
14         pci_io_write_config8(dev, 0x43, byte);
15 }