coreboot.git
14 years agoA keyboard controller fix to stop the code from waiting for a code that never
Marc Jones [Tue, 29 Sep 2009 19:12:23 +0000 (19:12 +0000)]
A keyboard controller fix to stop the code from waiting for a code that never
comes.  Boot tested on SimNOW (fixes the hang there), and Tyan s2895.

Signed-off-by: Marc Jones <marcj303@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4689 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix a number of board names in Kconfig (trivial).
Uwe Hermann [Tue, 29 Sep 2009 18:15:06 +0000 (18:15 +0000)]
Fix a number of board names in Kconfig (trivial).

Also, simplify the M2V-MX SE Kconfig file a bit while I'm at it.

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

14 years agoRemove MAINBOARD_OPTIONS, which is a relic from early
Patrick Georgi [Tue, 29 Sep 2009 17:28:13 +0000 (17:28 +0000)]
Remove MAINBOARD_OPTIONS, which is a relic from early
kconfig development.

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

14 years agoRemove some warnings.
Myles Watson [Tue, 29 Sep 2009 14:56:15 +0000 (14:56 +0000)]
Remove some warnings.

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

14 years agoMore consistent use of "default n" and "select XYZ" in
Patrick Georgi [Tue, 29 Sep 2009 14:38:10 +0000 (14:38 +0000)]
More consistent use of "default n" and "select XYZ" in
Kconfig files

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

14 years agoMake the error messages somewhat less incomprehensible. I forget
Ronald G. Minnich [Tue, 29 Sep 2009 13:34:56 +0000 (13:34 +0000)]
Make the error messages somewhat less incomprehensible. I forget
what they mean every time I see them.

Add a proto. More work remains to be done.

Build tested on dell s1850.

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

14 years agoTrivial config fix for Serengeti Cheetah. Change a type and a default.
Myles Watson [Mon, 28 Sep 2009 22:36:40 +0000 (22:36 +0000)]
Trivial config fix for Serengeti Cheetah.  Change a type and a default.

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

14 years agoTrivial config fix for Serengeti Cheetah. Remove duplication, add a default.
Myles Watson [Mon, 28 Sep 2009 21:51:39 +0000 (21:51 +0000)]
Trivial config fix for Serengeti Cheetah.  Remove duplication, add a default.

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

14 years agoThis adds a simple script to build a default toolchain for coreboot
Stefan Reinauer [Sat, 26 Sep 2009 16:43:17 +0000 (16:43 +0000)]
This adds a simple script to build a default toolchain for coreboot
compilation, to be independent of broken or missing OS/distribution
tool chains.

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

14 years agoThis patch changes following in getpir application.
Mohamed Mansoor [Sat, 26 Sep 2009 16:18:22 +0000 (16:18 +0000)]
This patch changes following in getpir application.

1 - Moved the check sum validation to probe_table function.
2 - Proper handling of resources allocated.
3 - Signature check is done in 16 byte boundaries.
4 - irq_tables.c file is created only if a valid PIRQ table is found.
5 – Makefile and README file are modified accordingly.

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

14 years ago* drop libgcc from coreboot_apc.o, not needed.
Stefan Reinauer [Sat, 26 Sep 2009 15:52:05 +0000 (15:52 +0000)]
* drop libgcc from coreboot_apc.o, not needed.
* wrap libgcc calls into regparm(0) variants so that coreboot can be compiled
  with other regparm values

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

14 years agocheck for ELF payloads in cbfstool
Cristi Magherusan [Fri, 25 Sep 2009 22:21:47 +0000 (22:21 +0000)]
check for ELF payloads in cbfstool

Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4678 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop some dead code, clarify small comments and small cleanups to malloc.c
Stefan Reinauer [Fri, 25 Sep 2009 21:59:57 +0000 (21:59 +0000)]
drop some dead code, clarify small comments and small cleanups to malloc.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@4677 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoimprove lzma error messages. When coreboot panics because lzma decompression
Stefan Reinauer [Fri, 25 Sep 2009 21:57:25 +0000 (21:57 +0000)]
improve lzma error messages. When coreboot panics because lzma decompression
goes wrong, it might not be clear that it's lzma that failed, if the log level
is low enough..

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

14 years agoTrivial fixups to get this board further along.
Ronald G. Minnich [Fri, 25 Sep 2009 19:53:59 +0000 (19:53 +0000)]
Trivial fixups to get this board further along.

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

14 years agoFix build of romcc boards.
Myles Watson [Fri, 25 Sep 2009 19:09:23 +0000 (19:09 +0000)]
Fix build of romcc boards.

Invalid option specified: -mcpu=-mcpu=p2
romcc 0.71 released 03 April 2009

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

14 years agosome progress on kconfig:
Patrick Georgi [Fri, 25 Sep 2009 18:43:02 +0000 (18:43 +0000)]
some progress on kconfig:
- northbridges are done
- southbridges are done
- Intel CPUs are done, with a design that the board only has to specify
  the socket it has, and the CPUs are pulled in automatically. There is
  some more cleanup possible in that area, but I'll do that later
- a couple more mainboards compile:
  - intel/eagleheights
  - intel/jarrell
  - intel/mtarvon
  - intel/truxton
  - intel/xe7501devkit
  - sunw/ultra40
  - supermicro/h8dme
  - tyan/s2850
  - tyan/s2875
  - via/epia
  - via/epia-cn
  - via/epia-m
  - via/epia-m700
  - via/epia-n
  - via/pc2500e
(PPC not considered, probably overlooked something)

All of them only _build_, but some options are probably completely
wrong. To be fixed later

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

14 years agoRename CONFIG_SERIAL_CONSOLE to match newconfig.
Myles Watson [Fri, 25 Sep 2009 17:24:08 +0000 (17:24 +0000)]
Rename CONFIG_SERIAL_CONSOLE to match newconfig.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4672 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMake build_opt_tbl depend on config.h since it uses it. This fixes:
Myles Watson [Thu, 24 Sep 2009 16:56:08 +0000 (16:56 +0000)]
Make build_opt_tbl depend on config.h since it uses it.  This fixes:

    GEN        build/build.h
    OPTION     option_table.h
Error - Range end (122) does not match define (125) in line
checksum 392 983 984

This happens when you switch from one board to another with incompatible CMOS
defines.  'make clean' didn't help.

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

14 years agoRemove HyperTransport support from boards that don't need it.
Myles Watson [Thu, 24 Sep 2009 15:09:11 +0000 (15:09 +0000)]
Remove HyperTransport support from boards that don't need it.

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

14 years agoRe-enable option table for the ASUS MEW-VM and fix build.
Uwe Hermann [Thu, 24 Sep 2009 14:05:19 +0000 (14:05 +0000)]
Re-enable option table for the ASUS MEW-VM and fix build.

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

14 years agoAdd detection support for the SMSC FDC37M602.
Uwe Hermann [Thu, 24 Sep 2009 12:17:07 +0000 (12:17 +0000)]
Add detection support for the SMSC FDC37M602.

The ID was found on a Biostar M6TLD board (not mentioned in the
FDC37M60x datasheet, though).

Thanks Maciej Pijanka <maciej.pijanka@gmail.com> for the report.

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

14 years agoTrivial fix for kbuildall: initialize "i", not CURRENTARGET [sic]
Patrick Georgi [Thu, 24 Sep 2009 09:28:41 +0000 (09:28 +0000)]
Trivial fix for kbuildall: initialize "i", not CURRENTARGET [sic]
that isn't used anywhere.

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

14 years agoMake all Kconfig enabled boards build (tested with kbuildall).
Patrick Georgi [Thu, 24 Sep 2009 09:03:06 +0000 (09:03 +0000)]
Make all Kconfig enabled boards build (tested with kbuildall).
Also enable building individual boards with kbuildall for
debugging.

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

14 years agofix some wrong occurences of the FSF's address (trivial)
Stefan Reinauer [Wed, 23 Sep 2009 21:53:25 +0000 (21:53 +0000)]
fix some wrong occurences of the FSF's address (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@4665 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofix some wrong versions of the FSF's address (trivial)
Stefan Reinauer [Wed, 23 Sep 2009 21:52:45 +0000 (21:52 +0000)]
fix some wrong versions of the FSF's address (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@4664 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix the bounce_size global so that the bounce buffer works with CBFS.
Myles Watson [Wed, 23 Sep 2009 20:32:21 +0000 (20:32 +0000)]
Fix the bounce_size global so that the bounce buffer works with CBFS.

Make self_boot() static.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4663 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoLooks like this should have become cpu init code after growing up. The
Stefan Reinauer [Wed, 23 Sep 2009 18:54:18 +0000 (18:54 +0000)]
Looks like this should have become cpu init code after growing up. The
remaining questions are:

- Why was it never used?
- Why is it in /src and not in /src/cpu/ppc?

Given this is dead code and part of an unmaintained powerpc port, I consider
removing it trivial. (The code really does not do much)

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

14 years agosimplify source tree hierarchy: move files from sdram/ and ram/ to lib/
Stefan Reinauer [Wed, 23 Sep 2009 18:51:03 +0000 (18:51 +0000)]
simplify source tree hierarchy: move files from sdram/ and ram/ to lib/
It's only three files. Also fix up all the paths (Gotta love included C files)

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

14 years agoAdd Kconfig support for Tyan s2881.
Myles Watson [Wed, 23 Sep 2009 17:59:56 +0000 (17:59 +0000)]
Add Kconfig support for Tyan s2881.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4660 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSeparate payload compression from stage compression.
Myles Watson [Wed, 23 Sep 2009 17:48:28 +0000 (17:48 +0000)]
Separate payload compression from stage compression.

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

14 years agoFix compilation for serengeti when HAVE_ACPI_TABLES is set. Trivial.
Myles Watson [Tue, 22 Sep 2009 22:08:47 +0000 (22:08 +0000)]
Fix compilation for serengeti when HAVE_ACPI_TABLES is set.  Trivial.

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

14 years agosrc/Kconfig: Remove HT-specific options.
Myles Watson [Tue, 22 Sep 2009 21:29:32 +0000 (21:29 +0000)]
src/Kconfig: Remove HT-specific options.
src/cpu/amd/socket_F/Kconfig: Remove second occurrence of CPU_SOCKET_TYPE.
src/mainboard/amd/serengeti_cheetah/Kconfig: Add HT_CHAIN_UNITID_BASE here, since it is board specific.
src/mainboard/tyan/s289X/Kconfig: Fix typo and change APIC_ID_OFFSET to match old config.
src/devices/Kconfig: Change default value of *_PLUGIN_SUPPORT to match old config.
src/southbridge/amd/amd8131/Makefile.inc: Remove check since it was a typo, and the correct variable is checked in the parent directory.
src/Makefile:Use devicetree.cb instead of Config.lb to generate static.c.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4657 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofailoverR.diff: Revert my failover change since Kconfig only supports fallback.
Myles Watson [Tue, 22 Sep 2009 18:53:50 +0000 (18:53 +0000)]
failoverR.diff: Revert my failover change since Kconfig only supports fallback.
kconfig_s2892.dif: Add support for Tyan s2891, s2892, and s2895 to Kconfig.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4656 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agotables.diff: Add Kconfig dialogues for ACPI, MP_TABLE, ...
Myles Watson [Tue, 22 Sep 2009 18:49:08 +0000 (18:49 +0000)]
tables.diff: Add Kconfig dialogues for ACPI, MP_TABLE, ...
Kconfig_bools.diff: Change some more ints to bools, change some default values.
xip_size.diff: Make XIP_SIZE + XIP_BASE add up to 4GB.
smp.diff: set CONFIG_SMP based on MAX_CPUS.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4655 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThis separates the code for each command in cbfstool. For the good and for the
Stefan Reinauer [Tue, 22 Sep 2009 15:58:19 +0000 (15:58 +0000)]
This separates the code for each command in cbfstool. For the good and for the
bad: It brings a certain amount of code duplication (some of which can be
cleaned up again, or get rid of by proper refactoring).
On the other hand now there's a very simple code flow for each command, rather
than for each operation. ie.

adding a file to a cbfs means:
 - open the cbfs
 - add the file
 - close the cbfs

rather than

open the cbfs:
 - do this for add, remove, but not for create

create a new lar
 - if we don't have an open one yet

add a file:
 - if we didn't bail out before

close the file:
 - if we didn't bail out before

The short term benefit is that this fixes a problem where cbfstool was trying
to add a file if you gave a non-existing command because it bailed out on
known, not on unknown commands.

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

14 years ago* guard all mallocs in cbfstool
Stefan Reinauer [Tue, 22 Sep 2009 15:55:01 +0000 (15:55 +0000)]
* guard all mallocs in cbfstool
* fix an issue that could lead to cbfstool writing outside of its allocated
  memory

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

14 years ago.. make abuild Kconfig proof for the time being.
Stefan Reinauer [Tue, 22 Sep 2009 15:53:54 +0000 (15:53 +0000)]
.. make abuild Kconfig proof for the time being.

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

14 years agoback out some overzealous renames
Stefan Reinauer [Tue, 22 Sep 2009 15:53:02 +0000 (15:53 +0000)]
back out some overzealous renames

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

14 years agoKill dead comment.
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 12:31:57 +0000 (12:31 +0000)]
Kill dead comment.

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

14 years agoHelp text for maximum and default console loglevel in Kconfig.
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 12:22:35 +0000 (12:22 +0000)]
Help text for maximum and default console loglevel in Kconfig.

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

14 years agor4534 introduced devicetree.cb in every mainboard directory, but didn't
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 10:03:15 +0000 (10:03 +0000)]
r4534 introduced devicetree.cb in every mainboard directory, but didn't
copy any comment lines before the start of the device tree.
Fix up amd/pistachio and technexion/tim8960.

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

14 years agor4646 enabled early usage of pci_{read,write}_config{8,16,32}
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 09:43:25 +0000 (09:43 +0000)]
r4646 enabled early usage of pci_{read,write}_config{8,16,32}

This allows us to change
dword = pci_cf8_conf1.read32(&pbus, sm_dev->bus->secondary,
        sm_dev->path.pci.devfn, 0x64);

to the much more readable
dword = pci_read_config32(sm_dev, 0x64);

Clean up all PCI operations in mainboards based on AMD 690:
amd/pistachio
amd/dbm690t
technexion/tim8690

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

14 years agoIf no pci access method has been set for the device tree so far (e.g.
Carl-Daniel Hailfinger [Tue, 22 Sep 2009 00:09:41 +0000 (00:09 +0000)]
If no pci access method has been set for the device tree so far (e.g.
during early coreboot_ram), pci_{read,write}_config{8,16,32} will die().
This patch changes pci_{read,write}_config{8,16,32} to use the existing
PCI access method autodetection infrastructure instead of die()ing.

Until r4340, any usage of pci_{read,write}_config{8,16,32} in
coreboot_ram before the device tree was set up resulted in either a
silent hang or a NULL pointer dereference. I changed the code in r4340
to die() properly with a loud error message. That still was not perfect,
but at least it allowed people to see why their new ports died.
Still, die() is not something developers like to see, and thus a patch
to automatically pick a sensible default instead of dying was created.
Of course, handling PCI access method selection automatically for
fallback purposes has certain limitations before the device tree is set
up. We only check if conf1 works and use conf2 as fallback. No further
tests are done.

This patch enables cleanups and readability improvements in early
coreboot_ram code:
Without this patch:
dword = pci_cf8_conf1.read32(&pbus, sm_dev->bus->secondary,
        sm_dev->path.pci.devfn, 0x64);
With this patch:
dword = pci_read_config32(sm_dev, 0x64);

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

14 years agoI forgot to add CONFIG_VGA_BRIDGE_SETUP to the old build system.
Myles Watson [Thu, 17 Sep 2009 18:30:23 +0000 (18:30 +0000)]
I forgot to add CONFIG_VGA_BRIDGE_SETUP to the old build system.

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

14 years agoRemove warnings from Kconfig. Trivial.
Myles Watson [Thu, 17 Sep 2009 16:59:07 +0000 (16:59 +0000)]
Remove warnings from Kconfig.  Trivial.

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

14 years agoSeparate CONFIG_VGA_CONSOLE from CONFIG_VGA_BRIDGE_SETUP.
Myles Watson [Thu, 17 Sep 2009 16:54:46 +0000 (16:54 +0000)]
Separate CONFIG_VGA_CONSOLE from CONFIG_VGA_BRIDGE_SETUP.

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

14 years agoMove VGA BIOS settings from the payload menu into it's own menu
Peter Stuge [Thu, 17 Sep 2009 16:21:31 +0000 (16:21 +0000)]
Move VGA BIOS settings from the payload menu into it's own menu

Remove dependency on PAYLOAD_ELF so that config items are shown.
Build tested. With this, coreboot.rom has a VGA BIOS optionrom added.

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

14 years agoThere was a missing addition of the size of the .notes.pinfo
Ronald G. Minnich [Thu, 17 Sep 2009 15:35:08 +0000 (15:35 +0000)]
There was a missing addition of the size of the .notes.pinfo
section header which could lead to corrupted malloc arena.

Also, make cbfstool always build with debugging on. Performance
is not an issue here. Don't strip it either.

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

14 years agoThis is a patch for killing IPMI on the s1850 -- or at least geting the BMC
Ronald G. Minnich [Thu, 17 Sep 2009 00:28:29 +0000 (00:28 +0000)]
This is a patch for killing IPMI on the s1850 -- or at least geting the BMC
out of the way of the serial port. Tested extensively in user mode.
Works and gets the BMC out of my way, which is good, because there
are few more useless things than IPMI and the BMC.
The BMC, all by itself, is the cause of most of our problems in booting
and talking to these nodes.

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

14 years agocopyright name error.
Ronald G. Minnich [Thu, 17 Sep 2009 00:24:52 +0000 (00:24 +0000)]
copyright name error.
I don't know what else to do for files generated by programs ...
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4639 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agokbuildall is a utility that generates default configs for all
Patrick Georgi [Wed, 16 Sep 2009 20:18:03 +0000 (20:18 +0000)]
kbuildall is a utility that generates default configs for all
boards, builds them, and keeps the config and build logs around and
creates a roster of all boards and their build status.

abuild does this for the newconfig based buildsystem, kbuildall does
this for kconfig/kbuild.

It's supposed to be put in the tree as util/kbuildall/kbuildall, and
called like that (ie. from the top level directory).

The results can be found in kbuildall.results/ in the toplevel
directory, the roster is called _overview.txt ("_" to make sure it's
sorted before or after all the board files)

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

14 years agoBuild cbfstool with debug flags and don't strip the executable
Patrick Georgi [Wed, 16 Sep 2009 08:19:07 +0000 (08:19 +0000)]
Build cbfstool with debug flags and don't strip the executable
from any symbol information.

Variant of Ron's patch.

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

14 years agoThis is an otherwise dead platform. I'm just committing the basics that
Ronald G. Minnich [Tue, 15 Sep 2009 23:38:27 +0000 (23:38 +0000)]
This is an otherwise dead platform. I'm just committing the basics that
let it build.

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

14 years agoDon't mix int and boolean for kconfig variables. It might work, it might not.
Patrick Georgi [Tue, 15 Sep 2009 20:40:31 +0000 (20:40 +0000)]
Don't mix int and boolean for kconfig variables. It might work, it might not.
trivial change.

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

14 years agoMore error checking when trying to open files in
Patrick Georgi [Tue, 15 Sep 2009 08:21:46 +0000 (08:21 +0000)]
More error checking when trying to open files in
cbfstool. (trivial)

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

14 years agoUse the coreboot pci config read/write functions instead of direct cf8/cfc
Marc Jones [Mon, 14 Sep 2009 17:00:04 +0000 (17:00 +0000)]
Use the coreboot pci config read/write functions instead of direct cf8/cfc
access. The fam10 pci functions will use mmio and do not have SMP pci access
issues.

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

14 years agoIn the mainboard selection, the selected mainboard is printed twice in
Patrick Georgi [Mon, 14 Sep 2009 14:15:43 +0000 (14:15 +0000)]
In the mainboard selection, the selected mainboard is printed twice in
certain cases, this patch eliminates the second mention.

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

14 years agoBuild cbfstool with native data size. Trivial change.
Patrick Georgi [Mon, 14 Sep 2009 14:13:13 +0000 (14:13 +0000)]
Build cbfstool with native data size. Trivial change.

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

14 years agoNew cbfstool. Works without mmap or fork/exec and
Patrick Georgi [Mon, 14 Sep 2009 13:29:27 +0000 (13:29 +0000)]
New cbfstool. Works without mmap or fork/exec and
supports fixed location files. Some parts are salvaged
from the pre-commit version (esp. stage and payload creation),
others are completely rewritten (eg. the main loop that handles
file addition)

Also adapt newconfig (we don't need cbfs/tools anymore) and fix
some minor issues in the cbfstool-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@4630 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofix compilation issues for pirq checker tool (trivial)
Stefan Reinauer [Thu, 10 Sep 2009 11:21:48 +0000 (11:21 +0000)]
fix compilation issues for pirq checker tool (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@4629 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix clean rules for the tex files.
Uwe Hermann [Fri, 4 Sep 2009 19:34:43 +0000 (19:34 +0000)]
Fix clean rules for the tex 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@4628 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix various build issues and errors in LinuxBIOS-AMD64.tex.
Uwe Hermann [Fri, 4 Sep 2009 19:25:51 +0000 (19:25 +0000)]
Fix various build issues and errors in LinuxBIOS-AMD64.tex.

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

14 years agoUse driver-y instead of obj-y for model_6xx_init.o.
Uwe Hermann [Fri, 4 Sep 2009 16:30:31 +0000 (16:30 +0000)]
Use driver-y instead of obj-y for model_6xx_init.o.

Otherwise booting (but not building) fails:

  Initializing CPU #0
  CPU: vendor Intel device 665
  CPU: family 06, model 06, stepping 05
  Unknown cpu

This patch was tested to fix the issue on MSI MS-6178.

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

14 years agoAs more users of Asus M2V-MX SE emerged. Here is long pending patch I wanted to
Rudolf Marek [Tue, 1 Sep 2009 15:29:12 +0000 (15:29 +0000)]
As more users of Asus M2V-MX SE emerged. Here is long pending patch I wanted to
write. It boots the SB/NB V-link performance to full duplex 533MB/s. (in fact x2
for FDX)

The default was 266MB/s but half duplex only. If you encourage any stability
issues we need to look into fine tuning the bus. The values are VIA recommended.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4625 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoport msrtool to darwin.
Stefan Reinauer [Tue, 1 Sep 2009 10:03:01 +0000 (10:03 +0000)]
port msrtool to darwin.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
with minor changes to allow 32bit and 64bit compilation and (I hope), Peter's
concerns addressed.

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

14 years ago* Add OSX/Darwin support
Stefan Reinauer [Tue, 1 Sep 2009 09:57:55 +0000 (09:57 +0000)]
* Add OSX/Darwin support
* Add DESTDIR support

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

14 years agonvramtool:
Stefan Reinauer [Tue, 1 Sep 2009 09:54:21 +0000 (09:54 +0000)]
nvramtool:

* Add OSX/Darwin support
* Add $DESTDIR support
* Clean up make install/spec

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

14 years agoClean up Mac OS X support of inteltool
Stefan Reinauer [Tue, 1 Sep 2009 09:52:14 +0000 (09:52 +0000)]
Clean up Mac OS X support of inteltool

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
Some minor modifications to allow 64bit/32bit compilation on Darwin

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

14 years agoadd i810 and ich0
Stefan Reinauer [Sat, 29 Aug 2009 15:45:43 +0000 (15:45 +0000)]
add i810 and ich0

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

14 years agoFile I missed committing.
Ronald G. Minnich [Sat, 29 Aug 2009 03:00:51 +0000 (03:00 +0000)]
File I missed committing.

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

14 years agoThis is the final set of changes to allow rumba to build. Rumba is not
Ronald G. Minnich [Sat, 29 Aug 2009 02:59:35 +0000 (02:59 +0000)]
This is the final set of changes to allow rumba to build. Rumba is not
tested. I also addressed questions raised by Uwe:
TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
UDELAY_TSC

Are now defined as booleans in src/cpu/x86/Kconfig and can be selected in
the mainboard Kconfig. The remaining question of Uwe's is a deeper
problem:

---
We'll have to check if this works. From a quick glance
the Rumba does not have the mmx related lines (which _are_ in
Makefile.romccboard.inc, though):

crt0-y += ../../../../src/cpu/x86/fpu/enable_fpu.inc
crt0-y += ../../../../src/cpu/x86/mmx/enable_mmx.inc
crt0-y += auto.inc
crt0-y += ../../../../src/cpu/x86/mmx/disable_mmx.inc
---

We're going to need a whole variant of this standard mainboard OR
we're going to have to make (some) of the unconditional includes above
conditional.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4618 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSet the mainboard/amd directory up to support more than one.
Ronald G. Minnich [Sat, 29 Aug 2009 02:47:57 +0000 (02:47 +0000)]
Set the mainboard/amd directory up to support more than one.

remove Config variables now defined elsewhere.
add rumba Kconfig and Makefile.inc

rumba won't build until my earlier patches are acked.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4617 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFixes per Uwe's comments.
Ronald G. Minnich [Sat, 29 Aug 2009 02:44:08 +0000 (02:44 +0000)]
Fixes per Uwe's comments.

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

14 years agoThis patch adds VGA and PS/2 Keyboard/mouse support to the already existing intel...
Arnaud Maye [Fri, 28 Aug 2009 20:42:21 +0000 (20:42 +0000)]
This patch adds VGA and PS/2 Keyboard/mouse support to the already existing intel truxton (ep80579) dev board.
This patch tries to improve the pcie portA configuration.
The Matrox G550e PCIe gfx card shipped along with the dev board is supported.

Signed-off-by: Arnaud Maye <arnaud.maye@4dsp.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4615 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agor4534 introduced devicetree.cb in every mainboard directory, but didn't
Carl-Daniel Hailfinger [Fri, 28 Aug 2009 19:00:59 +0000 (19:00 +0000)]
r4534 introduced devicetree.cb in every mainboard directory, but didn't
copy any comment lines before the start of the device tree.
Copy over the comments for amd/dbm690t.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
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@4614 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd kconfig support for all Intel 82810 (i810) boards.
Uwe Hermann [Fri, 28 Aug 2009 16:38:42 +0000 (16:38 +0000)]
Add kconfig support for all Intel 82810 (i810) boards.

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

14 years agokconfig: Board name variable fixes and updates (trivial).
Uwe Hermann [Fri, 28 Aug 2009 15:22:31 +0000 (15:22 +0000)]
kconfig: Board name variable fixes and updates (trivial).

 - Use alphabetical order.
 - Drop non-exisiting vendors.
 - Add missing vendors (Mitac, Soyo, Technologic, TeleVideo).

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

14 years agoThis is the beginning of support for Geode and Kconfig in v2.
Ronald G. Minnich [Fri, 28 Aug 2009 14:46:59 +0000 (14:46 +0000)]
This is the beginning of support for Geode and Kconfig in v2.

It also brings in the vsm from v3, which was a much cleaner cut.

Over time, I hope to bring all the code back from v3. I have
some rumbas at home and want to use them.

I have a patch which comes in next that makes the rumba build.

Note that I am holding the src/*/amd/Kconfig patch until these get merged.
These have no impact on the current system.

Note that this is not complete but I want to fill in the blanks bit
by bit.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4611 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMove DCACHE support into the cpu family for AMD model_fxx.
Myles Watson [Fri, 28 Aug 2009 14:40:04 +0000 (14:40 +0000)]
Move DCACHE support into the cpu family for AMD model_fxx.

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

14 years agoAdd Kconfig support for PCI option ROMS.
Myles Watson [Fri, 28 Aug 2009 14:36:12 +0000 (14:36 +0000)]
Add Kconfig support for PCI option ROMS.

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

14 years agoMove some config variables that are in one or two mainboards to
Ronald G. Minnich [Fri, 28 Aug 2009 14:23:38 +0000 (14:23 +0000)]
Move some config variables that are in one or two mainboards to
more rational places. The goal is to reduce the number of Config
variables defined in mainboard Kconfig files to the absolute minimum.

This has the side effect of making SERIAL_POST a menu item, which is nice.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4608 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSilence unneeded #warnings, change to code comments (trіvial).
Uwe Hermann [Fri, 28 Aug 2009 13:42:24 +0000 (13:42 +0000)]
Silence unneeded #warnings, change to code comments (trіvial).

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

14 years agoThe resource allocator complained about 0-sized fixed
Patrick Georgi [Fri, 28 Aug 2009 12:48:02 +0000 (12:48 +0000)]
The resource allocator complained about 0-sized fixed
resources before actually validating if the resource is
a fixed one.

No harm done, except some confusion of the user (in this case: me).

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.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@4606 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix broken compilation. As CBFS is now enabled by default,
Arnaud Maye [Fri, 28 Aug 2009 10:17:03 +0000 (10:17 +0000)]
Fix broken compilation. As CBFS is now enabled by default,
CONFIG_FALLBACK_SIZE should be equal to CONFIG_ROM_IMAGE_SIZE and not
CONFIG_ROM_SIZE

Signed-off-by: Arnaud Maye <arnaud.maye@4dsp.com>
Acked-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4605 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoCorrect typos /SMCSC/SMSC/ in Kconfig.
Myles Watson [Thu, 27 Aug 2009 22:41:56 +0000 (22:41 +0000)]
Correct typos /SMCSC/SMSC/ in Kconfig.

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

14 years agoFor Carl-Daniel: make x86emu silent again.
Stefan Reinauer [Thu, 27 Aug 2009 22:36:13 +0000 (22:36 +0000)]
For Carl-Daniel: make x86emu silent again.

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

14 years agoAdded support for the AMD S1G1 socket in kconfig
Cristi Magherusan [Thu, 27 Aug 2009 22:19:23 +0000 (22:19 +0000)]
Added support for the AMD S1G1 socket in kconfig

Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4602 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdded support for the AMD RS690 and SB600 southbridges in Kconfig
Cristi Măgherușan [Thu, 27 Aug 2009 21:39:20 +0000 (21:39 +0000)]
Added support for the AMD RS690 and SB600 southbridges in Kconfig

Signed-off-by: Cristi Măgherușan <cristi.magherusan@net.utcluj.ro>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4601 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoChange some more image names to "fallback" (not "image").
Uwe Hermann [Thu, 27 Aug 2009 14:22:56 +0000 (14:22 +0000)]
Change some more image names to "fallback" (not "image").

Also, if there's only one image, it should be named "fallback", not "normal".

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

14 years agoRevert test for pre-commit hook functionality. Commits are now checked for proper
Patrick Georgi [Thu, 27 Aug 2009 13:14:09 +0000 (13:14 +0000)]
Revert test for pre-commit hook functionality. Commits are now checked for proper
sign off again. This is trivial, of course.

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

14 years agotest
Patrick Georgi [Thu, 27 Aug 2009 13:07:40 +0000 (13:07 +0000)]
test

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

14 years agoAnother trivial patch to fix up the x86emu cleanup.
Patrick Georgi [Thu, 27 Aug 2009 13:02:28 +0000 (13:02 +0000)]
Another trivial patch to fix up the x86emu cleanup.

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

14 years agoClean up some DCACHE related options.
Patrick Georgi [Thu, 27 Aug 2009 12:10:50 +0000 (12:10 +0000)]
Clean up some DCACHE related options.
In amd/serengeti_cheetah there were duplicates, and USE_DCACHE_RAM is a
boolean value, so make it so.

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

14 years agoClean up the kontron Kconfig
Patrick Georgi [Thu, 27 Aug 2009 12:10:05 +0000 (12:10 +0000)]
Clean up the kontron Kconfig

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

14 years agocoreboot was still using an old set (obsolete since yabel) of x86emu includes
Stefan Reinauer [Thu, 27 Aug 2009 11:34:09 +0000 (11:34 +0000)]
coreboot was still using an old set (obsolete since yabel) of x86emu includes
instead of the versions in util/x86emu. Clean up this mess.

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

14 years agoMake all those locally used functions static instead of exporting them. (triv)
Stefan Reinauer [Thu, 27 Aug 2009 11:23:06 +0000 (11:23 +0000)]
Make all those locally used functions static instead of exporting them. (triv)

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

14 years agoRename "image" image to "fallback", so CBFS can find it.
Patrick Georgi [Thu, 27 Aug 2009 07:42:45 +0000 (07:42 +0000)]
Rename "image" image to "fallback", so CBFS can find it.
Thanks to Carl-Daniel for finding this.

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

14 years agoThe new resource allocator helped me find a bug in SB600 diagnostics.
Carl-Daniel Hailfinger [Thu, 27 Aug 2009 04:30:47 +0000 (04:30 +0000)]
The new resource allocator helped me find a bug in SB600 diagnostics.
The SB600 SATA code printed that two BARs had the same address because
it didn't mask the correct number of bits in the BAR.
Functionality was not affected, but the debug output was incorrect.

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

14 years agoamd/pistachio: fallback image must be called fallback.
Carl-Daniel Hailfinger [Thu, 27 Aug 2009 02:47:35 +0000 (02:47 +0000)]
amd/pistachio: fallback image must be called fallback.

Thanks to Stefan for providing the original fix for amd/dbm690t

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