[coreboot] [PATCH] flashrom: VIA VX800 support

Arjan Koers 0h3q2rmn2bdb at list.nospam.xutrox.com
Sun Jun 14 22:36:55 CEST 2009


The VIA VX800 chipset works with the VT8237S code after adding an
entry for the VX800 PCI ID.

Signed-off-by: Arjan Koers <0h3q2rmn2bdb at list.nospam.xutrox.com>

Index: chipset_enable.c
===================================================================
--- chipset_enable.c    (revision 589)
+++ chipset_enable.c    (working copy)
@@ -1028,6 +1028,7 @@
        {0x1106, 0x3227, OK, "VIA", "VT8237",           enable_flash_vt823x},
        {0x1106, 0x3337, OK, "VIA", "VT8237A",          enable_flash_vt823x},
        {0x1106, 0x3372, OK, "VIA", "VT8237S",          enable_flash_vt8237s_spi},
+       {0x1106, 0x8353, OK, "VIA", "VX800",            enable_flash_vt8237s_spi},
        {0x1106, 0x0586, OK, "VIA", "VT82C586A/B",      enable_flash_amd8111},
        {0x1106, 0x0686, NT, "VIA", "VT82C686A/B",      enable_flash_amd8111},


In case anyone needs information about the VX800 chipset, the
VX800 / VX820 Series System Programming Manual can be downloaded from:
	http://linux.via.com.tw/support/beginDownload.action?eleid=161&fid=241


The tests below were performed on my Jetway NF77-N1G6-LF board with
VIA VX800 chipset and VIA Nano CPU. Information about the board
can be found at these locations:
	http://www.jetwaycomputer.com/NF77.html
	http://www.jetway.com.tw/jw/ipcboard_view.asp?productid=581


# ./flashrom
flashrom v0.9.0-r589
No coreboot table found.
Found chipset "VIA VX800", enabling flash write... Mapping VT8237S MMIO registers at 0xfed10000, unaligned size 0x70.
OK.
Calibrating delay loop... OK.
Found chip "Winbond W25x40" (512 KB) at physical address 0xfff80000.
No operations were specified.


# ./flashrom -r backup-a02.bin
flashrom v0.9.0-r589
No coreboot table found.
Found chipset "VIA VX800", enabling flash write... Mapping VT8237S MMIO registers at 0xfed10000, unaligned size 0x70.
OK.
Calibrating delay loop... OK.
Found chip "Winbond W25x40" (512 KB) at physical address 0xfff80000.
Reading flash... done.


# ./flashrom -E
flashrom v0.9.0-r589
No coreboot table found.
Found chipset "VIA VX800", enabling flash write... Mapping VT8237S MMIO registers at 0xfed10000, unaligned size 0x70.
OK.
Calibrating delay loop... OK.
Found chip "Winbond W25x40" (512 KB) at physical address 0xfff80000.
Erasing flash chip... SUCCESS.


# ./flashrom -w nf77a03.bin
flashrom v0.9.0-r589
No coreboot table found.
Found chipset "VIA VX800", enabling flash write... Mapping VT8237S MMIO registers at 0xfed10000, unaligned size 0x70.
OK.
Calibrating delay loop... OK.
Found chip "Winbond W25x40" (512 KB) at physical address 0xfff80000.
Flash image seems to be a legacy BIOS. Disabling checks.
Writing flash chip... Programming page:

COMPLETE.





More information about the coreboot mailing list