Based on https://blog.0xcb.dev/lenovo-t440p-coreboot/
Read it for further instructions.
$ sudo flashrom -p ch341a_spi -r 1_8mb.rom
$ sudo flashrom -p ch341a_spi -r 2_8mb.rom
and compare them
$ diff 1_8mb.rom 2_8mb.rom
$ sudo flashrom -p ch341a_spi -r 1_4mb.rom
$ sudo flashrom -p ch341a_spi -r 2_4mb.rom
and compare them
$ diff 1_4mb.rom 2_4mb.rom
$ sudo flashrom -p ch341a_spi -w bottom.rom
$ sudo flashrom -p ch341a_spi -w top.rom
Enable linux mode "iomem=relaxed" in your grub, when booting or editing /etc/default/grub.
Then flash internally
$ sudo flashrom -p internal -w coreboot.rom