Hello,

Following patch adds the support for ROMCS_EN for writes aka chipset_enable on RDC R6030 found on bifferboard.

The patch for flashchip will follow in near future.

Signed-off-by: Rudolf Marek <[email protected]>

Thanks
Rudolf
Index: chipset_enable.c
===================================================================
--- chipset_enable.c	(revision 1485)
+++ chipset_enable.c	(working copy)
@@ -54,6 +54,17 @@
 	return 0;
 }
 
+static int enable_flash_rdc(struct pci_dev *dev, const char *name)
+{
+	uint8_t tmp;
+
+	tmp = pci_read_byte(dev, 0x43);
+	tmp |= 0x80;
+	pci_write_byte(dev, 0x43, tmp);
+
+	return 0;
+}
+
 static int enable_flash_sis85c496(struct pci_dev *dev, const char *name)
 {
 	uint8_t tmp;
@@ -1235,6 +1246,7 @@
 	{0x1106, 0x8409, OK, "VIA", "VX855/VX875",	enable_flash_vt823x},
 	{0x1166, 0x0200, OK, "Broadcom", "OSB4",	enable_flash_osb4},
 	{0x1166, 0x0205, OK, "Broadcom", "HT-1000",	enable_flash_ht1000},
+	{0x17f3, 0x6030, OK, "RDC", "R6030",		enable_flash_rdc},
 	{0x8086, 0x122e, OK, "Intel", "PIIX",		enable_flash_piix4},
 	{0x8086, 0x1234, NT, "Intel", "MPIIX",		enable_flash_piix4},
 	{0x8086, 0x1c44, OK, "Intel", "Z68",		enable_flash_pch6},
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to