coreboot.git
15 years agoMemory initialization support for AMD Fam10 B3 (B0-B2 already supported).
Marc Jones [Wed, 23 Jul 2008 21:04:03 +0000 (21:04 +0000)]
Memory initialization support for AMD Fam10 B3 (B0-B2 already supported).

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3433 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMissed a const in my previous checkin, r3426 (trivial).
Marc Jones [Mon, 21 Jul 2008 22:23:57 +0000 (22:23 +0000)]
Missed a const in my previous checkin, r3426 (trivial).

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3432 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Winbond W39V040C and MSI K8T Neo2-F
Peter Stuge [Mon, 21 Jul 2008 17:48:40 +0000 (17:48 +0000)]
flashrom: Winbond W39V040C and MSI K8T Neo2-F

W39V040C does standard JEDEC commands except chip erase so add a small driver.
probe_w39v040c() prints the block lock pin status when a chip is found.

The Neo2 board enable matches on 8237-internal IDE and onboard NIC PCI IDs.

Many thanks to Daniel McLellan for testing all of this on hardware!
Build tested by Uwe.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3431 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd support for the Winbond W83697HF Super I/O.
Sean Nelson [Mon, 21 Jul 2008 14:49:04 +0000 (14:49 +0000)]
Add support for the Winbond W83697HF Super I/O.

Signed-off-by: Sean Nelson <snelson@nmt.edu>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3430 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agosuperiotool: add support for SMSC SIO10N268 (trivial)
Stefan Reinauer [Sat, 19 Jul 2008 14:42:21 +0000 (14:42 +0000)]
superiotool: add support for SMSC SIO10N268 (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3429 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoadd support for 2 new SMSC superio chips. Information is a bit ambiguous
Stefan Reinauer [Sat, 19 Jul 2008 14:07:35 +0000 (14:07 +0000)]
add support for 2 new SMSC superio chips. Information is a bit ambiguous
and scattered within the datasheets. (trivial patch)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3428 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoRandom coding style fixes and simplifications (trivial).
Uwe Hermann [Fri, 18 Jul 2008 14:08:18 +0000 (14:08 +0000)]
Random coding style fixes and simplifications (trivial).
This will even reduce the final payload size a bit.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3427 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd manual HT BUID fixup to detect previously set BUIDs in early init. This fixes...
Marc Jones [Thu, 17 Jul 2008 19:54:06 +0000 (19:54 +0000)]
Add manual HT BUID fixup to detect previously set BUIDs in early init. This fixes the non-coherent(sb) link running at default speed.

Fix HT event notify to output useful information.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3426 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoClean up AMD FAM10 HT variable initialization. The structure init is cleaner, avoid...
Marc Jones [Thu, 17 Jul 2008 19:50:37 +0000 (19:50 +0000)]
Clean up AMD FAM10 HT variable initialization. The structure init is cleaner, avoid compiler warnings, and matches the AMD example code more closely.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3425 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd Fam10 Gart table walk enable for MCA reporting to match AMD example code.
Marc Jones [Thu, 17 Jul 2008 19:44:08 +0000 (19:44 +0000)]
Add Fam10 Gart table walk enable for MCA reporting to match AMD example code.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3424 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoClean up comments, whitespace, and copyright date in the AMD HT code.
Marc Jones [Wed, 16 Jul 2008 21:09:31 +0000 (21:09 +0000)]
Clean up comments, whitespace, and copyright date in the AMD HT code.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3423 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd missing Intel CPU (trivial).
Uwe Hermann [Tue, 15 Jul 2008 13:22:21 +0000 (13:22 +0000)]
Add missing Intel CPU (trivial).

Tested by me on actual hardware.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3422 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoThere was a programming error which made most USB port4 setup wrong. This patch uses...
Marc Jones [Sat, 12 Jul 2008 00:03:26 +0000 (00:03 +0000)]
There was a programming error which made most USB port4 setup wrong. This patch uses byte pointer and the MMIO read and write functions.

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3421 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoFix and clean up coreboot image detection heuristic.
Carl-Daniel Hailfinger [Fri, 11 Jul 2008 00:06:38 +0000 (00:06 +0000)]
Fix and clean up coreboot image detection heuristic.
Additional compile fix for NetBSD.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3420 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd a coreinfo module which can hexdump arbitrary RAM regions and
Uwe Hermann [Tue, 8 Jul 2008 16:18:38 +0000 (16:18 +0000)]
Add a coreinfo module which can hexdump arbitrary RAM regions and
allows you to scroll through the RAM contents.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3419 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Trivial SPI cleanups
Peter Stuge [Mon, 7 Jul 2008 06:38:51 +0000 (06:38 +0000)]
flashrom: Trivial SPI cleanups

While writing a new SPI driver I fixed some things in the SPI code:
All calls to spi_command() had unneccessary #define duplications, and in some
cases the read count define could theoretically become harmful because NULL was
passed for the read buffer. Avoid a crash, should someone change the #defines.

I also noticed that the only caller of spi_page_program() was the it87 driver,
and spi_page_program() could only call back into the it87 driver. Removed the
function for easier-to-follow code and made it8716f_spi_page_program() static.
The ichspi driver's static page functions are already static.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3418 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Trivial indent fix in ichspi.c
Peter Stuge [Mon, 7 Jul 2008 05:14:06 +0000 (05:14 +0000)]
flashrom: Trivial indent fix in ichspi.c

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3417 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agor3415 removed symbolic constants for device IDs by accident.
Carl-Daniel Hailfinger [Sun, 6 Jul 2008 23:04:01 +0000 (23:04 +0000)]
r3415 removed symbolic constants for device IDs by accident.
flash.h is a database of known IDs, whereas flashchips.c is a database
of chips for which support has been implemented. Keep it that way.

Trivial.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3416 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Add AMIC A29002
Andreas Thienemann [Sun, 6 Jul 2008 17:35:30 +0000 (17:35 +0000)]
flashrom: Add AMIC A29002

This patch adds support to the AMIC A29002 chip in its top and bottom
configuration to flashrom. Additionally, the alphabetic order of the
AMIC chips was fixed.

The datasheet is at <http://www.amictechnology.com/pdf/A29002.pdf>.

A29002T PREW functionality was tested and works.

This flash chip has asymmetric sector layout so it is important to use the
mx29f002 driver, which does chip erase before writing, rather than am29f040b,
which uses sector erase.

Signed-off-by: Andreas Thienemann <andreas@bawue.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3415 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdding support for flashing system with Nvidia MCP67
Stefan Reinauer [Sat, 5 Jul 2008 09:48:30 +0000 (09:48 +0000)]
Adding support for flashing system with Nvidia MCP67

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3414 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Add PCI IDs for EPIA-CN
Peter Stuge [Sat, 5 Jul 2008 04:12:37 +0000 (04:12 +0000)]
flashrom: Add PCI IDs for EPIA-CN

Uses the 0.0 Host bridge CN700/VN800/P4M800CE/Pro and 11.0 ISA bridge devices
with their 1106:aa08 subsystem id:s for autodetection.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3413 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMinor cosmetics, e.g. make stuff fit in 80 chars/line etc. (trivial).
Uwe Hermann [Thu, 3 Jul 2008 19:26:44 +0000 (19:26 +0000)]
Minor cosmetics, e.g. make stuff fit in 80 chars/line etc. (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3412 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMark SST49LF040B as tested.
Carl-Daniel Hailfinger [Thu, 3 Jul 2008 19:08:52 +0000 (19:08 +0000)]
Mark SST49LF040B as tested.
Thanks to Paul Seidler and Ward Vandewege for testing.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3411 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMark the SST SST49LF040 as OK (tested by me), all operations (trivial).
Uwe Hermann [Thu, 3 Jul 2008 18:58:58 +0000 (18:58 +0000)]
Mark the SST SST49LF040 as OK (tested by me), all operations (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3410 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Winbond W25x80 TEST_OK PROBE READ ERASE WRITE
Peter Stuge [Thu, 3 Jul 2008 16:54:05 +0000 (16:54 +0000)]
flashrom: Winbond W25x80 TEST_OK PROBE READ ERASE WRITE

Per test report from Björn Gerhart. Thanks!

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3409 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoImprove coreboot image detection heuristic in flashrom. It's not
Carl-Daniel Hailfinger [Thu, 3 Jul 2008 14:40:06 +0000 (14:40 +0000)]
Improve coreboot image detection heuristic in flashrom. It's not
absolutely perfect, but the likelihood of this check to fail is
0.000000000000000000000000013 (1.3*10^-26) which is good enough for me.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3408 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: probe_flash() cleanup for better code readability
Peter Stuge [Wed, 2 Jul 2008 17:15:47 +0000 (17:15 +0000)]
flashrom: probe_flash() cleanup for better code readability

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3407 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoset w39v080fa to fully supported. I'm am flashing this chip several times a
Stefan Reinauer [Wed, 2 Jul 2008 13:33:09 +0000 (13:33 +0000)]
set w39v080fa to fully supported. I'm am flashing this chip several times a
day.
Also enable unlocking which is only needed when running coreboot, that slipped
in the original commit and through the original review ;-) So it must be
trivial enough.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3406 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Update to TEST_OK for Winbond W39V040FA PROBE READ
Peter Stuge [Wed, 2 Jul 2008 03:07:46 +0000 (03:07 +0000)]
flashrom: Update to TEST_OK for Winbond W39V040FA PROBE READ

Thanks to Jake for the test report!

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3405 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Don't rm *~ in make clean, who knows what files that could be
Peter Stuge [Wed, 2 Jul 2008 03:03:58 +0000 (03:03 +0000)]
flashrom: Don't rm *~ in make clean, who knows what files that could be

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3404 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Unknown vendor:board message can be triggered by -m too
Peter Stuge [Wed, 2 Jul 2008 00:59:29 +0000 (00:59 +0000)]
flashrom: Unknown vendor:board message can be triggered by -m too

Thanks to Stefan for pointing this one out.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3403 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Case insensitive matching of vendor:board strings in coreboot table
Peter Stuge [Wed, 2 Jul 2008 00:47:30 +0000 (00:47 +0000)]
flashrom: Case insensitive matching of vendor:board strings in coreboot table

Needed at least for GIGABYTE:m57sli in coreboot to match gigabyte:m57sli in
flashrom.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3402 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoFirst attempt to clean up SPI probing and create a common
Stefan Reinauer [Mon, 30 Jun 2008 23:45:22 +0000 (23:45 +0000)]
First attempt to clean up SPI probing and create a common
construct: the flash bus.

At some point the flash bus will be part of struct flashchip.

Pardon me for pushing this in, but I think it is important to beware of further
decay and it will improve things for other developers in the short run.

Carl-Daniel, I will consider your suggestions in another patch. I want to keep
things from getting too much for now. The patch includes Rudolf's VIA SPI
changes though.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3401 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMine AMIC flash chip needs 4 bytes RDID. This enables to use the new probing code.
Rudolf Marek [Mon, 30 Jun 2008 21:48:54 +0000 (21:48 +0000)]
Mine AMIC flash chip needs 4 bytes RDID. This enables to use the new probing code.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3400 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMine AMIC flash chip needs 4 bytes RDID. Following patch adds support for that.
Rudolf Marek [Mon, 30 Jun 2008 21:45:17 +0000 (21:45 +0000)]
Mine AMIC flash chip needs 4 bytes RDID. Following patch adds support for that.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3399 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoThis patch adds support for VIA SPI controller on VT8237S. It is similar with
Rudolf Marek [Mon, 30 Jun 2008 21:38:30 +0000 (21:38 +0000)]
This patch adds support for VIA SPI controller on VT8237S. It is similar with
few documented exceptions to ICH7 SPI controller.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3398 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd a debug marker after ICH SPI opcode programming.
Carl-Daniel Hailfinger [Sun, 29 Jun 2008 10:57:13 +0000 (10:57 +0000)]
Add a debug marker after ICH SPI opcode programming.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3397 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdds a field to the serial port descriptor about the configured line speed.
Patrick Georgi [Sun, 29 Jun 2008 06:41:12 +0000 (06:41 +0000)]
Adds a field to the serial port descriptor about the configured line speed.

Signed-Off-By: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3396 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Fix ICH7 non-SPI that broke in r3393
Peter Stuge [Sun, 29 Jun 2008 01:30:41 +0000 (01:30 +0000)]
flashrom: Fix ICH7 non-SPI that broke in r3393

r3393 assumed that ICH7 always used SPI. This patch resets ich7_detected back
to 0 when BOOT BIOS Straps indicate something else than SPI.

Also fixes a build error in ichspi.c with gcc 4.2.2.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3395 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoUse symbolic constants for PCI subsystem probing in flashrom.
Carl-Daniel Hailfinger [Sat, 28 Jun 2008 23:02:22 +0000 (23:02 +0000)]
Use symbolic constants for PCI subsystem probing in flashrom.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3394 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years ago* ICH7 SPI support
Stefan Reinauer [Fri, 27 Jun 2008 16:28:34 +0000 (16:28 +0000)]
* ICH7 SPI support
* fix some variable names in ichspi.c (Offset -> offset)
* Dump ICH7 SPI bar with -V
* Improve error message in case IOPL goes wrong. (It might not even be an IOPL)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3393 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoindent according to development guidelines (trivial)
Stefan Reinauer [Fri, 27 Jun 2008 15:18:20 +0000 (15:18 +0000)]
indent according to development guidelines (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3392 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoInitial support for the A-Trend ATC-6240 board.
Uwe Hermann [Thu, 26 Jun 2008 19:42:25 +0000 (19:42 +0000)]
Initial support for the A-Trend ATC-6240 board.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3391 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoWinbond W39V080FA: Probe and Read are OK.
Jens Kühnel [Thu, 26 Jun 2008 11:57:27 +0000 (11:57 +0000)]
Winbond W39V080FA: Probe and Read are OK.

Signed-off-by: Jens Kühnel <coreboot@jens.kuehnel.org>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3390 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Test status OK for ST M50FW040 PROBE READ
Peter Stuge [Tue, 24 Jun 2008 08:18:13 +0000 (08:18 +0000)]
flashrom: Test status OK for ST M50FW040 PROBE READ

Per test report from Alex Perez. Thanks Alex!

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3389 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Test status OK for Macronix MX25L8005 PROBE READ ERASE WRITE
Peter Stuge [Tue, 24 Jun 2008 04:17:14 +0000 (04:17 +0000)]
flashrom: Test status OK for Macronix MX25L8005 PROBE READ ERASE WRITE

Per test report from Andrew Paprocki. Thanks Andrew!

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3388 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Increase delay in probe_jedec() after Product ID Entry to 10ms
Peter Stuge [Tue, 24 Jun 2008 02:09:09 +0000 (02:09 +0000)]
flashrom: Increase delay in probe_jedec() after Product ID Entry to 10ms

We should follow data sheet timing, even if chips have been tested to answer
faster in the field.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3387 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Slight restructure of SPI probe_ functions
Peter Stuge [Tue, 24 Jun 2008 01:22:03 +0000 (01:22 +0000)]
flashrom: Slight restructure of SPI probe_ functions

Preparation for a probe optimization patch. This patch does not change any
functionality. spi_probe_rdid was tested to still work on my M57SLI rev 2.

The idea is to have error checks return error immediately when something
fails, rather than having code inside an if block where the condition
tests for success.

This means: Less indentation, more clear what the code is checking.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3386 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoSome flashrom documentation fixes, and removal of duplicated info (trivial).
Uwe Hermann [Sun, 22 Jun 2008 18:50:25 +0000 (18:50 +0000)]
Some flashrom documentation fixes, and removal of duplicated info (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3385 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: A few changes were committed before the DoC remove, update README.
Peter Stuge [Sun, 22 Jun 2008 17:54:03 +0000 (17:54 +0000)]
flashrom: A few changes were committed before the DoC remove, update README.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3384 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoas per Peter's suggestion. clean binary in make clean
Stefan Reinauer [Sun, 22 Jun 2008 17:15:03 +0000 (17:15 +0000)]
as per Peter's suggestion. clean binary in make clean
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3383 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Remove dead M-Systems Disk on Chip code
Peter Stuge [Sun, 22 Jun 2008 17:06:41 +0000 (17:06 +0000)]
flashrom: Remove dead M-Systems Disk on Chip code

DOC support has been disabled by default for many years. The write function
does nothing but print text. It has a call to write_page_md2802() commented
out, but that function does not exist. This is dead code with ugly #ifdefs.

Updates README to reflect that there was a time when there was code, but it
didn't work. Removes M-Systems #defines and also includes svn rm msys_doc.*

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3382 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoEnable hardware fan control for m57sli.
Ronald Hoogenboom [Sun, 22 Jun 2008 14:33:17 +0000 (14:33 +0000)]
Enable hardware fan control for m57sli.

Tested on v1 and v2 of the board.

Signed-off-by: Ronald Hoogenboom <hoogenboom30@zonnet.nl>
Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Ronald Hoogenboom <hoogenboom30@zonnet.nl>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3381 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoThis patch allows support for multiple so-dimms, single or double sided.
Joseph Smith [Sun, 22 Jun 2008 04:22:46 +0000 (04:22 +0000)]
This patch allows support for multiple so-dimms, single or double sided.

Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3380 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Update test status to TEST_OK_PREW for ST M50FLW080A and SST49LF008A
Peter Stuge [Sun, 22 Jun 2008 02:04:49 +0000 (02:04 +0000)]
flashrom: Update test status to TEST_OK_PREW for ST M50FLW080A and SST49LF008A

Many thanks to Julio Cesar Costa for the test report!

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3379 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Some Makefile cleaning
Peter Stuge [Sun, 22 Jun 2008 02:00:39 +0000 (02:00 +0000)]
flashrom: Some Makefile cleaning

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3378 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Fix OBJS in Makefile to compile stm50flw0x0x.c like the others
Peter Stuge [Sat, 21 Jun 2008 04:39:17 +0000 (04:39 +0000)]
flashrom: Fix OBJS in Makefile to compile stm50flw0x0x.c like the others

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3377 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Uppercase AMIC since that's what they write in datasheets.
Peter Stuge [Sat, 21 Jun 2008 04:23:10 +0000 (04:23 +0000)]
flashrom: Uppercase AMIC since that's what they write in datasheets.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3376 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Update comment to match delay change in probe_jedec() r3373
Peter Stuge [Sat, 21 Jun 2008 01:02:20 +0000 (01:02 +0000)]
flashrom: Update comment to match delay change in probe_jedec() r3373

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3375 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Update test status for Atmel AT29C020 and SST29EE010
Peter Stuge [Sat, 21 Jun 2008 00:21:22 +0000 (00:21 +0000)]
flashrom: Update test status for Atmel AT29C020 and SST29EE010

Thanks to Urja Rannikko for reporting test results with these flash chips.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3374 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Increase delay in probe_jedec() to 2ms to reliably detect AT29C020
Peter Stuge [Sat, 21 Jun 2008 00:19:52 +0000 (00:19 +0000)]
flashrom: Increase delay in probe_jedec() to 2ms to reliably detect AT29C020

Run time is increased a few 100ms but this is needed for reliability.
I consider this trivial.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3373 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Show expected and read byte on verify failure. Trivial.
Peter Stuge [Fri, 20 Jun 2008 02:58:42 +0000 (02:58 +0000)]
flashrom: Show expected and read byte on verify failure. Trivial.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3372 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agocoreinfo: Enable serial support
Jordan Crouse [Fri, 20 Jun 2008 00:02:52 +0000 (00:02 +0000)]
coreinfo:  Enable serial support

Remove the lines preventing serial + curses thanks to r3370. Trivial.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3371 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agolibpayload: Support curses for serial
Jordan Crouse [Fri, 20 Jun 2008 00:01:42 +0000 (00:01 +0000)]
libpayload:  Support curses for serial

Support the curses interface over serial by supporting a minimal vt100
terminal.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3370 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoExtend the VIA vt8237r southbridge decode range for the ROM to 1MB.
Bari Ari [Fri, 20 Jun 2008 00:01:14 +0000 (00:01 +0000)]
Extend the VIA vt8237r southbridge decode range for the ROM to 1MB.

Signed-off-by: Bari Ari <bari@onelabs.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3369 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Add support for AMIC Technology A49LF040A and do not probe W29EE011 anymore
Jens Kuehnel [Wed, 18 Jun 2008 13:36:34 +0000 (13:36 +0000)]
flashrom: Add support for AMIC Technology A49LF040A and do not probe W29EE011 anymore

Jens sent the first patch that added A49LF040A to flash.h and flashchips.c
using _jedec and _49lf040 functions.

An issue was found with probe_w29ee011() for the Winbond W29EE011, which
caused the A49LF040A to no longer respond to any commands.

Ward made a patch to disable probing by default for the W29EE011 following
some discussion. Using -c W29EE011 will make flashrom probe for the chip.

Peter did some more datasheet diving and found that the Pm49FL00x functions
suited this chip quite well because of the block locking registers in
A49LF040A, and finally tested PROBE READ ERASE WRITE to work on ALIX.3c3.

Ward confirmed that this works on alix.2c3 too.

Signed-off-by: Jens Kuehnel <coreboot@jens.kuehnel.org>
Signed-off-by: Ward Vandewege <ward@gnu.org>
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3368 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Force read unknown flash chips
Peter Stuge [Wed, 18 Jun 2008 02:08:40 +0000 (02:08 +0000)]
flashrom: Force read unknown flash chips

When flash chip detection fails, it is still useful and possible to read the
flash chip contents. If no flash chip is found in normal probes and the
-f -r -c CHIPNAME options are given, a successful probe for the specified
chip is forced, and then flashrom reads the flash chip using either the read
function for the specified chip, or if there is none, a simple memcpy().

The patch also moves the global variable int force in flashrom.c into main()
and passes it as a parameter to layout.c:show_id(), which was the only other
function that used the variable. This is needed to avoid confusion with the
new parameter int force which is added to flashrom.c:probe_flash() and used
to force probe success for the chip named in char *chip_to_probe.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3367 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Board enable and autodetection for GIGABYTE GA-7VT600
Peter Stuge [Fri, 13 Jun 2008 01:39:45 +0000 (01:39 +0000)]
flashrom: Board enable and autodetection for GIGABYTE GA-7VT600

Uses the VT8237 ISA bridge with mainboard subsystem ID and Realtek 8139 with
mainboard subsystem ID for board detection.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Lyos Gemini Norezel <lyos.gemininorezel@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3366 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Add support for Amic Technology A29040B flash chip.
Peter Stuge [Wed, 11 Jun 2008 02:24:15 +0000 (02:24 +0000)]
flashrom: Add support for Amic Technology A29040B flash chip.

PROBE READ tested by Lyos Gemini Norezel on BioStar P4M80-M4.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Lyos Gemini Norezel <lyos.gemininorezel@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3365 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Board enable and autodetection for BioStar P4M80-M4.
Peter Stuge [Wed, 11 Jun 2008 02:22:42 +0000 (02:22 +0000)]
flashrom: Board enable and autodetection for BioStar P4M80-M4.

Thanks to Reinder for clean room reverse engineering and data sheet diving!

This board is autodetected because there are some good BioStar subsystem IDs.
Matching uses onboard VT6420 SATA RAID with subsystem BioStar 3206 and
onboard UniChrome Pro IGP graphics with subsystem BioStar 1202.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Lyos Gemini Norezel <lyos.gemininorezel@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3364 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoChanges Makefile generation so that recursive "make" calls read
Pierre Pronchery [Sun, 8 Jun 2008 23:05:24 +0000 (23:05 +0000)]
Changes Makefile generation so that recursive "make" calls read
"$(MAKE)" instead, as GNU make (or "gmake") is currently necessary to build.

Signed-off-by: Pierre Pronchery <khorben@defora.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3363 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix via epia cn abuild.
Stefan Reinauer [Sat, 7 Jun 2008 12:35:11 +0000 (12:35 +0000)]
fix via epia cn abuild.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3362 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd dump support for Winbond (NSC) PC87427. Dumps available from real hardware.
Tom Sylla [Sat, 7 Jun 2008 11:36:30 +0000 (11:36 +0000)]
Add dump support for Winbond (NSC) PC87427. Dumps available from real hardware.

Signed-off-by: Tom Sylla <tsylla@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3361 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoWard writes:
Peter Stuge [Tue, 3 Jun 2008 00:22:00 +0000 (00:22 +0000)]
Ward writes:

SST SST49LF160C is confirmed to work for PROBE READ ERASE WRITE, at least on
2 MCP55-based boards (gigabyte m57sli v1 and supermicro h8dmr).

On the m57sli board, it only works > 512K when booted into coreboot; the
proprietary bios seems to do something weird where it locks rom access down
to the first 512K of the chip.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3360 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoabuild: fix gnu getopt detection (trivial)
Stefan Reinauer [Wed, 28 May 2008 08:40:23 +0000 (08:40 +0000)]
abuild: fix gnu getopt detection (trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3359 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoRevert r3357 and fix it as intended to (forgotten header commit instead of typo)
Mart Raudsepp [Tue, 27 May 2008 23:51:55 +0000 (23:51 +0000)]
Revert r3357 and fix it as intended to (forgotten header commit instead of typo)

Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Acked-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3358 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoFix typo introduced in r3356 that breaks build (trivial).
Mart Raudsepp [Tue, 27 May 2008 22:20:30 +0000 (22:20 +0000)]
Fix typo introduced in r3356 that breaks build (trivial).

Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Acked-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3357 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: MX25L4005, S25FL016A, W39V040B, W39V080A, SST49LF008A tests.
Peter Stuge [Tue, 27 May 2008 20:54:09 +0000 (20:54 +0000)]
flashrom: MX25L4005, S25FL016A, W39V040B, W39V080A, SST49LF008A tests.

I have tested MX25L4005, S25FL016A and W39V080A myself.

Thanks also to the following testers:
SST49LF008A Bernhard M. Wiedemann
W39V040B Dan Lenski

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3356 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agocoreinfo: Specify a name, listname and desc item for coreinfo
Jordan Crouse [Tue, 27 May 2008 20:07:47 +0000 (20:07 +0000)]
coreinfo:  Specify a name, listname and desc item for coreinfo

These values are consumed by the chooser payload.  listname is
presented on the chooser menu.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3355 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agolibpayload: Add PAYLOAD_INFO macro
Jordan Crouse [Tue, 27 May 2008 20:06:54 +0000 (20:06 +0000)]
libpayload: Add PAYLOAD_INFO macro

Adds the PAYLOAD_INFO macro to store payload information in a data
section in the ELF which can be consumed by other entities.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3354 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agonot sure why this ever worked. Add --xml / -x to the supported options (trivial)
Stefan Reinauer [Tue, 27 May 2008 20:06:30 +0000 (20:06 +0000)]
not sure why this ever worked. Add --xml / -x to the supported options (trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3353 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agolibpayload: Add a function to verify the checksum on a LAR file
Jordan Crouse [Tue, 27 May 2008 19:57:53 +0000 (19:57 +0000)]
libpayload:  Add a function to verify the checksum on a LAR file

This function verifies the checksum on a LAR file.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3352 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agosync latest version of abuild (0.6) (trivial patch)
Stefan Reinauer [Tue, 27 May 2008 18:29:26 +0000 (18:29 +0000)]
sync latest version of abuild (0.6) (trivial patch)

- parallel building
- fix non-gnu-getopt systems
- silent mode

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3351 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMark SST49LF004A/B as tested (trivial).
Mart Raudsepp [Tue, 27 May 2008 09:10:52 +0000 (09:10 +0000)]
Mark SST49LF004A/B as tested (trivial).

Tested by me on actual hardware (all operations) - Artec Group DBE62 with SST 49LF004B

Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Acked-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3350 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMark the following chips as tested (trivial).
Uwe Hermann [Mon, 26 May 2008 23:12:25 +0000 (23:12 +0000)]
Mark the following chips as tested (trivial).

  - AMD Am29F040B
  - SST SST39SF020A
  - Winbond W29C020C
  - Winbond W29EE011
  - Winbond W49F002U

All of them tested by me on actual hardware (all operations).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3349 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoA bunch of cosmetic improvements (trivial).
Uwe Hermann [Thu, 22 May 2008 22:47:04 +0000 (22:47 +0000)]
A bunch of cosmetic improvements (trivial).

 - Fix typos and inconsistencies.
 - Drop duplicate line which tells us the chip name twice.
 - Also print the chip vendor, not only the name.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3348 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMark more chips as tested (all operations), tested on ASUS P4B266 (trivial).
Uwe Hermann [Thu, 22 May 2008 21:26:42 +0000 (21:26 +0000)]
Mark more chips as tested (all operations), tested on ASUS P4B266 (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3347 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd support for the ASUS P4B266 board.
Uwe Hermann [Thu, 22 May 2008 21:19:38 +0000 (21:19 +0000)]
Add support for the ASUS P4B266 board.

Tested on actual hardware.

This patch add an ich_gpio_raise() function which can be re-used by other
board-specific funtions which need to raise GPIOs on ICHx southbridges.

This also fixes bug #7, see http://tracker.coreboot.org/trac/coreboot/ticket/7,
as it turned out the ICH2 (and other ICHx) code works fine.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3346 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd support for Amic A25L40P SPI flash.
Rudolf Marek [Thu, 22 May 2008 13:42:23 +0000 (13:42 +0000)]
Add support for Amic A25L40P SPI flash.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3345 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoChanges to make flashrom compile (and work) on FreeBSD.
Andriy Gapon [Thu, 22 May 2008 13:22:45 +0000 (13:22 +0000)]
Changes to make flashrom compile (and work) on FreeBSD.
This patch addresses different argument order of outX() calls,
FreeBSD-specific headers, difference in certain type names and system
interface names, and also FreeBSD-specific way of gaining IO port
access.

Signed-off-by: Andriy Gapon <avg@icyb.net.ua>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3344 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoThis is a simple patch which allows payloads to be placed in memory in
Myles Watson [Wed, 21 May 2008 22:10:38 +0000 (22:10 +0000)]
This is a simple patch which allows payloads to be placed in memory in
the range of 0xf0000-0x100000, where the Coreboot tables live in v2.
As long as the payload doesn't need the tables, it seems harmless, so
why not just print a warning?

This allows v2 to load "legacybios" without having to have a separate loader.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
It'll be fine for testing and doesn't really break anything that did
work before...

Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3343 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd KEY_ESC (trivial).
Uwe Hermann [Wed, 21 May 2008 13:49:03 +0000 (13:49 +0000)]
Add KEY_ESC (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3342 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMyles reported SST49LF080A status -> TESTED_PREW
Peter Stuge [Wed, 21 May 2008 07:10:15 +0000 (07:10 +0000)]
Myles reported SST49LF080A status -> TESTED_PREW

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3341 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agocoreinfo: Use the ESC key to exit the payload
Jordan Crouse [Tue, 20 May 2008 20:16:34 +0000 (20:16 +0000)]
coreinfo:  Use the ESC key to exit the payload

Enable the ESC key to close coreinfo - useful if you are using a chooser
and want to return to it.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3340 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agocoreinfo: Fix the subwindow refresh based on the libpayload changes
Jordan Crouse [Tue, 20 May 2008 20:16:03 +0000 (20:16 +0000)]
coreinfo:  Fix the subwindow refresh based on the libpayload changes

Changes to libpayload to fix subwindows broke coreinfo.  This fixes it,
and improves performance by eliminating the entire screen refresh every
second.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3339 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agolibpayload: Add an exec() and i386_do_exec() function
Jordan Crouse [Tue, 20 May 2008 20:10:49 +0000 (20:10 +0000)]
libpayload:  Add an exec() and i386_do_exec() function

Add functions for libpayload to execute other payloads in memory,
and have those functions return cleanly.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3338 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agolibpayload: Add larfptr function
Jordan Crouse [Tue, 20 May 2008 20:09:42 +0000 (20:09 +0000)]
libpayload:  Add larfptr function

Add a function to get a pointer to the start of a LAR entry.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3337 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agolibpayload: Fix curses subwindows
Jordan Crouse [Tue, 20 May 2008 20:08:11 +0000 (20:08 +0000)]
libpayload:  Fix curses subwindows

This fixes subwindows in curses so that they draw and refresh correctly.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3336 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd post-RAM init code for the Fintek F71805F Super I/O.
Corey Osgood [Tue, 20 May 2008 18:10:24 +0000 (18:10 +0000)]
Add post-RAM init code for the Fintek F71805F Super I/O.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Richard Stellingwerff <remenic@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3335 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd support for the VIA EPIA-CN baord, which uses C7 + CN700 + VT8237R.
Aaron Lwe [Mon, 19 May 2008 12:17:43 +0000 (12:17 +0000)]
Add support for the VIA EPIA-CN baord, which uses C7 + CN700 + VT8237R.

This also contains various improvements of the CN700 code in svn.

Signed-off-by: Aaron Lwe <aaron.lwe@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3334 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1