Flash DualBIOS

This simple script can be used on Gigabyte boards with two flash chips.

It flashes coreboot to the main SPI chip and erases the backup SPI chip.

#!/bin/sh
 
flashrom -p internal:dualbiosindex=1 -E
flashrom -p internal:dualbiosindex=0 -w $1