Patchwork BCOM WinNET P680 patch

login
register
about
Submitter Corey Osgood
Date 2013-09-09 02:39:11
Message ID <CAD7TghKi5sh-LfAWQCYq0ijWL279h7aPWTCKDHng+VjdQ6HyjQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/4041/
State Accepted
Headers show

Comments

Corey Osgood - 2013-09-09 02:39:11
It's one of those days, I guess. This is the correct version of the patch.


On Sun, Sep 8, 2013 at 10:32 PM, Corey Osgood <corey.osgood@gmail.com>wrote:

> And here's the patch!
>
>
> On Sun, Sep 8, 2013 at 10:24 PM, Corey Osgood <corey.osgood@gmail.com>wrote:
>
>> This patch replaces Alex Mauer's previous patch for this board. Tested to
>> read, erase, and write on 2 different boards, both with AMIC A29040BL flash
>> chips, using both stock BIOS and coreboot images. Patch marks the AMIC chip
>> as tested at the same time.
>>
>> Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
>>
>
>
This patch replaces Alex Mauer's previous patch for this board. Tested to read,
erase, and write on 2 different boards, both with AMIC A29040BL flash chips,
using both stock BIOS and coreboot images. Patch marks the AMIC chip as tested
at the same time.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Stefan Tauner - 2013-09-10 10:44:17
On Sun, 8 Sep 2013 22:39:11 -0400
Corey Osgood <corey.osgood@gmail.com> wrote:

> > On Sun, Sep 8, 2013 at 10:24 PM, Corey Osgood <corey.osgood@gmail.com>wrote:
> >  
> >> This patch replaces Alex Mauer's previous patch for this board. Tested to
> >> read, erase, and write on 2 different boards, both with AMIC A29040BL flash
> >> chips, using both stock BIOS and coreboot images. Patch marks the AMIC chip
> >> as tested at the same time.
> >>
> >> Signed-off-by: Corey Osgood <corey.osgood@gmail.com>

Thanks Corey! I was not aware of that patch from 2008(!).

Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
and committed in r1733 after some minor changes.

Patch

Index: flashchips.c
===================================================================
--- flashchips.c	(revision 1732)
+++ flashchips.c	(working copy)
@@ -1355,7 +1355,7 @@ 
 		.total_size	= 512,
 		.page_size	= 64 * 1024,
 		.feature_bits	= FEATURE_ADDR_2AA | FEATURE_SHORT_RESET,
-		.tested		= TEST_UNTESTED,
+		.tested		= TEST_OK_PREW,
 		.probe		= probe_jedec,
 		.probe_timing	= TIMING_ZERO,
 		.block_erasers	=
Index: board_enable.c
===================================================================
--- board_enable.c	(revision 1732)
+++ board_enable.c	(working copy)
@@ -2378,6 +2378,7 @@ 
 	{0x8086, 0x24dd, 0x1043, 0x80a6,  0x8086, 0x2570, 0x1043, 0x8157, NULL,         NULL, NULL,           P3, "ASUS",        "P5PE-VM",               0,   OK, intel_ich_gpio21_raise},
 	{0x8086, 0x2443, 0x1043, 0x8027,  0x8086, 0x1130, 0x1043, 0x8027, "^CUSL2-C",   NULL, NULL,           P3, "ASUS",        "CUSL2-C",               0,   OK, intel_ich_gpio21_raise},
 	{0x8086, 0x2443, 0x1043, 0x8027,  0x8086, 0x1130, 0x1043, 0x8027, "^TUSL2-C",   NULL, NULL,           P3, "ASUS",        "TUSL2-C",               0,   NT, intel_ich_gpio21_raise},
+	{0x1106, 0x3059, 0x1106, 0x4161,  0x1106, 0x3065, 0x1106, 0x0102, NULL, 	NULL, NULL,	      P3, "Bcom",	 "WinNET P680", 	  0,   OK, w836xx_memw_enable_2e},
 	{0x1106, 0x3177, 0x1106, 0x3177,  0x1106, 0x3116, 0x1106, 0x3116, "^KM266-8235$", "biostar", "m7viq", P3, "Biostar",     "M7VIQ",                 0,   NT, w83697xx_memw_enable_2e},
 	{0x10b7, 0x9055, 0x1028, 0x0082,  0x8086, 0x7190,      0,      0, NULL,         NULL, NULL,           P3, "Dell",        "OptiPlex GX1",          0,   OK, intel_piix4_gpo30_lower},
 	{0x8086, 0x3590, 0x1028, 0x016c,  0x1000, 0x0030, 0x1028, 0x016c, NULL,         NULL, NULL,           P3, "Dell",        "PowerEdge 1850",        0,   OK, intel_ich_gpio23_raise},