build. As far as I know, no C7 boards currently in the tree use SPI
flash.
Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3665
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
pci_write_config8(dev, 0x41, 0x7f);
}
+#if defined(__GNUC__)
void vt8237_early_spi_init(void)
{
device_t dev;
spireg = (u16 *) (VT8237S_SPI_MEM_BASE + 0x6c);
(*spireg) &= 0xff00;
}
+#endif
/* This #if is special. ROMCC chokes on the (rom == NULL) comparison.
* Since the whole function is only called for one target and that target