Following patch fixes VIA SPI (VT8237S). It needs to have opcodes

initialized same way as ICH7.

 Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
 Acked-by: Peter Stuge <peter@stuge.se>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3926 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Rudolf Marek 2009-02-01 18:40:50 +00:00
parent 293b5f5225
commit e66c258f1b
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ static int enable_flash_vt8237s_spi(struct pci_dev *dev, const char *name)
*(uint16_t *) (spibar + 0x6c)); *(uint16_t *) (spibar + 0x6c));
flashbus = BUS_TYPE_VIA_SPI; flashbus = BUS_TYPE_VIA_SPI;
ich_init_opcodes();
return 0; return 0;
} }