coreboot.git
15 years ago[PATCH]: libpayload: Document the architecture specific routines
Jordan Crouse [Thu, 28 Aug 2008 23:12:22 +0000 (23:12 +0000)]
[PATCH]: libpayload:  Document the architecture specific routines

No code changes.

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

15 years ago[PATCH]: libpayload: change the type of the cpu_khz variable
Jordan Crouse [Thu, 28 Aug 2008 23:12:02 +0000 (23:12 +0000)]
[PATCH]: libpayload:  change the type of the cpu_khz variable

This makes it match the extern declaration in libc/time.c -
and doxygen can find make the connection. 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@3551 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years ago[PATCH]: libpayload: Document readline
Jordan Crouse [Thu, 28 Aug 2008 23:11:29 +0000 (23:11 +0000)]
[PATCH]: libpayload:  Document readline

No code changes.

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

15 years ago[PATCH]: libpayload: Document include/libpayload.h
Jordan Crouse [Thu, 28 Aug 2008 23:10:55 +0000 (23:10 +0000)]
[PATCH]: libpayload:  Document include/libpayload.h

No code changes.

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

15 years ago[PATCH]: Libpayload: Remove static variables from the doxygen output
Jordan Crouse [Thu, 28 Aug 2008 23:10:25 +0000 (23:10 +0000)]
[PATCH]: Libpayload:  Remove static variables from the doxygen output

No code changes.

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

15 years agoAdd definitions for DDR2 SPD registers.
Ed Swierk [Thu, 28 Aug 2008 18:23:58 +0000 (18:23 +0000)]
Add definitions for DDR2 SPD registers.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3547 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoEric Biederman believes that he and Tom Zimmerman of the defunct
Ed Swierk [Thu, 28 Aug 2008 18:22:40 +0000 (18:22 +0000)]
Eric Biederman believes that he and Tom Zimmerman of the defunct
LinuxNetworx own the copyright for the Intel e7520, e7525 and 3100
raminit code.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3546 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agolibpayload: Expand doxygen definitions
Jordan Crouse [Thu, 28 Aug 2008 16:53:24 +0000 (16:53 +0000)]
libpayload:  Expand doxygen definitions

Expand libpayload.h to include a main page and add individual
groups for the API functions - this adds the Modules tab to
the doxygen output.

Specify the INPUT list rather then the EXCLUDE list of directories
to omit random .c files that we don't want.  Add clean targets to
the makefile to clean doxygen files only.

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

15 years agofix libpayload build dependencies (trivial)
Stefan Reinauer [Thu, 28 Aug 2008 15:20:42 +0000 (15:20 +0000)]
fix libpayload build dependencies (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@3544 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoCapture output from 'ld --help', in order that the test
Mats Erik Andersson [Wed, 27 Aug 2008 22:25:55 +0000 (22:25 +0000)]
Capture output from  'ld --help', in order that the test
becomes meaningful. The linker puts help texts on stderr.

Signed-off-by: Mats Erik Andersson <mats.andersson@gisladisker.se>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3543 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoIf you have
Ward Vandewege [Wed, 27 Aug 2008 21:53:11 +0000 (21:53 +0000)]
If you have

  option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
  option CONFIG_PRECOMPRESSED_PAYLOAD=1

set in Config.lb but accidentally use an uncompressed payload, coreboot (v2)
bombs out like this:

  elfboot: Attempting to load payload.
  rom_stream: 0xfffc0000 - 0xfffdefff
  Uncompressing to RAM 0x01000000 Decoder scratchpad too small!
  Decoding error = 1
  Unexpected Exception: 6 @ 10:04000408 - Halting
  Code: 0 eflags: 00010057
  eax: 00000101 ebx: 04000400 ecx: 000003d4 edx: fffc0000
  edi: 04000400 esi: 04000401 ebp: 04000400 esp: 0013dfb4

The attached patch modifies v2's lzma code so that it assumes an uncompressed
payload if it fails to find a properly compressed payload.

Compare with the fatal error above:

  elfboot: Attempting to load payload.
  rom_stream: 0xfffc0000 - 0xfffdefff
  Uncompressing to RAM 0x01000000 Decoder scratchpad too small!
   olen = 0x00000000 done.
  Decompression failed. Assuming payload is uncompressed...
  Found ELF candidate at offset 0
  header_offset is 0
  Try to load at offset 0x0

If you don't have CONFIG_COMPRESSED_PAYLOAD_LZMA and
CONFIG_PRECOMPRESSED_PAYLOAD set and use an uncompressed payload, things are as
before:

  elfboot: Attempting to load payload.
  rom_stream: 0xfffc0000 - 0xfffdefff
  Found ELF candidate at offset 0
  header_offset is 0
  Try to load at offset 0x0

One can argue that this is a case of 'builder beware', but my counter argument
is that anything that causes unexpected runtime breakage is really, really,
really bad, and should be avoided where possible.

This patch also fixes one erroneous comment.

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3542 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoflashrom: SST25VF016B TEST_OK_ PROBE READ ERASE WRITE
Peter Stuge [Wed, 27 Aug 2008 21:28:41 +0000 (21:28 +0000)]
flashrom: SST25VF016B TEST_OK_ PROBE READ ERASE WRITE

Per test report from Ward.

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

15 years agoAdd a Doxygen config file and a Makefile target 'doxy' or 'doxygen' which
Uwe Hermann [Wed, 27 Aug 2008 12:53:47 +0000 (12:53 +0000)]
Add a Doxygen config file and a Makefile target 'doxy' or 'doxygen' which
generate API documentation (HTML) for libpayload in a 'doxygen' subdirectory.

A 'make clean' will remove this directory again.

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

15 years agofix string function prototypes in libpayload according to sysv/4.3bsd.
Stefan Reinauer [Tue, 26 Aug 2008 21:51:04 +0000 (21:51 +0000)]
fix string function prototypes in libpayload according to sysv/4.3bsd.
Discussed on IRC, 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@3539 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoFix some Doxygen warnings and/or typos (trivial).
Uwe Hermann [Tue, 26 Aug 2008 19:37:37 +0000 (19:37 +0000)]
Fix some Doxygen warnings and/or typos (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@3538 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoHow could -ffreestanding slip through here. Required because libpayload is not
Stefan Reinauer [Tue, 26 Aug 2008 11:18:38 +0000 (11:18 +0000)]
How could -ffreestanding slip through here. Required because libpayload is not
going to run under an OS. (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@3537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agoThis patch adds PCI device IDs for the Intel EP80579 Integrated Processor,
Ed Swierk [Mon, 25 Aug 2008 17:02:09 +0000 (17:02 +0000)]
This patch adds PCI device IDs for the Intel EP80579 Integrated Processor,
and renames some existing macros for clarity.

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

15 years agoThis patch modifies the Intel 3100 southbridge code to recognize the
Ed Swierk [Mon, 25 Aug 2008 14:45:00 +0000 (14:45 +0000)]
This patch modifies the Intel 3100 southbridge code to recognize the
integrated LPC, SMBus, USB and SATA devices of the Intel EP80579
Integrated Processor.

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

15 years agoThis patch implements support for the CPU core of the Intel EP80579
Ed Swierk [Mon, 25 Aug 2008 14:41:11 +0000 (14:41 +0000)]
This patch implements support for the CPU core of the Intel EP80579
Integrated Processor.

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

15 years agoA missing semicolon prevents libpayload to compile, this patch fixes that.
Jakob Bornecrantz [Sat, 23 Aug 2008 12:17:46 +0000 (12:17 +0000)]
A missing semicolon prevents libpayload to compile, this patch fixes that.

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

15 years agoflashrom: Recognize the Intel EP80579 LPC flash interface.
Ed Swierk [Wed, 20 Aug 2008 20:31:41 +0000 (20:31 +0000)]
flashrom: Recognize the Intel EP80579 LPC flash interface.

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

15 years agosplit the one file, as the several printing functions will continue to grow
Stefan Reinauer [Wed, 20 Aug 2008 13:41:24 +0000 (13:41 +0000)]
split the one file, as the several printing functions will continue to grow
immensly when they know more systems / cpus / chipsets

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

15 years agouse seperate array for core 2 cpus (trivial)
Stefan Reinauer [Wed, 20 Aug 2008 12:42:39 +0000 (12:42 +0000)]
use seperate array for core 2 cpus (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@3530 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agothis port seems somehow broken.. Now, is it using FAILOVER, or is it not?!
Stefan Reinauer [Wed, 20 Aug 2008 09:17:30 +0000 (09:17 +0000)]
this port seems somehow broken.. Now, is it using FAILOVER, or is it not?!

./s2912_fam10/Options.lb:default FALLBACK_SIZE=ROM_SIZE-0x01000

Please, someone with the board test this and fix it accordingly.

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

15 years agoAdd support for MSI KT4V to flashrom. The KT4V is autodetected and supports
Sean Nelson [Tue, 19 Aug 2008 21:51:39 +0000 (21:51 +0000)]
Add support for MSI KT4V to flashrom. The KT4V is autodetected and supports
the KT3 Ultra 2 with "-m msi:kt4v" (but is not autodetected, yet).

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

15 years agotrivial fix for memcpy return code in case someone uses it.
Stefan Reinauer [Tue, 19 Aug 2008 19:18:58 +0000 (19:18 +0000)]
trivial fix for memcpy return code in case someone uses it.

Thanks to Ulf Jordan for figuring this out!

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

15 years agoAdd Tyan S2912 platform with AMD Family 10 support.
Arne Georg Gleditsch [Tue, 19 Aug 2008 17:59:34 +0000 (17:59 +0000)]
Add Tyan S2912 platform with AMD Family 10 support.
Thanks Arne. Good job.

Signed-off-by: Arne Georg Gleditsch <arne.gleditsch@numascale.com>
Acked-by: Marc Jones <marc.jones@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3526 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agomisc fixes:
Stefan Reinauer [Tue, 19 Aug 2008 17:51:30 +0000 (17:51 +0000)]
misc fixes:
 * give struct memrange a name
 * add explicit cast.
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@3525 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

15 years agomake all drivers relocatable. Per default, an 1:1 mapping is assumed.
Stefan Reinauer [Tue, 19 Aug 2008 17:49:53 +0000 (17:49 +0000)]
make all drivers relocatable. Per default, an 1:1 mapping is assumed.
Patch to add relocation to libpayload will follow.

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

15 years ago* add readline()
Stefan Reinauer [Tue, 19 Aug 2008 17:48:02 +0000 (17:48 +0000)]
* add readline()
* add fatal()

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

15 years ago* add readline()
Stefan Reinauer [Tue, 19 Aug 2008 17:47:18 +0000 (17:47 +0000)]
* add readline()
* add fatal()

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

15 years agoreplace static functions by macros, because otherwise every unused function
Patrick Georgi [Tue, 19 Aug 2008 17:46:02 +0000 (17:46 +0000)]
replace static functions by macros, because otherwise every unused function
would warn. Bad thing for all -Werror folks out there.

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

15 years agoadd functions to query cursor position to video layer
Stefan Reinauer [Tue, 19 Aug 2008 17:44:49 +0000 (17:44 +0000)]
add functions to query cursor position to video layer

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

15 years agolibpayload: Fix the memcpy functions
Jordan Crouse [Tue, 19 Aug 2008 16:55:05 +0000 (16:55 +0000)]
libpayload:  Fix the memcpy functions

There was a bit of confusion in the memcpy functions - we could simplify
things slightly without having to revert to 8 bit copies on a 32 bit
system.

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

15 years agofix typo in ctype.c
Stefan Reinauer [Tue, 19 Aug 2008 16:53:47 +0000 (16:53 +0000)]
fix typo in ctype.c

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

15 years agoAdd a kconfig option to choose between outputing ACS characters or
Ulf Jordan [Mon, 18 Aug 2008 19:29:41 +0000 (19:29 +0000)]
Add a kconfig option to choose between outputing ACS characters or
their plain ASCII fallbacks over serial console.

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

15 years agoFix tinycurses color output on the VGA console.
Ulf Jordan [Mon, 18 Aug 2008 19:28:42 +0000 (19:28 +0000)]
Fix tinycurses color output on the VGA console.

The CGA compatible 16 color VGA text mode expects Intensity RGB color
specifications, in the order IRGB from most to least significant bit.
Curses COLOR_ macros follows ANSI X3.64/ISO 6429/ECMA-48, specifying
RGB color in the order BGR from most to least significant bit.
Consequently, it is necessary to swap the red and blue bits.

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

15 years agoAdd more information to the libpayload README (trivial).
Uwe Hermann [Mon, 18 Aug 2008 18:55:33 +0000 (18:55 +0000)]
Add more information to the libpayload README (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@3515 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

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