On Wed, Oct 21, 2009 at 02:52:56PM +0200, Alessandro Polverini wrote:
> Hello,
> this is the output of flashrom:
> 
> flashrom v0.9.1-r736
> No coreboot table found.
> Found chipset "NVIDIA MCP55", enabling flash write... OK.
> This chipset supports the following protocols: Non-SPI.
> Calibrating delay loop... OK.
> No EEPROM/flash device found.
> 
> While the output of lspci is attached.
> 
> HTH,
> Alessandro

Hi Alessandro,

Attached is a patch that might work for you.

Luc Verhaegen.
>From 53007dfa950fd75d705280b7e07452f0d2caa200 Mon Sep 17 00:00:00 2001
From: Luc Verhaegen <[email protected]>
Date: Thu, 3 Dec 2009 04:56:02 +0100
Subject: [PATCH] Board: Add Tyan S2915.

Signed-off-by: Luc Verhaegen <[email protected]>
---
 board_enable.c |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/board_enable.c b/board_enable.c
index 44b1a67..5d8ac92 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -434,6 +434,24 @@ static void nvidia_mcp_gpio_raise(struct pci_dev *dev, 
uint8_t offset)
 }
 
 /**
+ * Suited for the Tyan S2915: nVidia MCP55.
+ */
+static int board_tyan_s2915(const char *name)
+{
+       struct pci_dev *dev;
+
+       dev = pci_dev_find(0x10DE, 0x0368);     /* NVIDIA MCP55 SMBus */
+       if (!dev) {
+               fprintf(stderr, "\nERROR: nVidia MCP55 SMBus not found.\n");
+               return -1;
+       }
+
+       nvidia_mcp_gpio_raise(dev, 0x04);
+
+       return 0;
+}
+
+/**
  * Suited for the Gigabyte GA-K8N-SLI: CK804 southbridge.
  */
 static int board_ga_k8n_sli(const char *name)
@@ -1186,6 +1204,7 @@ struct board_pciid_enable board_pciid_enables[] = {
        {0x10DE, 0x0050, 0x1297, 0x5036,  0x1412, 0x1724, 0x1297, 0x5036, NULL, 
        NULL,          "Shuttle",     "FN25",               board_shuttle_fn25},
        {0x1106, 0x3038, 0x0925, 0x1234,  0x1106, 0x3058, 0x15DD, 0x7609, NULL, 
        NULL,          "Soyo",        "SY-7VCA",            board_soyo_sy_7vca},
        {0x8086, 0x1076, 0x8086, 0x1176,  0x1106, 0x3059, 0x10f1, 0x2498, NULL, 
        NULL,          "Tyan",        "S2498 (Tomcat K7M)", 
board_asus_a7v8x_mx},
+       {0x10DE, 0x0369, 0x10F1, 0x2915,  0x10DE, 0x0364, 0x10F1, 0x2915, NULL, 
        NULL,          "Tyan",        "S2915",              board_tyan_s2915},
        {0x1106, 0x0314, 0x1106, 0xaa08,  0x1106, 0x3227, 0x1106, 0xAA08, NULL, 
        NULL,          "VIA",         "EPIA-CN",            board_via_epia_sp},
        {0x1106, 0x3177, 0x1106, 0xAA01,  0x1106, 0x3123, 0x1106, 0xAA01, NULL, 
        NULL,          "VIA",         "EPIA M/MII/...",     board_via_epia_m},
        {0x1106, 0x0259, 0x1106, 0x3227,  0x1106, 0x3065, 0x1106, 0x3149, 
"via",        "epia-n",      "VIA",         "EPIA-N/NL",          
board_via_epia_n}, /* TODO: remove coreboot ids */
-- 
1.6.0.2

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to