coreboot.git
15 years agonew menu structure for libpayload
Stefan Reinauer [Fri, 8 Aug 2008 13:45:03 +0000 (13:45 +0000)]
new menu structure for libpayload

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

15 years agofix some more warnings.
Stefan Reinauer [Fri, 8 Aug 2008 13:36:53 +0000 (13:36 +0000)]
fix some more warnings.

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

15 years agofix warnings when starting make menuconfig
Stefan Reinauer [Fri, 8 Aug 2008 13:07:38 +0000 (13:07 +0000)]
fix warnings when starting make menuconfig
(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@3486 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: ST M50FW040 TEST_OK PROBE READ ERASE WRITE
Peter Stuge [Fri, 8 Aug 2008 10:55:57 +0000 (10:55 +0000)]
flashrom: ST M50FW040 TEST_OK PROBE READ ERASE WRITE

Per test report from Marcel Konrad. 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@3485 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoDrop useless .gitignore files.
Uwe Hermann [Fri, 8 Aug 2008 08:43:06 +0000 (08:43 +0000)]
Drop useless .gitignore files.

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@3484 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoDrop useless .gitignore files.
Uwe Hermann [Fri, 8 Aug 2008 08:42:05 +0000 (08:42 +0000)]
Drop useless .gitignore files.

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@3483 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoUpdate the kconfig copy in libpayload to a much more recent one. Among
Uwe Hermann [Fri, 8 Aug 2008 07:56:07 +0000 (07:56 +0000)]
Update the kconfig copy in libpayload to a much more recent one. Among
other things this supposedly also fixes a number of build issues on Mac OS X.

This is more or less the same version (i.e. equally recent) as we have in
coreinfo and buildrom now.

This patch also includes the libintl.h fix from r3475 (coreinfo).

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

15 years agoEnable both IDE ports for our qemu target.
Ward Vandewege [Fri, 8 Aug 2008 00:08:01 +0000 (00:08 +0000)]
Enable both IDE ports for our qemu target.

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3481 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoClean up whitespace and comments style. (trivial)
Marc Jones [Thu, 7 Aug 2008 22:00:51 +0000 (22:00 +0000)]
Clean up whitespace and comments style. (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@3480 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd a full set of pci access functions.
Stefan Reinauer [Thu, 7 Aug 2008 19:09:17 +0000 (19:09 +0000)]
Add a full set of pci access functions.

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

15 years agofix stack protection detection with Jordan's suggestion
Stefan Reinauer [Thu, 7 Aug 2008 15:28:31 +0000 (15:28 +0000)]
fix stack protection detection with Jordan's suggestion

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

15 years agofix cross compilationor libpayload / coreinfo by honoring
Stefan Reinauer [Thu, 7 Aug 2008 15:22:01 +0000 (15:22 +0000)]
fix cross compilationor libpayload / coreinfo by honoring
the setting of CC in the payload (coreinfo) when calling

make CC=i386-elf-gcc AS=i386-elf-as AR=i386-elf-ar STRIP=i386-elf-strip

This still does not cope with the hardcoded -fno-stack-protector in
libpayload's Makefile.

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

15 years agoCosmetic fixes (trivial).
Uwe Hermann [Thu, 7 Aug 2008 14:35:39 +0000 (14:35 +0000)]
Cosmetic fixes (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@3476 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix make menuconfig if no libintl.h is found. (trivial)
Stefan Reinauer [Thu, 7 Aug 2008 10:32:54 +0000 (10:32 +0000)]
fix make menuconfig if no libintl.h is found. (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@3475 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoadd get_option to libpayload, so coreboot cmos options can be queried.
Stefan Reinauer [Thu, 7 Aug 2008 10:21:05 +0000 (10:21 +0000)]
add get_option to libpayload, so coreboot cmos options can be queried.

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

15 years agoAdd the contents of buildrom's
Ward Vandewege [Wed, 6 Aug 2008 20:37:38 +0000 (20:37 +0000)]
Add the contents of buildrom's

  packages/mkelfimage/mkelfimage-autoconf.patch
  packages/mkelfimage/mkelfImage-2.7-x86_64.patch

to our svn copy of mkelfimage.

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
These are the original commit messages from the buildrom svn tree:

-----------------------------------------------------------------------
r61 | jcrouse | 2007-11-28 13:06:23 -0500 (Wed, 28 Nov 2007) | 9 lines

[BUILDROM]  Fixup mkelfimage

My patch makes it so all targets use vmlinux and 2.7.  Including
the mkelfimage patch from Yhinghai Lu.

Signed-off-by: Myles Watson <myles@pel.cs.byu.edu>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
------------------------------------------------------------------------
r80 | jcrouse | 2007-12-10 13:56:40 -0500 (Mon, 10 Dec 2007) | 8 lines

[BUILDROM] Fix breakage in the new mkelfimage autoconf scripts

Whack the autoconf scripts in mkelfimage to allow us to pass our
stack protection flags in.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
------------------------------------------------------------------------

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3473 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoMove out some hardcoded strings in coreinfo to become Kconfig variables.
Uwe Hermann [Tue, 5 Aug 2008 14:36:20 +0000 (14:36 +0000)]
Move out some hardcoded strings in coreinfo to become Kconfig variables.
This is useful for use with (e.g.) Bayou in order let the user customize the
payload name, description, version, etc.

For instance, instead of using stock coreinfo and calling the payload
"coreinfo" and the Bayou menu item "Show system information" a user might
only be interested in an NVRAM dump payload. Thus, he/she can enable
only the NVRAM coreinfo module via Kconfig, and tell Kconfig to call
the payload "NVRAMdumper" and the Bayou menu item "Show NVRAM contents".

This is build-tested, and tested against Bayou in QEMU.

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

15 years agoRemove duplicated code which is already in libpayload (trivial).
Uwe Hermann [Mon, 4 Aug 2008 21:02:07 +0000 (21:02 +0000)]
Remove duplicated code which is already in libpayload (trivial).
Build-tested against the latest libpayload.

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@3471 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd missing #include.
Uwe Hermann [Mon, 4 Aug 2008 21:00:49 +0000 (21:00 +0000)]
Add missing #include.

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@3470 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoInitial support for the ASI MB-5BLGP (Neoware Eon 4000s).
Uwe Hermann [Mon, 4 Aug 2008 15:40:45 +0000 (15:40 +0000)]
Initial support for the ASI MB-5BLGP (Neoware Eon 4000s).

This works fine in Linux if you use the 'irqpoll' kernel command
line option.

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

15 years agoRemove welcome message from elfboot. None of the other subsystems have their
Stefan Reinauer [Sun, 3 Aug 2008 10:38:26 +0000 (10:38 +0000)]
Remove welcome message from elfboot. None of the other subsystems have their
own welcome message.

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

15 years agofix lots of warnings for cache as ram builds (trivial)
Stefan Reinauer [Sun, 3 Aug 2008 10:35:06 +0000 (10:35 +0000)]
fix lots of warnings for cache as ram builds (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@3467 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoadapt Uncompressing.. patch for AMD code. Also replace "linxbios" by "coreboot"
Stefan Reinauer [Sat, 2 Aug 2008 19:17:42 +0000 (19:17 +0000)]
adapt Uncompressing.. patch for AMD code. Also replace "linxbios" by "coreboot"
in a number of places.

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

15 years agoGo back to SIPI WAIT state for those CPUS defining the newly introduced
Stefan Reinauer [Sat, 2 Aug 2008 15:15:23 +0000 (15:15 +0000)]
Go back to SIPI WAIT state for those CPUS defining the newly introduced
CONFIG_AP_IN_SIPI_WAIT flag. Newer Intel CPUs need this to operate with
multiple cores.

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

15 years agoupdate copyright year (trivial)
Stefan Reinauer [Sat, 2 Aug 2008 15:13:58 +0000 (15:13 +0000)]
update copyright year (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@3464 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoThis patch
Stefan Reinauer [Sat, 2 Aug 2008 15:09:12 +0000 (15:09 +0000)]
This patch
* fixes a warning
* puts some debug messages to spew because they're only useful to debug CAR
* print an explicit message "Uncompressing..." instad of "Copying..." when
  coreboot_ram.rom is compressed.

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@3463 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agotested another intel chip (trivial)
Stefan Reinauer [Sat, 2 Aug 2008 14:58:49 +0000 (14:58 +0000)]
tested another intel chip (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@3462 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agooops, forgot these in the cleanup.. (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 19:22:34 +0000 (19:22 +0000)]
oops, forgot these in the cleanup..  (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@3461 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoa heuristics is something different
Stefan Reinauer [Fri, 1 Aug 2008 13:08:33 +0000 (13:08 +0000)]
a heuristics is something different

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

15 years agoTypo, thanks to Idwer for spotting this. (trivial patch)
Stefan Reinauer [Fri, 1 Aug 2008 12:53:04 +0000 (12:53 +0000)]
Typo, thanks to Idwer for spotting this. (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@3459 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoclarify in the printks what function is actually called. This little smart magic
Stefan Reinauer [Fri, 1 Aug 2008 12:28:38 +0000 (12:28 +0000)]
clarify in the printks what function is actually called. This little smart magic
drove me crazy during debugging. Fix Typos. Add a warning because the
on-chipset devices are hardcoded. For newer machines, a lot more memory space
will have special meanings, and we can't hardcode them all in an ifdef desert.

(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@3458 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoclean out obsoleted config.lb rules and output, fix indenting (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 12:20:26 +0000 (12:20 +0000)]
clean out obsoleted config.lb rules and output, fix indenting (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@3457 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agouse printk, when possible. (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 12:12:37 +0000 (12:12 +0000)]
use printk, when possible. (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@3456 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agomatch against all steppings of a CPU model, because these are _model_ drivers.
Stefan Reinauer [Fri, 1 Aug 2008 12:11:00 +0000 (12:11 +0000)]
match against all steppings of a CPU model, because these are _model_ drivers.
(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@3455 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoserial.inc is not used anywhere. drop it (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 12:06:08 +0000 (12:06 +0000)]
serial.inc is not used anywhere. drop it (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@3454 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agosame spelling in all mtrr output.. (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:54:55 +0000 (11:54 +0000)]
same spelling in all mtrr output.. (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@3453 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agodrop unused code (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:53:39 +0000 (11:53 +0000)]
drop unused code (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@3452 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agocoding style fixes (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:50:52 +0000 (11:50 +0000)]
coding style fixes (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@3451 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix compile warnings of rom_stream.c (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:48:00 +0000 (11:48 +0000)]
fix compile warnings of rom_stream.c (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@3450 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoadd some SPD values from specs. (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:40:16 +0000 (11:40 +0000)]
add some SPD values from specs. (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@3449 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofunction prototypes don't need extern. (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:39:35 +0000 (11:39 +0000)]
function prototypes don't need extern. (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@3448 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix warning in vga console code (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:38:23 +0000 (11:38 +0000)]
fix warning in vga console code (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@3447 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix typo in coreboot_ram.ld comment (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:37:33 +0000 (11:37 +0000)]
fix typo in coreboot_ram.ld comment (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@3446 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix typo in commend of generic_sdram.c (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:36:40 +0000 (11:36 +0000)]
fix typo in commend of generic_sdram.c (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@3445 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoclean up comment in onboard.c (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:35:46 +0000 (11:35 +0000)]
clean up comment in onboard.c (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@3444 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoclean up Config.lb in lib/ (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:32:12 +0000 (11:32 +0000)]
clean up Config.lb in lib/ (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@3443 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix warnings, make mptable struct members explicitly packed, as they're
Stefan Reinauer [Fri, 1 Aug 2008 11:31:08 +0000 (11:31 +0000)]
fix warnings, make mptable struct members explicitly packed, as they're
supposed to be. rename LXBIOS to CORE in ACPI table identifiers. (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@3442 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix typos and warnings in the device tree code (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:25:41 +0000 (11:25 +0000)]
fix typos and warnings in the device tree code (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@3441 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoCONFIG_LOGICAL_CPUS=2 does not make sense because it is a BOOL. (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:21:47 +0000 (11:21 +0000)]
CONFIG_LOGICAL_CPUS=2 does not make sense because it is a BOOL. (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@3440 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix build warnings for buildrom (trivial)
Stefan Reinauer [Fri, 1 Aug 2008 11:20:33 +0000 (11:20 +0000)]
fix build warnings for buildrom (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@3439 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix typos in config.g, and don't arbitrarily hide some build information
Stefan Reinauer [Fri, 1 Aug 2008 11:20:09 +0000 (11:20 +0000)]
fix typos in config.g, and don't arbitrarily hide some build information
(doesn't make sense in v2). For silent build, use make -s
(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@3438 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoThis patch fixes the kernel EBDA mislocation problem. Thank you, Yinghai.
Roman Kononov [Wed, 23 Jul 2008 23:22:59 +0000 (23:22 +0000)]
This patch fixes the kernel EBDA mislocation problem. Thank you, Yinghai.

The change in tables.c protects the legacy x86 BIOS data segment
(0x400-0x4ff) from being used for storing coreboot tables. Some
bytes from the segment are used by the kernel and should not be
garbled.

The change in coreboot_table.c is not strictly necessary. It removes
some redundancy and confusion.

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

15 years agoFix r3434 check-in. Added missing end to Options.lb. Not entirely sure how it
Marc Jones [Wed, 23 Jul 2008 22:27:19 +0000 (22:27 +0000)]
Fix r3434 check-in. Added missing end to Options.lb. Not entirely sure how it
went missing....

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@3436 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd AMD Fam10 B3 default settings to match AMD example code.
Marc Jones [Wed, 23 Jul 2008 21:44:23 +0000 (21:44 +0000)]
Add AMD Fam10 B3 default settings to match AMD example code.
Includes setting for most recent errata.

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@3435 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoUpdate to the latest AMD Fam10 microcode patches.
Marc Jones [Wed, 23 Jul 2008 21:11:20 +0000 (21:11 +0000)]
Update to the latest AMD Fam10 microcode patches.
Add platform option for patch file name.

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@3434 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

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