Flashrom

Flashrom is an open-source utility for flashing flash chips and carrying out related tasks. Flashrom supports many different motherboards and other ASICs for flashing BIOS, EFI, Coreboot, Firmware, and other ROM images.

flashrom.org