mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
Register Parallel/LPC/FWH programmers the same way SPI programmers are registered
All programmers are now calling programmer registration functions and direct manipulations of buses_supported are not needed/possible anymore. Note: Programmers without parallel/LPC/FWH chip support should not call register_par_programmer(). Additional fixes: Set max_rom_decode.parallel for drkaiser. Remove abuse of programmer_map_flash_region in it85spi. Annotate several FIXMEs in it85spi. Corresponding to flashrom svn r1463. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
This commit is contained in:
@ -82,10 +82,10 @@ int wbsio_check_for_spi(void)
|
||||
|
||||
msg_pspew("\nwbsio_spibase = 0x%x\n", wbsio_spibase);
|
||||
|
||||
register_spi_programmer(&spi_programmer_wbsio);
|
||||
msg_pdbg("%s: Winbond saved on 4 register bits so max chip size is "
|
||||
"1024 kB!\n", __func__);
|
||||
max_rom_decode.spi = 1024 * 1024;
|
||||
register_spi_programmer(&spi_programmer_wbsio);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user