How to Resize EC Firmware?

There are situations where the size of the EC firmware you extracted from Bios Update Utility does not match with the size of the SPI chip you want EC Firmware to flash with. To solve this problem, use EC Firmware Tool to resize the stock EC firmware.

Examples

Resizing of 128kB into 192kB, 256kB, 512kB and 1024kB