Patchwork DO NOT REBOOT OR POWEROFF (ASUS P5GDC-Delux)

login
register
about
Submitter Alexander Mikhnovets
Date 2010-09-10 20:21:48
Message ID <AANLkTikReE4j--VC_3wm-Nk=7+nZ7_qOT1O7=c3ZryLb@mail.gmail.com>
Download mbox | patch
Permalink /patch/1911/
State Not Applicable
Headers show

Comments

Alexander Mikhnovets - 2010-09-10 20:21:48
The patch worked.

Mainboard: ASUS P5GDC Delux.

10 сентября 2010 г. 14:59 пользователь Joshua Roys <roysjosh@gmail.com> написал:
> 2010/9/10 Alexander Mikhnovets <alexander.mikhnovets@gmail.com>:
>>
>> My mainboard is ASUS P5GDC Delux.
>>
>> 10 сентября 2010 г. 4:38 пользователь Carl-Daniel Hailfinger
>> <c-d.hailfinger.devel.2006@gmx.net> написал:
>>>
>>> We have to add support for your mainboard. Please check if this is the
>>> P5GDC Deluxe or the P5GDC-V Deluxe or the P5GDC Pro. We also need the
>>>
>
> Hello,
>
> Please try the attached patch on top of the latest code from SVN, and
> let us know if it works.
>
> Good luck!
>
> Josh
>
From 2c85443f036ceb50b06f0dc2d0941f4fda11a5b1 Mon Sep 17 00:00:00 2001
From: Joshua Roys <roysjosh@gmail.com>
Date: Fri, 10 Sep 2010 07:49:36 -0400
Subject: [PATCH] Board enable for ASUS P5GDC Deluxe

Match on SMBus and Audio.

Signed-off-by: Joshua Roys <roysjosh@gmail.com>
---
 board_enable.c |    2 ++
 print.c        |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/board_enable.c b/board_enable.c
index 1b07537..1076a16 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -1348,6 +1348,7 @@  static int intel_ich_gpio19_raise(void)
  *  - ASUS P4B266LM (Sony Vaio PCV-RX650): socket478 + 845D + ICH2
  *  - ASUS P4C800-E Deluxe: socket478 + 875P + ICH5
  *  - ASUS P4P800-E Deluxe: Intel socket478 + 865PE + ICH5R
+ *  - ASUS P5GDC Deluxe: Intel socket775 + 915P + ICH6R
  *  - ASUS P5PE-VM: Intel LGA775 + 865G + ICH5
  *  - Samsung Polaris 32: socket478 + 865P + ICH5
  */
@@ -1807,6 +1808,7 @@  const struct board_pciid_enable board_pciid_enables[] = {
 	{0x8086, 0x2570, 0x1043, 0x80A5,  0x105A, 0x24D3, 0x1043, 0x80A6, NULL,          NULL,         NULL,          "ASUS",        "P4SD-LA",               0,   NT, intel_ich_gpio32_raise},
 	{0x1039, 0x0661, 0x1043, 0x8113,  0x1039, 0x5513, 0x1043, 0x8087, NULL,          NULL,         NULL,          "ASUS",        "P4S800-MX",             512, OK, w836xx_memw_enable_2e},
 	{0x10B9, 0x1541,      0,      0,  0x10B9, 0x1533,      0,      0, "^P5A$",       "asus",       "p5a",         "ASUS",        "P5A",                   0,   OK, board_asus_p5a},
+	{0x8086, 0x266a, 0x1043, 0x80a6,  0x8086, 0x2668, 0x1043, 0x813d, NULL,          NULL,         NULL,          "ASUS",        "P5GDC Deluxe",          0,   OK, intel_ich_gpio21_raise},
 	{0x10DE, 0x0030, 0x1043, 0x818a,  0x8086, 0x100E, 0x1043, 0x80EE, NULL,          NULL,         NULL,          "ASUS",        "P5ND2-SLI Deluxe",      0,   OK, nvidia_mcp_gpio10_raise},
 	{0x8086, 0x24dd, 0x1043, 0x80a6,  0x8086, 0x2570, 0x1043, 0x8157, NULL,          NULL,         NULL,          "ASUS",        "P5PE-VM",               0,   OK, intel_ich_gpio21_raise},
 	{0x8086, 0x3590, 0x1028, 0x016c,  0x1000, 0x0030, 0x1028, 0x016c, NULL,          NULL,         NULL,          "Dell",        "PowerEdge 1850",        0,   OK, intel_ich_gpio23_raise},
diff --git a/print.c b/print.c
index a5c36b7..43187c2 100644
--- a/print.c
+++ b/print.c
@@ -369,6 +369,7 @@  const struct board_info boards_known[] = {
 	B("ASUS",	"P5B-Deluxe",		1, "http://www.asus.com/product.aspx?P_ID=bswT66IBSb2rEWNa", NULL),
 	B("ASUS",	"P5BV-M",		0, "ftp://ftp.asus.com.tw/pub/ASUS/mb/socket775/P5B-VM/", "Reported by Bernhard M. Wiedemann <bernhard@uml12d.zq1.de> to flashrom@coreboot.org, no public archive. Missing board enable and/or SST49LF008A unlocking. May work now."),
 	B("ASUS",	"P5GC-MX/1333",		1, "http://www.asus.com/product.aspx?P_ID=PYvbfOokwxUzJky3", NULL),
+	B("ASUS",	"P5GDC Deluxe",         1, "http://www.asus.com/product.aspx?P_ID=AbeoopyNpI2TZixg", NULL),
 	B("ASUS",	"P5KC",			1, "http://www.asus.com/product.aspx?P_ID=fFZ8oUIGmLpwNMjj", NULL),
 	B("ASUS",	"P5L-MX",		1, "http://www.asus.com/product.aspx?P_ID=X70d3NCzH2DE9vWH", NULL),
 	B("ASUS",	"P5ND2-SLI Deluxe",	1, "http://www.asus.com/product.aspx?P_ID=WY7XroDuUImVbgp5", NULL),