coreboot.git
14 years agoI was having problems building a working romcc with the -O2
Marc Jones [Sat, 13 Feb 2010 18:06:29 +0000 (18:06 +0000)]
I was having problems building a working romcc with the -O2
optimization flag on ubuntu hardy. It was causing this error building
the bootblock:
bootblock.c:49.0:
Internal compiler error: low: next != prev?

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

14 years agoromcc: Fix a few (harmless) warnings
Peter Stuge [Fri, 12 Feb 2010 21:28:15 +0000 (21:28 +0000)]
romcc: Fix a few (harmless) warnings

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

14 years agoThis patch allows a Kconfig option to choose between 64MB (IP1000) and 128MB (IP1000T...
Joseph Smith [Fri, 12 Feb 2010 17:58:53 +0000 (17:58 +0000)]
This patch allows a Kconfig option to choose between 64MB (IP1000) and 128MB (IP1000T) of onboard memory.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5122 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoupdate doxygen config file to latest doxygen version
Stefan Reinauer [Fri, 12 Feb 2010 11:59:37 +0000 (11:59 +0000)]
update doxygen config file to latest doxygen version
(doxygen -u)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5121 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd two YABEL options to Kconfig
Stefan Reinauer [Fri, 12 Feb 2010 09:32:17 +0000 (09:32 +0000)]
Add two YABEL options to Kconfig

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

14 years agoFix AUTO_XIP_ROM_BASE issues on AMD boards with certain compilers,
Patrick Georgi [Thu, 11 Feb 2010 23:00:10 +0000 (23:00 +0000)]
Fix AUTO_XIP_ROM_BASE issues on AMD boards with certain compilers,
and expose the error earlier in the build.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5119 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdapt all uses of CONFIG_XIP_ROM_BASE to use
Patrick Georgi [Thu, 11 Feb 2010 21:51:04 +0000 (21:51 +0000)]
Adapt all uses of CONFIG_XIP_ROM_BASE to use
AUTO_XIP_ROM_BASE (as implemented for tinybootblock) if available.

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

14 years agoDon't remove config.h on "make clean"
Patrick Georgi [Thu, 11 Feb 2010 12:12:19 +0000 (12:12 +0000)]
Don't remove config.h on "make clean"

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5117 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoromcc: Ignore empty string tokens. So far, romcc emitted a single double-quote for...
Patrick Georgi [Thu, 11 Feb 2010 11:13:32 +0000 (11:13 +0000)]
romcc: Ignore empty string tokens. So far, romcc emitted a single double-quote for them.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5116 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago$(DISTRO_CFLAGS) is newconfig heritage and was never used on Kconfig. We do
Stefan Reinauer [Thu, 11 Feb 2010 08:44:20 +0000 (08:44 +0000)]
$(DISTRO_CFLAGS) is newconfig heritage and was never used on Kconfig. We do
what it was supposed to do in xcompile now..

Moved ap_romstage.o rule to src/arch/i386/Makefile.inc, too.

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

14 years agoseparate build.h and config.h usage (now possible because newconfig is gone)
Stefan Reinauer [Thu, 11 Feb 2010 03:21:29 +0000 (03:21 +0000)]
separate build.h and config.h usage (now possible because newconfig is gone)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
This patch is slightly reworked to include a necessary romcc change that allows
more than one -include specified on the command line, and gets rid of the
explicit build.h dependencies of all files. (The files do keep an explicit
config.h dependency though)

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

14 years agoImprove compiler detection and configuration in xcompile.
Patrick Georgi [Wed, 10 Feb 2010 20:31:38 +0000 (20:31 +0000)]
Improve compiler detection and configuration in xcompile.
Move -fno-stack-protector support from Makefile to xcompile.

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

14 years agoDo not print the full path name to coreboot.rom in "cbfstool print" (trivial).
Uwe Hermann [Wed, 10 Feb 2010 19:52:35 +0000 (19:52 +0000)]
Do not print the full path name to coreboot.rom in "cbfstool print" (trivial).

This makes the output look a lot nicer, e.g.

  /home/uwe/foo/bar/baz/whatever/build/coreboot.rom: 256 kB, bootblocksize 65536, romsize 262144, offset 0x0

now becomes:

  coreboot.rom: 256 kB, bootblocksize 65536, romsize 262144, offset 0x0

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

14 years agoForgot a CBFS_PREFIX change in appropriate commit (r5102).
Patrick Georgi [Wed, 10 Feb 2010 19:40:10 +0000 (19:40 +0000)]
Forgot a CBFS_PREFIX change in appropriate commit (r5102).
Also, delete duplicate romstage file in qemu-x86

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5111 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove uses of the shell to remove double quotes, or to figure out the
Patrick Georgi [Wed, 10 Feb 2010 18:53:40 +0000 (18:53 +0000)]
Remove uses of the shell to remove double quotes, or to figure out the
current directory (already available in $(PWD))

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

14 years agoHandle potential race condition with $(obj)/util/cbfstool
Patrick Georgi [Wed, 10 Feb 2010 18:50:36 +0000 (18:50 +0000)]
Handle potential race condition with $(obj)/util/cbfstool

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

14 years agoRemove two perl calls with sed, and adds an alternative
Patrick Georgi [Wed, 10 Feb 2010 18:08:22 +0000 (18:08 +0000)]
Remove two perl calls with sed, and adds an alternative
for another two (using GNU date, and with limited impact if both
alternatives fail)

Those were the remaining perl calls in our build tree, so remove perl
from our dependency list in README.

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

14 years agofix doxyfile path
Stefan Reinauer [Wed, 10 Feb 2010 15:36:53 +0000 (15:36 +0000)]
fix doxyfile path

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

14 years agopython is no longer used in abuild.
Stefan Reinauer [Wed, 10 Feb 2010 15:34:15 +0000 (15:34 +0000)]
python is no longer used in abuild.

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

14 years agoDrop src/config alltogether
Stefan Reinauer [Wed, 10 Feb 2010 11:56:21 +0000 (11:56 +0000)]
Drop src/config alltogether

- drop two "newconfig" based files
- drop two obsolete doxygen config files and check
  in our latest Doxyfile.coreboot (that has been
  used to build coreboot online documentation since
  2005 or so)
- move two i386 specific linker scripts to src/arch/i386

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

14 years agoEmergency fix: r5102 carried some local change that doesn't
Patrick Georgi [Tue, 9 Feb 2010 20:02:32 +0000 (20:02 +0000)]
Emergency fix: r5102 carried some local change that doesn't
belong in this patch, which makes tinybootblock builds fail.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5104 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd image updating support. When selecting it, it
Patrick Georgi [Tue, 9 Feb 2010 19:41:11 +0000 (19:41 +0000)]
Add image updating support. When selecting it, it
expects a coreboot.rom to be available, and adds the files to it.

It has no idea how to replace files, it merely adds them. It only works
with Tinybootblock and the bootblock is immutable.

The "clean" rules allow "make clean-for-update", which
removes everything but coreboot.rom

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5103 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAllow building images with different prefixes (ie. normal/romstage,
Patrick Georgi [Tue, 9 Feb 2010 19:35:16 +0000 (19:35 +0000)]
Allow building images with different prefixes (ie. normal/romstage,
helloWorld/romstage, ...).
It defaults to fallback/, so there's no user visible change now.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5102 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoI took Rob Landley's nice "menuconfig2html.py" script from
Stefan Reinauer [Tue, 9 Feb 2010 15:15:29 +0000 (15:15 +0000)]
I took Rob Landley's nice "menuconfig2html.py" script from
http://landley.net/hg/kdocs and modified it to produce MediaWiki output
for coreboot's Option List at http://coreboot.org/Coreboot_Options. The
attached patch exchanges our old ("newconfig") optionlist script with
the new one.

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

14 years agoActually set HAVE_OPTION_TABLES for the boards that need it.
Patrick Georgi [Tue, 9 Feb 2010 12:32:55 +0000 (12:32 +0000)]
Actually set HAVE_OPTION_TABLES for the boards that need it.
(See last commit)

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5100 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMove all the copies of the romstage.inc rule to
Patrick Georgi [Tue, 9 Feb 2010 12:21:10 +0000 (12:21 +0000)]
Move all the copies of the romstage.inc rule to
src/arch/i386/Makefile.inc

For that to work, I had to:
- Add a CONFIG_ROMCC variable
- Set that variable on all ROMCC boards
- conditionally choose romcc or gcc rule based on that variable
- remove those two rules from all the boards' Makefiles
- switch a couple of boards to HAVE_OPTION_TABLE, as they actually have.

Also remove the duplication of rules with the sole difference of if
they depend on option_table.h or not.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5099 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThe COM2 enable code is global now. Use global API and
Patrick Georgi [Tue, 9 Feb 2010 12:00:06 +0000 (12:00 +0000)]
The COM2 enable code is global now. Use global API and
retire duplicate function.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5098 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoPort of CS5536 early UART setup from v3.
Edwin Beasant [Tue, 9 Feb 2010 10:22:33 +0000 (10:22 +0000)]
Port of CS5536 early UART setup from v3.
Permit early setup of COM2

Signed-off-by: Edwin Beasant <edwin_beasant@virtensys.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5097 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoupdate coreboot trunk version
Stefan Reinauer [Mon, 8 Feb 2010 18:30:41 +0000 (18:30 +0000)]
update coreboot trunk version
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5096 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoget rid of old news.
Stefan Reinauer [Mon, 8 Feb 2010 17:04:04 +0000 (17:04 +0000)]
get rid of old news.

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

14 years agoClean up ACPI:
Patrick Georgi [Mon, 8 Feb 2010 15:46:37 +0000 (15:46 +0000)]
Clean up ACPI:
- unify all iasl related rules into the toplevel Makefile
- build a filesystem standard for ACPI files and use it
- pass ACPI sources through cpp, so constants can be shared
  between C and ACPI more easily
- use cpp's #include instead of ACPI's Include() so cpp gets
  the whole picture

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

14 years agostraighten naming scheme for application processor rom stage files.
Stefan Reinauer [Mon, 8 Feb 2010 12:32:30 +0000 (12:32 +0000)]
straighten naming scheme for application processor rom stage files.
Apparently they are not used. If you have any of the boards touched in this
commit, please test and report (so we can figure out what to do with the
ap_romstage.c files in general)

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

14 years agojanitor task: unify and cleanup naming.
Stefan Reinauer [Mon, 8 Feb 2010 12:20:50 +0000 (12:20 +0000)]
janitor task: unify and cleanup naming.
cache_as_ram_auto.c and auto.c are both called "romstage.c" now.

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

14 years agofix further build.h dependencies that were undetected before we enabled it on
Stefan Reinauer [Sun, 7 Feb 2010 22:56:06 +0000 (22:56 +0000)]
fix further build.h dependencies that were undetected before we enabled it on
our parallel build server ;-)

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

14 years agoromcc _also_ has to wait for build.h to be generated.
Patrick Georgi [Sun, 7 Feb 2010 22:27:49 +0000 (22:27 +0000)]
romcc _also_ has to wait for build.h to be generated.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5090 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agonewconfig is no more.
Patrick Georgi [Sun, 7 Feb 2010 21:43:48 +0000 (21:43 +0000)]
newconfig is no more.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5089 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agothis should get the VIA VT8454c in shape with Kconfig
Stefan Reinauer [Fri, 5 Feb 2010 16:10:01 +0000 (16:10 +0000)]
this should get the VIA VT8454c in shape with Kconfig
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5088 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd -pipe .. notably speeds up windows builds.
Stefan Reinauer [Fri, 5 Feb 2010 14:32:00 +0000 (14:32 +0000)]
Add -pipe .. notably speeds up windows builds.

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

14 years agoThis patch fixes the build for the dsdt.asl/dsdt.c.
Harald Gutmann [Thu, 4 Feb 2010 11:08:59 +0000 (11:08 +0000)]
This patch fixes the build for the dsdt.asl/dsdt.c.

Signed-off-by: Harald Gutmann <harald.gutmann@gmx.net>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5086 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agotypo
Stefan Reinauer [Thu, 4 Feb 2010 11:05:59 +0000 (11:05 +0000)]
typo
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5085 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove lots of cruft from gigabyte/m57sli's Config.lb
Harald Gutmann [Thu, 4 Feb 2010 10:28:16 +0000 (10:28 +0000)]
Remove lots of cruft from gigabyte/m57sli's Config.lb
and fix the build.
Change the default ROM size to 1MB

Signed-off-by: Harald Gutmann <harald.gutmann@gmx.net>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5084 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRevision 5051 broke Kconfig booting for the Tyan s2881 board. Up to 5050, there
Ward Vandewege [Thu, 4 Feb 2010 03:03:39 +0000 (03:03 +0000)]
Revision 5051 broke Kconfig booting for the Tyan s2881 board. Up to 5050, there
were two SB_HT_CHAIN_ON_BUS0 sections in the mainboard Kconfig file - one
setting the parameter to 0, the other setting it to 2.

Revision 5051 removed one of the two SB_HT_CHAIN_ON_BUS0 sections - the wrong
one. This patch fixes that.

Revision 5051 removed the wrong setting because newconfig for this board was
*also* wrong. This patch fixes that too.

Tested on real hardware, both with Kconfig and newconfig.

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5083 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMove CAR settings for all GX1, GX2, LX and Intel Slot2 boards to the CPU.
Stefan Reinauer [Thu, 4 Feb 2010 01:32:43 +0000 (01:32 +0000)]
Move CAR settings for all GX1, GX2, LX and Intel Slot2 boards to the CPU.
This automatically adds the settings for those boards that didn't have settings
at all yet. Also, small fixup to compareboard.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
--> Please help porting all boards from newconfig to Kconfig <--

This is a lot of janitor work and we can use your helping hands.
The sooner we can get rid of Kbuild, the better. The KBuild report
on the mailing list shows the config differences between newconfig
and Kconfig. In theory, all Kconfig configs should be equal to their
newconfig pendant. In practice it's better to come close but stay
clean.

--> Please help porting all boards from newconfig to Kconfig <--

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

14 years agoAdd dump support for the Winbond W83877AF (trivial).
Uwe Hermann [Thu, 4 Feb 2010 00:55:06 +0000 (00:55 +0000)]
Add dump support for the Winbond W83877AF (trivial).

This Super I/O doesn't seem to know the concept of LDNs, it's just a
bunch of registers not splitted into banks/LDNs.

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

14 years agoSupermicro H8QME-2+ (Fam10) whitespace fixes (trivial).
Uwe Hermann [Wed, 3 Feb 2010 22:07:57 +0000 (22:07 +0000)]
Supermicro H8QME-2+ (Fam10) whitespace fixes (trivial).

This makes the code more similar to the h8dmr_fam10 target in order to make
the diff between both smaller and more readable.

Build-tested with newconfig and kconfig.

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

14 years agoAdd missing CONFIG_ prefix to make manual QEMU build work (trivial).
Uwe Hermann [Wed, 3 Feb 2010 20:52:14 +0000 (20:52 +0000)]
Add missing CONFIG_ prefix to make manual QEMU build work (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@5079 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoTrivial: In QEmu, the fallback image should USE_FALLBACK_IMAGE.
Patrick Georgi [Wed, 3 Feb 2010 17:57:55 +0000 (17:57 +0000)]
Trivial: In QEmu, the fallback image should USE_FALLBACK_IMAGE.
(fixed buildtarget)

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5078 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoGuards against errors that are hard to track down:
Patrick Georgi [Wed, 3 Feb 2010 17:56:37 +0000 (17:56 +0000)]
Guards against errors that are hard to track down:
- if crt0s is empty (eg. because crt0-y is still used),
  break the build, and say where that behaviour changed
- if a stage is unusable for cbfstool because it's placed
  outside the ROM space (linked to 0 is somewhat notorious),
  warn about it, give some hints and exit instead of crashing.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stefan.reinauer@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5077 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix incorrect board names in Kconfig strings (trivial).
Uwe Hermann [Wed, 3 Feb 2010 17:25:34 +0000 (17:25 +0000)]
Fix incorrect board names in Kconfig strings (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@5076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThis patch adds the Supermicro H8QME-2+ (fam10) Motherboard with the
Knut Kujat [Wed, 3 Feb 2010 16:04:40 +0000 (16:04 +0000)]
This patch adds the Supermicro H8QME-2+ (fam10) Motherboard with the
following remaining issues:
- ACPI not working
- SMBus gets irq 0 instead of 5
- Loading VGA rom fails (using seabios to do it)

(copied a newer Makefile.inc from h8dmr_fam10 vs. the patch on the list)

Signed-off-by: Knut Kujat <knuku@gap.upv.es>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5075 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThe UART2 on the AMD cs5536 is incorrectly configured in two places.
Stefan Reinauer [Wed, 3 Feb 2010 13:49:24 +0000 (13:49 +0000)]
The UART2 on the AMD cs5536 is incorrectly configured in two places.
GPIO lines 4 and 3 are swapped and also incorrectly put in IR mode receive (compound fault).

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

14 years agoAlot of it is trivial clean ups and 830 is now able to initialize one row/side of...
Joseph Smith [Mon, 1 Feb 2010 22:51:18 +0000 (22:51 +0000)]
Alot of it is trivial clean ups and 830 is now able to initialize one row/side of memory at a time.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5073 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago- Improve help texts for option ROM initialization methods
Stefan Reinauer [Sun, 31 Jan 2010 21:46:12 +0000 (21:46 +0000)]
- Improve help texts for option ROM initialization methods
- disallow REAL_MODE method if ARCH_X86 is not set.

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

14 years agocompareboard:
Stefan Reinauer [Sun, 31 Jan 2010 20:51:00 +0000 (20:51 +0000)]
compareboard:
- drop all occurences of LOGLEVEL settings.
- drop CONFIG_CPU_[VIA|INTEL|AMD] because they're Kconfig only.
- re-enable CONFIG_IOAPIC for now, it might need some fixing.

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

14 years agoAdd detection support for the Winbond W83877AF (trivial).
Uwe Hermann [Sun, 31 Jan 2010 18:48:34 +0000 (18:48 +0000)]
Add detection support for the Winbond W83877AF (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@5070 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoTrivial fixup on IP1000 and RM4100 copyright entries.
Joseph Smith [Sat, 30 Jan 2010 14:56:15 +0000 (14:56 +0000)]
Trivial fixup on IP1000 and RM4100 copyright entries.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Joseph Smith <joe@settoplinux.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5069 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThese lines slipped in. Sorry for the inconvenience.
Stefan Reinauer [Sat, 30 Jan 2010 10:58:30 +0000 (10:58 +0000)]
These lines slipped in. Sorry for the inconvenience.

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

14 years agoifeq wants a space before the (
Stefan Reinauer [Sat, 30 Jan 2010 10:50:57 +0000 (10:50 +0000)]
ifeq wants a space before the (

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

14 years agoadd Kbuild support to abuild and enable it per default;
Stefan Reinauer [Sat, 30 Jan 2010 10:44:28 +0000 (10:44 +0000)]
add Kbuild support to abuild and enable it per default;
use -o/--oldconfig to get the old behavior (and use that
option in kbuildall to get the old config)

I changed the qa.coreboot.org autobuild system to use -o
for now so we get build reports from the old and new config,
still.

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

14 years ago* fix crt0s/ldscripts paths to fix out of tree build.
Stefan Reinauer [Sat, 30 Jan 2010 09:47:18 +0000 (09:47 +0000)]
* fix crt0s/ldscripts paths to fix out of tree build.
* fix iasl output directory for i945 boards (patch
  for moving it to the mainboard directory will follow)
* coreboot_table.c: lb_mainboard can be static
* coreboot_table.c: dump memory table in debug and spew mode
* fix a warning in bootblock.c
* don't include arch/i386/init in arch/i386/Makefile.inc
* announce generation of crt0_includes.h
* allow overriding $(obj)
* drop unused src_types from Makefile
* correctly use hostname -s instead of hostname for COMPILE_HOST

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

14 years agoRCA RM4100 and Thomson IP1000 auto.c rework.
Joseph Smith [Fri, 29 Jan 2010 19:15:10 +0000 (19:15 +0000)]
RCA RM4100 and Thomson IP1000 auto.c rework.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5064 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd the BSD-licensed getopt tool to crossgcc, to use
Patrick Georgi [Fri, 29 Jan 2010 17:40:52 +0000 (17:40 +0000)]
Add the BSD-licensed getopt tool to crossgcc, to use
if there's no native getopt around.

Use $PATCH instead of the hardcoded "patch" for patching
files (after we already looked it up)

Ignore various temporary files via svn:ignore

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5063 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMake $(obj)/build.h an explicit dependency for all
Patrick Georgi [Fri, 29 Jan 2010 17:38:57 +0000 (17:38 +0000)]
Make $(obj)/build.h an explicit dependency for all
object files, as it's dragged into the build by
-include $(obj)/build.h for pretty much everything.

Also, generate build.h atomically.

This fixes parallel build with kconfig on my box.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5062 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix manual build of the ASUS A8N-E (trivial).
Uwe Hermann [Thu, 28 Jan 2010 22:25:49 +0000 (22:25 +0000)]
Fix manual build of the ASUS A8N-E (trivial).

Without this patch the manual newconfig (not kconfig) build would fail with:

  #error "CONFIG_XIP_ROM_BASE is not a multiple of CONFIG_XIP_ROM_SIZE"

I tested an image on hardware, it starts booting now, but doesn't fully
succeed as there are other issues (I'm investigating).

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

14 years agoreformat Kconfig file, too.
Patrick Georgi [Wed, 27 Jan 2010 19:55:01 +0000 (19:55 +0000)]
reformat Kconfig file, too.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5060 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd the MSR writes that are needed to provide VGA legacy routing for the Geode LX
Edwin Beasant [Wed, 27 Jan 2010 19:20:29 +0000 (19:20 +0000)]
Add the MSR writes that are needed to provide VGA legacy routing for the Geode LX
Add appropriate Kconfig defines to provide 8mb of VGA ram allocation
Add the Kconfig defines to cover TSC calibration from TIMER2 and UDELAY setup
Two small warning removals about excessive prototyping.

Signed-off-by: Edwin Beasant <edwin_beasant@virtensys.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5059 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoChange memory map of geode lx: 768kb-systop is a
Edwin Beasant [Wed, 27 Jan 2010 18:19:33 +0000 (18:19 +0000)]
Change memory map of geode lx: 768kb-systop is a
single range.
This change allows both seabios and filo to boot
linux successfully (which was confused before)

Signed-off-by: Edwin Beasant <edwin_beasant@virtensys.com>
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5058 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMark c0000-fffff as usable on geode-lx. SeaBIOS needs it.
Edwin Beasant [Tue, 26 Jan 2010 15:34:15 +0000 (15:34 +0000)]
Mark c0000-fffff as usable on geode-lx. SeaBIOS needs it.
a0000-bffff might be usable as well, but it won't hurt to
keep that range excluded.

Signed-off-by: Edwin Beasant <edwin_beasant@virtensys.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5057 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agouse stdint types for structures, and don't use pointers
Stefan Reinauer [Tue, 26 Jan 2010 14:09:30 +0000 (14:09 +0000)]
use stdint types for structures, and don't use pointers
for fields defined 32bit in the multi processor specification.

Also, fix lots of trivial warnings in the code.

If you ever wondered, why you get odd or wrong mp tables on your x64
system: It's not because bios vendors neglected mp tables; it's because
we neglected 64bit systems. ;-)

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

14 years ago- Clean up and comment writing of MSRs for cache control (Backport from v3)
Edwin Beasant [Tue, 26 Jan 2010 11:22:43 +0000 (11:22 +0000)]
- Clean up and comment writing of MSRs for cache control (Backport from v3)
- Invalidate Cache Tags (by means of in-place rewrite of cache data) which allows CAR data to be flushed to RAM
- Re-enable cache after flush of CAR to RAM

Signed-off-by: Edwin Beasant <edwin_beasant@virtensys.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5055 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix ACPI build on a couple of boards (now that it's active)
Patrick Georgi [Mon, 25 Jan 2010 15:17:11 +0000 (15:17 +0000)]
Fix ACPI build on a couple of boards (now that it's active)
Fix timer handling on amd/sc520 systems
Match UDELAY_* configuration of newconfig in Kconfig

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

14 years agoThis code was copied from amdk8 and never really made usable.
Stefan Reinauer [Mon, 25 Jan 2010 13:15:17 +0000 (13:15 +0000)]
This code was copied from amdk8 and never really made usable.
It's supposed to be a userspace regression test for ram init, but
in fact, it doesn't even execute ram init. This was suggested by
Carl-Daniel on 2009-08-27
Thus, dropping it.

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

14 years agoMore Kconfig changes to improve match with newconfig:
Patrick Georgi [Mon, 25 Jan 2010 10:50:21 +0000 (10:50 +0000)]
More Kconfig changes to improve match with newconfig:

DIMM_SUPPORT
APIC_ID_OFFSET
ACPI_SSDTX_NUM
IRQ_SLOT_COUNT
MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
(except msi/ms9185)
MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
MEM_TRAIN_SEQ
HAVE_ACPI_RESUME

Also remove MMX (kconfig specific) and HAVE_MOVNTI and IOAPIC
(which we deliberately differ in kconfig) from compareboard
report.

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

14 years agoAlign several kconfig options to match newconfig:
Patrick Georgi [Mon, 25 Jan 2010 07:56:01 +0000 (07:56 +0000)]
Align several kconfig options to match newconfig:

HT_CHAIN_UNITID_BASE
HT_CHAIN_END_UNITID_BASE
SB_HT_CHAIN_ON_BUS0
SB_HT_CHAIN_UNITID_OFFSET_ONLY
MAX_CPUS
MAX_PHYSICAL_CPUS
ROM_SIZE
TSC_X86RDTSC_CALIBRATE_WITH_TIMER2

Also hook up asus/p2b-ds

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

14 years agoDocument CONFIG_PCI usage in the README (trivial).
Uwe Hermann [Sun, 24 Jan 2010 17:29:38 +0000 (17:29 +0000)]
Document CONFIG_PCI usage in the 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@5050 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoUpdate list of superiotool contributors to r5048 (trivial).
Uwe Hermann [Sun, 24 Jan 2010 17:15:25 +0000 (17:15 +0000)]
Update list of superiotool contributors to r5048 (trivial).

The list is mostly generated by grepping for Signed-off-by in 'svn log'.

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

14 years agoAdd missing files from the last commit (trivial).
Uwe Hermann [Sun, 24 Jan 2010 01:47:58 +0000 (01:47 +0000)]
Add missing files from the last commit (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@5048 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd VIA VT82C686A/VT82C686B detection support to superiotool.
Carl-Daniel Hailfinger [Sun, 24 Jan 2010 01:40:46 +0000 (01:40 +0000)]
Add VIA VT82C686A/VT82C686B detection support to superiotool.

This adds an additional requirement to superiotool: libpci.
The PCI code is conditional on PCI_SUPPORT. You can set the
CONFIG_PCI variable in the Makefile to 'no' to disable it.

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

14 years agoAdd detection support for the Winbond W83667HG Super I/O.
David Bartley [Sat, 23 Jan 2010 21:51:10 +0000 (21:51 +0000)]
Add detection support for the Winbond W83667HG Super I/O.

$ sudo ./superiotool
superiotool r4931
Found Winbond W83667HG (id=0xa5, rev=0x13) at 0x2e

Details: http://lists.lm-sensors.org/pipermail/lm-sensors/2008-July/023683.html

Signed-off-by: David Bartley <dtbartle@csclub.uwaterloo.ca>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5046 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd detection support for ITE IT8510E/TE/G and IT8511E/TE/G.
Anders Juel Jensen [Sat, 23 Jan 2010 15:50:12 +0000 (15:50 +0000)]
Add detection support for ITE IT8510E/TE/G and IT8511E/TE/G.

Signed-off-by: Anders Juel Jensen <andersjjensen@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5045 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThese two files accidently got a wrong license header.
Stefan Reinauer [Wed, 20 Jan 2010 18:44:30 +0000 (18:44 +0000)]
These two files accidently got a wrong license header.
Clarified with the authors

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Harald Gutmann <harald.gutmann@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5044 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoKontron 986LCD-M MP table:
Stefan Reinauer [Tue, 19 Jan 2010 21:15:37 +0000 (21:15 +0000)]
Kontron 986LCD-M MP table:
When any of the onboard network cards are disabled, the bus numbers change
and thus PCI devices in the riser wouldn't get their interrupts right if a
kernel without ACPI support is booted. This patch dynamically creates the
correct bus numbers for the firewire and riser card entries

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

14 years agoAdd Yabel support (int 15 5fXX callbacks for vga bios) on the kontron 986lcd-m
Stefan Reinauer [Tue, 19 Jan 2010 21:15:01 +0000 (21:15 +0000)]
Add Yabel support (int 15 5fXX callbacks for vga bios) on the kontron 986lcd-m
so it's possible to use the LCD panel connector. Values are hard coded instead
of read from CMOS but it's a start.

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

14 years agodev->rom_address was dropped a while ago which broke yabel. This patch fixes it
Stefan Reinauer [Tue, 19 Jan 2010 21:14:24 +0000 (21:14 +0000)]
dev->rom_address was dropped a while ago which broke yabel. This patch fixes it
again.

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

14 years agodrop COREBOOT_V2 and COREBOOT_V4 define. We're not sharing code with v3
Stefan Reinauer [Tue, 19 Jan 2010 21:13:44 +0000 (21:13 +0000)]
drop COREBOOT_V2 and COREBOOT_V4 define. We're not sharing code with v3
anymore so this ugly hack is no longer needed.

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

14 years agoMove all IOAPIC selection to southbridges, and remove them
Patrick Georgi [Mon, 18 Jan 2010 17:30:36 +0000 (17:30 +0000)]
Move all IOAPIC selection to southbridges, and remove them
from mainboards.
Some adaptations were necessary after the IOAPIC cleanup,
so this should fix the build.

Fix intel/d945gclf build, which was missing some ACPI component.

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

14 years agorun preprocessor on DSDT of D945GCLF, otherwise
Stefan Reinauer [Mon, 18 Jan 2010 15:08:14 +0000 (15:08 +0000)]
run preprocessor on DSDT of D945GCLF, otherwise
smart iasl will segfault.

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

14 years agoncurses is only a requirement for make menuconfig, not for Kconfig in general.
Stefan Reinauer [Mon, 18 Jan 2010 12:01:10 +0000 (12:01 +0000)]
ncurses is only a requirement for make menuconfig, not for Kconfig in general.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5037 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoadd ncurses to list of requirements
Stefan Reinauer [Mon, 18 Jan 2010 11:10:03 +0000 (11:10 +0000)]
add ncurses to list of requirements

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

14 years agoget rid of Kconfig warning.
Stefan Reinauer [Mon, 18 Jan 2010 11:09:24 +0000 (11:09 +0000)]
get rid of Kconfig warning.

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

14 years agomsrtool: Fix typo
Paul Menzel [Sun, 17 Jan 2010 21:59:27 +0000 (21:59 +0000)]
msrtool: Fix typo

Trivial!

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5034 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agomsrtool: Read both MSR values from file in diff mode
Peter Stuge [Sun, 17 Jan 2010 18:34:00 +0000 (18:34 +0000)]
msrtool: Read both MSR values from file in diff mode

Previously, msrtool would assume that MSR values should be compared
between stored value in file and current value in hardware which msrtool
was running on. This does not always fit the use case and with this
change msrtool can now compare two sets of MSR values stored in a file.
If only one MSR value is stored in the file, msrtool will behave as
before, and read the second MSR value from hardware.

This change means that msrtool does not always need access to the system
MSR functions so it can now be run as a regular user when using diff
mode with both MSR values stored in the file.

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

14 years agomsrtool: Add endptr to str2msr() showing how many characters were parsed
Peter Stuge [Sun, 17 Jan 2010 18:33:53 +0000 (18:33 +0000)]
msrtool: Add endptr to str2msr() showing how many characters were parsed

This also introduces a small change in the user interface for immediate
mode (-i). Previously, whitespace could separate high and low words in
an MSR as such:

msrtool -i 4c00000f='f2f100ff 56960004'

That is no longer allowed, a space character now ends the MSR value. Any
other character can still be used as separator however, so the following
syntax still works as expected:

msrtool -i 4c00000f=f2f100ff:56960004

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

14 years agoAdd support for the Roda RK886EX a.k.a Rocky III+ ruggedised notebook
Stefan Reinauer [Sun, 17 Jan 2010 14:08:17 +0000 (14:08 +0000)]
Add support for the Roda RK886EX a.k.a Rocky III+ ruggedised notebook

http://www.roda-computer.com/en/products/notebooks/rocky-iii-rk886ex.html

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

14 years agoInitial PCIe tuning: Enable Active State Power Management (ASPM)
Stefan Reinauer [Sun, 17 Jan 2010 13:54:08 +0000 (13:54 +0000)]
Initial PCIe tuning: Enable Active State Power Management (ASPM)

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

14 years agoAdd support for the Texas Instruments Cardbus+Firewire bridge TI PCI7420
Stefan Reinauer [Sun, 17 Jan 2010 13:52:50 +0000 (13:52 +0000)]
Add support for the Texas Instruments Cardbus+Firewire bridge TI PCI7420

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

14 years agoAdd support for Renesas M3885x Embedded Controller
Stefan Reinauer [Sun, 17 Jan 2010 13:51:48 +0000 (13:51 +0000)]
Add support for Renesas M3885x Embedded Controller

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

14 years agoAdd support for the SMSC LPC47n227 SuperI/O chip
Stefan Reinauer [Sun, 17 Jan 2010 13:50:17 +0000 (13:50 +0000)]
Add support for the SMSC LPC47n227 SuperI/O chip

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

14 years agoICH7 update
Stefan Reinauer [Sun, 17 Jan 2010 13:49:07 +0000 (13:49 +0000)]
ICH7 update
* change the code to use macros names instead of constants in many places
* SMI/ACPI: rework power-off code to work with old Linux kernels (2.6.12.x)
* SMI: Add support for mainboard GPI handler
* SMI: immediate power-off on power button press, if OSPM is not active
* Add fix for some USB errata
* Some register tweaks for mobile systems
* Enable configure SCI on interrupt 9 correctly.

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

14 years agoSupport a few more i945 variants. With this framework in place it should
Stefan Reinauer [Sun, 17 Jan 2010 13:47:35 +0000 (13:47 +0000)]
Support a few more i945 variants. With this framework in place it should
be possible to support i955 and i975 relatively easy, too.

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