coreboot.git
15 years agointeltool: match cpuid before attempting to print MSRs (trivial)
Stefan Reinauer [Mon, 18 Aug 2008 10:58:09 +0000 (10:58 +0000)]
inteltool: match cpuid before attempting to print MSRs (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@3514 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoadd block io functions
Stefan Reinauer [Sat, 16 Aug 2008 15:17:36 +0000 (15:17 +0000)]
add block io functions

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

15 years agotrivial fix: ipchksum takes an unspecified input blob, not explicitly a number of...
Stefan Reinauer [Sat, 16 Aug 2008 15:16:36 +0000 (15:16 +0000)]
trivial fix: ipchksum takes an unspecified input blob, not explicitly a number of shorts.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agofix typo in superiotool (trivial)
Stefan Reinauer [Fri, 15 Aug 2008 09:46:55 +0000 (09:46 +0000)]
fix typo in superiotool (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@3511 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years ago* fix memory allocator bug that lead to freelist corruption on the first malloc
Stefan Reinauer [Thu, 14 Aug 2008 14:40:10 +0000 (14:40 +0000)]
* fix memory allocator bug that lead to freelist corruption on the first malloc
  (and spent 8 bytes too much per malloc)
* if the memory allocator detects freelist corruption, print a message
  instead of silently dying.

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

15 years agoFix outb to 0x80 delay functions to use inb instead (fixes excessive post codes
Stefan Reinauer [Wed, 13 Aug 2008 12:16:15 +0000 (12:16 +0000)]
Fix outb to 0x80 delay functions to use inb instead (fixes excessive post codes
in a couple of occurences)

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

15 years agooff by 1. (trivial)
Stefan Reinauer [Wed, 13 Aug 2008 09:38:12 +0000 (09:38 +0000)]
off by 1. (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@3508 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agocommit real fix to pci module of coreinfo (trivial)
Stefan Reinauer [Wed, 13 Aug 2008 08:23:06 +0000 (08:23 +0000)]
commit real fix to pci module of coreinfo (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@3507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoadd PCI_BUS macro (trivial)
Stefan Reinauer [Wed, 13 Aug 2008 08:21:27 +0000 (08:21 +0000)]
add PCI_BUS macro (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@3506 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoFix incorrect mapping of ACS_PI for VGA console. A pi should look like pi and
Ulf Jordan [Tue, 12 Aug 2008 20:23:00 +0000 (20:23 +0000)]
Fix incorrect mapping of ACS_PI for VGA console. A pi should look like pi and
not like Gamma.

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

15 years agoLicense updated to GPL v2.
Marc Jones [Tue, 12 Aug 2008 19:45:12 +0000 (19:45 +0000)]
License updated to GPL v2.

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

15 years agolibpayload: fix type in keyboard driver. (trivial)
Stefan Reinauer [Tue, 12 Aug 2008 14:19:40 +0000 (14:19 +0000)]
libpayload: fix type in keyboard driver. (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@3503 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: Fix error -EINVAL on mmap()
Segher Boessenkool [Tue, 12 Aug 2008 11:58:00 +0000 (11:58 +0000)]
flashrom: Fix error -EINVAL on mmap()

Don't calculate "flash_baseaddr" until the final value of "size"
is known, otherwise we end up trying to map a page right after
the end of memory.

Fixes #112.

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

15 years agoThis patch updates coreinfo to use the ACS_ macros for line graphics.
Ulf Jordan [Mon, 11 Aug 2008 20:35:32 +0000 (20:35 +0000)]
This patch updates coreinfo to use the ACS_ macros for line graphics.

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

15 years agoDocument all of the external code we use in libpayload (trivial).
Uwe Hermann [Mon, 11 Aug 2008 20:34:50 +0000 (20:34 +0000)]
Document all of the external code we use in libpayload (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@3500 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoAdd support for line drawing characters and the alternate character set.
Ulf Jordan [Mon, 11 Aug 2008 20:34:28 +0000 (20:34 +0000)]
Add support for line drawing characters and the alternate character set.
This enables using the ACS_ curses macros with libpayload.

The translation from ACS_ macros (or characters with attribute A_ALTCHARSET)
is done using one acs map for the video console, one for serial console
(xterm/vt100/vt220), and one fallback, from which an ASCII substitute is
taken if the device specific map doesn't contain an entry (ie NUL).

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

15 years agoMake cursor positioning work by using both halves of the VGA cursor
Jonathan A. Kollasch [Mon, 11 Aug 2008 17:19:10 +0000 (17:19 +0000)]
Make cursor positioning work by using both halves of the VGA cursor
position register.

Have vga_scroll_up() and vga_clear_line() present row/column arguments to
the VIDEO() macro in the right order.

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3498 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoNo really, _these_ should be the last occurences of CONFIG_ without
Jordan Crouse [Mon, 11 Aug 2008 17:10:58 +0000 (17:10 +0000)]
No really, _these_ should be the last occurences of CONFIG_ without
config.h in libpayload - also removed CONFIG_ instance in libpayload
which would have been dangerous.

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

15 years agothese should be the last occurences of CONFIG_ without config.h in libpayload.
Stefan Reinauer [Mon, 11 Aug 2008 16:58:23 +0000 (16:58 +0000)]
these should be the last occurences of CONFIG_ without config.h in libpayload.

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

15 years agothese use CONFIG_ variables, too.
Stefan Reinauer [Mon, 11 Aug 2008 16:55:35 +0000 (16:55 +0000)]
these use CONFIG_ variables, too.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3495 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agovideo.c uses CONFIG_ variables, so it needs config.h (trivial)
Stefan Reinauer [Mon, 11 Aug 2008 16:52:14 +0000 (16:52 +0000)]
video.c uses CONFIG_ variables, so it needs config.h (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@3494 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoBugfixes to serial output functions: vt100 has bold with \e[1m,
Ulf Jordan [Sat, 9 Aug 2008 20:17:22 +0000 (20:17 +0000)]
Bugfixes to serial output functions: vt100 has bold with \e[1m,
upper left corner is (0,0) in curses, but (1,1) on the vt100.

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

15 years agoFix garbage characters on screen. mvwaddch inserts one character,
Ulf Jordan [Sat, 9 Aug 2008 20:15:00 +0000 (20:15 +0000)]
Fix garbage characters on screen. mvwaddch inserts one character,
not a character array.

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

15 years agoFix signedness problem in memcmp.
Ulf Jordan [Sat, 9 Aug 2008 19:34:56 +0000 (19:34 +0000)]
Fix signedness problem in memcmp.

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

15 years agoi messed this up.
Stefan Reinauer [Fri, 8 Aug 2008 18:36:14 +0000 (18:36 +0000)]
i messed this up.

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

15 years agocompile fix (trivial)
Stefan Reinauer [Fri, 8 Aug 2008 14:17:46 +0000 (14:17 +0000)]
compile fix (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@3489 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

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