Hi everybody,

Just wanted to let you know that flashrom is working successfully on X399 Designware motherboard which has an SPI flash for the Bios / Firmware MX25U12835F ( 16 MB ). I flashed, read back the firmware and rebooted to check if the firmware is successfully running. All good...
Below the logs !

Best Regards,
Aymen.

azayet@hurricane:~/tmp/bios$ sudo ./flashrom/flashrom --programmer internal -c "MX25U12835F" -w ./X399DEX.13a                                                                                
flashrom 1.4.0-devel (git:v1.2-1355-g9ccbf1cf) on Linux 5.15.0-84-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found chipset "AMD FP4".
Enabling flash write... OK.
Found Macronix flash chip "MX25U12835F" (16384 kB, SPI) mapped at physical address 0x00000000ff000000.
===
This flash part has status UNTESTED for operations: WP
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.

Thanks for your help!

Reading old flash chip contents... done.
Erase/write done from 0 to ffffff
Verifying flash... VERIFIED.