coreboot.git
14 years agoFollowing patch reworks car_disable into C. Tested, works here. I compared
Rudolf Marek [Sun, 16 May 2010 21:51:34 +0000 (21:51 +0000)]
Following patch reworks car_disable into C. Tested, works here. I compared
also the GCC generated code and it looks all right. Please test on some
multicore CPU.

I added the "memory" clobber to read_cr0 / write_cr0 function as it is in Linux
Kernel. Seems that if this is missing, GCC is too smart and messes the order
of reads/writes to CR0 (not tested if really a problem here, but be safe for
future users of this function  ;)

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

14 years agoPart of 5560 Dunno why I need extra delete after move.
Rudolf Marek [Sun, 16 May 2010 15:34:02 +0000 (15:34 +0000)]
Part of 5560 Dunno why I need extra delete after move.

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

14 years agoFollowing patch reprograms SIL3114 into PCI IDE native mode compatible class code...
Rudolf Marek [Sun, 16 May 2010 15:31:53 +0000 (15:31 +0000)]
Following patch reprograms SIL3114 into PCI IDE native mode compatible class code allowing
legacy software to recognize it as IDE and boot from it. I think
this should be the default for two Tyan boards (k8s aka s2882 and s2881).

Rename the directory to sil prefix to match the Linux kernel naming.
(And I think it was a SiliconSystems wish to be named sil ;)

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

14 years agoAdd support for the Getac P470
Stefan Reinauer [Sun, 16 May 2010 14:24:41 +0000 (14:24 +0000)]
Add support for the Getac P470

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

14 years agov2 -> v4
Stefan Reinauer [Sun, 16 May 2010 14:22:43 +0000 (14:22 +0000)]
v2 -> v4

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

14 years agoAdd two new superios to coreboot:
Stefan Reinauer [Sun, 16 May 2010 14:08:32 +0000 (14:08 +0000)]
Add two new superios to coreboot:

- SMSC FDC37n972
- SMSC SIO10N268

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

14 years agoAdd TI PCI 7412 support.
Stefan Reinauer [Sun, 16 May 2010 13:07:59 +0000 (13:07 +0000)]
Add TI PCI 7412 support.

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

14 years agoITE IT8671F: Add it8671f_48mhz_clkin().
Anders Jenbo [Fri, 14 May 2010 21:29:08 +0000 (21:29 +0000)]
ITE IT8671F: Add it8671f_48mhz_clkin().

This fixes serial console on GIGABYTE GA-6BXE.

Signed-off-by: Anders Jenbo <anders@jenbo.dk>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5555 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd initial support for the GIGABYTE GA-6BXE.
Anders Jenbo [Fri, 14 May 2010 19:50:11 +0000 (19:50 +0000)]
Add initial support for the GIGABYTE GA-6BXE.

Signed-off-by: Anders Jenbo <anders@jenbo.dk>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5554 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoclean up some prototypes
Stefan Reinauer [Fri, 14 May 2010 19:11:44 +0000 (19:11 +0000)]
clean up some prototypes

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

14 years agoi945:
Stefan Reinauer [Fri, 14 May 2010 19:09:20 +0000 (19:09 +0000)]
i945:
* fix some potential compiler issues with newer gccs
* add some more comments
* make 32bit accesses for feature test functions
* make some objects drivers because they contain a pci_driver struct.

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

14 years agomore acpica fixes... The tricky part is the stuff in the AMD mainboard directories.
Stefan Reinauer [Fri, 14 May 2010 17:15:57 +0000 (17:15 +0000)]
more acpica fixes... The tricky part is the stuff in the AMD mainboard directories.

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

14 years agoFix i945 ACPI for ASL Optimizing Compiler version 20100428.
Stefan Reinauer [Fri, 14 May 2010 16:44:45 +0000 (16:44 +0000)]
Fix i945 ACPI for ASL Optimizing Compiler version 20100428.
The values are overwritten on the fly but without the patch iasl will refuse to
compile the code.

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

14 years agoVarious superiotool fixes.
Uwe Hermann [Fri, 14 May 2010 16:40:55 +0000 (16:40 +0000)]
Various superiotool fixes.

  - IT8671F/IT8687R:

    - Fix typo: Parallel port register 0x60 value is 0x03 (not 0x01).

    - Fix typo: APC register 0xf6 is 0x00.

    - Drop register 0x07 (LDN 0 / none), that's not useful and not listed in
      any of the other Super I/Os either, it always contains the LDN number
      selected "last time", which is useless.

    - Fix indentation and other cosmetics.

  - Cosmetics, and consistency fixes in LDN names of various Super I/Os.

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

14 years agoRemove another set of includes from Fam10 romstages:
Patrick Georgi [Fri, 14 May 2010 11:02:56 +0000 (11:02 +0000)]
Remove another set of includes from Fam10 romstages:

northbridge/amd/amdht/ht_wrapper.c
northbridge/amd/amdfam10/raminit_amdmct.c
cpu/amd/model_10xxx/fidvid.c
pc80/mc146818rtc_early.c

They are now included by the fam10 chipset code that requires them.

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

14 years agofix SeaBIOS loading on GX2.
Nils Jacobs [Fri, 14 May 2010 09:59:59 +0000 (09:59 +0000)]
fix SeaBIOS loading on GX2.

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

14 years agoFix warning. Hardware tested and didn't change behavior.
Stefan Reinauer [Fri, 14 May 2010 09:56:46 +0000 (09:56 +0000)]
Fix warning. Hardware tested and didn't change behavior.

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

14 years agolicense header fixes
Nils Jacobs [Fri, 14 May 2010 09:48:05 +0000 (09:48 +0000)]
license header fixes

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

14 years agoThis patch cleanes up the Wyse S50 port and unifies the memmory regions
Nils Jacobs [Fri, 14 May 2010 09:45:29 +0000 (09:45 +0000)]
This patch cleanes up the Wyse S50 port and unifies the memmory regions
with Geode LX , adds gpl2 headers plus some white space fixes.

This is build and boot tested.(of course vsa loading is stil not fixed,it now
runs forever with :"Oops, exception 13 while executing option
rom")

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

14 years agoChange real mode API to allow passing intXX number or entry point and
Stefan Reinauer [Tue, 11 May 2010 15:39:20 +0000 (15:39 +0000)]
Change real mode API to allow passing intXX number or entry point and
some register values from C.

This theoretically fixes non-vga option roms, but it also allows to use
the same assembler code for option roms and vsm.
It will also make using the bootsplash without yabel a lot easier.

Factor out and improve BDA setup, do some rom segment setup for those
option roms that need it.

Don't call the coreboot exception handler if an exception occurs in real
mode. It's only partly usable, but mainly the Kontron 986LCD-M (and other
i945GM boards) choke on an exception #6 (invalid opcode). This particular
issue is not introduced by the changes in this patch but has been around
for quite a while at least.

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

14 years agoMake show_all_routes work for fam10.
Myles Watson [Mon, 10 May 2010 19:45:45 +0000 (19:45 +0000)]
Make show_all_routes work for fam10.

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

14 years agoHigh tables don't have to be on node 0 on K8. Make it less restrictive.
Myles Watson [Mon, 10 May 2010 19:38:59 +0000 (19:38 +0000)]
High tables don't have to be on node 0 on K8.  Make it less restrictive.

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

14 years agoRemove extra NULL #define in amdht code. The
Patrick Georgi [Sun, 9 May 2010 21:44:52 +0000 (21:44 +0000)]
Remove extra NULL #define in amdht code. The
common one is enough. 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@5540 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMove includes to where they are needed. This allows to simplify
Patrick Georgi [Sun, 9 May 2010 21:15:13 +0000 (21:15 +0000)]
Move includes to where they are needed. This allows to simplify
romstage.c files in mainboards.

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

14 years agoRemove pc80/serial.c includes in ROMCC boards and include
Patrick Georgi [Sun, 9 May 2010 21:09:58 +0000 (21:09 +0000)]
Remove pc80/serial.c includes in ROMCC boards and include
it centrally in console/console.h instead.

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

14 years agoBegin implementation support to IT8512/IT8513
Anton Kochkov [Sun, 9 May 2010 15:30:45 +0000 (15:30 +0000)]
Begin implementation support to IT8512/IT8513
Signed-off-by: Anton Kochkov <anton.kochkov@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoi82830: fix debugging output and clarify bracketing
Stefan Reinauer [Sun, 9 May 2010 15:15:08 +0000 (15:15 +0000)]
i82830: fix debugging output and clarify bracketing

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

14 years agoAdd registers for the it8671f chip.
Anders Jenbo [Sat, 8 May 2010 23:28:33 +0000 (23:28 +0000)]
Add registers for the it8671f chip.
Signed-off-by: Anders Jenbo <anders@jenbo.dk>
Acked-by: Joseph Smith <joe@settoplinux.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5535 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoautoprobe apic cluster and application processors on K8 systems
Stefan Reinauer [Sat, 8 May 2010 22:02:54 +0000 (22:02 +0000)]
autoprobe apic cluster and application processors on K8 systems
(fixes #18)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd the Wyse S50 thin client to Coreboot.
Nils Jacobs [Sat, 8 May 2010 21:50:31 +0000 (21:50 +0000)]
Add the Wyse S50 thin client to Coreboot.
Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5533 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agowipe some old unused code, this has been cleaned up now.
Stefan Reinauer [Sat, 8 May 2010 18:14:50 +0000 (18:14 +0000)]
wipe some old unused code, this has been cleaned up now.

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

14 years agoPatrick Georgi wrote:
Stefan Reinauer [Sat, 8 May 2010 17:15:36 +0000 (17:15 +0000)]
Patrick Georgi wrote:
Given that this is exclusively used for checking for mingw and cygwin
(both support this), at most this requires routing the error message to
/dev/null.

And rename the variable so it's not used for any non-windows purpose.

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

14 years agoSlightly improve detecting Windows. Trivial
Patrick Georgi [Sat, 8 May 2010 15:50:44 +0000 (15:50 +0000)]
Slightly improve detecting Windows. 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@5530 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoWe didn't have console.initobj.o before, but the same hard coded
Stefan Reinauer [Sat, 8 May 2010 11:17:24 +0000 (11:17 +0000)]
We didn't have console.initobj.o before, but the same hard coded
build rule is needed as for console.o

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

14 years agoDrop console/console.c and pc80/serial.c from mainboards'
Patrick Georgi [Sat, 8 May 2010 09:14:51 +0000 (09:14 +0000)]
Drop console/console.c and pc80/serial.c from mainboards'
romstage.c.

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

14 years agoRemove duplicate Kconfig entry. Trivial.
Patrick Georgi [Thu, 6 May 2010 19:32:12 +0000 (19:32 +0000)]
Remove duplicate Kconfig entry. 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@5527 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoImprove the sconfig parser:
Patrick Georgi [Wed, 5 May 2010 13:13:47 +0000 (13:13 +0000)]
Improve the sconfig parser:
- The device tree must start with a chip (not a device)
- It's more clearly visible at which places chip, device, register and resource can be used.

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

14 years agoRename "apic" and "apic_cluster" to "lapic" and "lapic_cluster"
Patrick Georgi [Wed, 5 May 2010 13:12:42 +0000 (13:12 +0000)]
Rename "apic" and "apic_cluster" to "lapic" and "lapic_cluster"
in device trees. Adapt sconfig as necessary.

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

14 years agosconfig: Make cur_bus and cur_parent local to the parser.
Patrick Georgi [Wed, 5 May 2010 12:05:25 +0000 (12:05 +0000)]
sconfig: Make cur_bus and cur_parent local to the parser.
Instead of accessing them globally, pass them as arguments where necessary.

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

14 years agoSplit C code in sconfig's parser into a separate file.
Patrick Georgi [Wed, 5 May 2010 11:19:50 +0000 (11:19 +0000)]
Split C code in sconfig's parser into a separate file.
Update generated parser files.
Add proper include path for utils.

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

14 years agoFix arima/hdama. It was changed to match newconfig, which was broken.
Myles Watson [Tue, 4 May 2010 22:30:33 +0000 (22:30 +0000)]
Fix arima/hdama.  It was changed to match newconfig, which was broken.

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

14 years agoQemu, despite "emulating" an intel chipset, uses the CMOS to
Valdimir Serbinenko [Mon, 3 May 2010 16:21:52 +0000 (16:21 +0000)]
Qemu, despite "emulating" an intel chipset, uses the CMOS to
tell the BIOS how much RAM the virtual machine has available.
This patch fixes the detection.

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

14 years agofix superio warnings. interesting side node: most superio .h files have no
Stefan Reinauer [Fri, 30 Apr 2010 20:44:30 +0000 (20:44 +0000)]
fix superio warnings. interesting side node: most superio .h files have no
guards.

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

14 years agoFactor out casmap calculation. Gets rid of a warning.
Myles Watson [Fri, 30 Apr 2010 20:36:02 +0000 (20:36 +0000)]
Factor out casmap calculation.  Gets rid of a warning.

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

14 years agoRemove some warnings. For code that is called from the mainboard romstage.c
Stefan Reinauer [Fri, 30 Apr 2010 20:30:47 +0000 (20:30 +0000)]
Remove some warnings. For code that is called from the mainboard romstage.c
files using prototypes is the way to go I think. It would make our life a lot
easier should we ever decide to move (some mainboards) over to not #include
all those .c files in romstage.c anymore.

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

14 years agoRemove some more warnings. The code is only used by functions protected by the
Stefan Reinauer [Fri, 30 Apr 2010 20:28:35 +0000 (20:28 +0000)]
Remove some more warnings. The code is only used by functions protected by the
same preprocessor check

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

14 years agoget rid of some more warnings..
Stefan Reinauer [Fri, 30 Apr 2010 19:21:01 +0000 (19:21 +0000)]
get rid of some more warnings..

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

14 years agofix compilation of mtarvon
Stefan Reinauer [Fri, 30 Apr 2010 17:50:53 +0000 (17:50 +0000)]
fix compilation of mtarvon
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5515 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoDoesn't need to be a warning.
Stefan Reinauer [Fri, 30 Apr 2010 17:46:16 +0000 (17:46 +0000)]
Doesn't need to be a 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@5514 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop extra pci access functions. these are exact copies of romcc_io.h.
Stefan Reinauer [Fri, 30 Apr 2010 17:44:39 +0000 (17:44 +0000)]
drop extra pci access functions. these are exact copies of romcc_io.h.

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

14 years agoGet rid of a few more warnings.
Myles Watson [Fri, 30 Apr 2010 17:11:03 +0000 (17:11 +0000)]
Get rid of a few more warnings.

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

14 years agoEnable the cache before initializing the processor name, like model_10 does.
Myles Watson [Tue, 27 Apr 2010 15:00:18 +0000 (15:00 +0000)]
Enable the cache before initializing the processor name, like model_10 does.

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

14 years agoMore "prepare"-dependencies we don't need anymore
Patrick Georgi [Tue, 27 Apr 2010 09:23:33 +0000 (09:23 +0000)]
More "prepare"-dependencies we don't need anymore

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

14 years agoForce mkdir before resolving any make rules.
Patrick Georgi [Tue, 27 Apr 2010 09:19:47 +0000 (09:19 +0000)]
Force mkdir before resolving any make rules.

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

14 years agoEnable 440BX NB to use large memory modules
Anders Jenbo [Tue, 27 Apr 2010 08:45:30 +0000 (08:45 +0000)]
Enable 440BX NB to use large memory modules

Signed-off-by: Anders Jenbo <anders@jenbo.dk>
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5508 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSince some people disapprove of white space cleanups mixed in regular commits
Stefan Reinauer [Tue, 27 Apr 2010 06:56:47 +0000 (06:56 +0000)]
Since some people disapprove of white space cleanups mixed in regular commits
while others dislike them being extra commits, let's clean them up once and
for all for the existing code. If it's ugly, let it only be ugly once :-)

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

14 years agoRemove some additional white space to make it look nicer in nano
Anders Jenbo [Tue, 27 Apr 2010 06:35:31 +0000 (06:35 +0000)]
Remove some additional white space to make it look nicer in nano
Signed-off-by: Anders Jenbo <anders@jenbo.dk>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5506 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoI meant SSE. Reported by Dustin Harrison.
Myles Watson [Mon, 26 Apr 2010 13:33:23 +0000 (13:33 +0000)]
I meant SSE.  Reported by Dustin Harrison.

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

14 years agoEnable SSE2 for ep80579. Reported by Dustin Harrison.
Myles Watson [Mon, 26 Apr 2010 13:27:35 +0000 (13:27 +0000)]
Enable SSE2 for ep80579.  Reported by Dustin Harrison.

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

14 years agoFor the mainboard with AMD Family 10, if we make clean and make again,
Zheng Bao [Mon, 26 Apr 2010 12:27:18 +0000 (12:27 +0000)]
For the mainboard with AMD Family 10, if we make clean and make again,
it will fail. why?

After make clean, .c files created by iasl are still left in the build
folder, it will match the rule of
$(obj)/%.o: $(obj)/%.c $(obj)/config.h
@printf "    CC         $(subst $(obj)/,,$(@))\n"
$(CC) -MMD $(CFLAGS) -c -o $@ $<
it will miss the rule which should be applied.
define objs_asl_template
       ....

So we move the .c file back to .hex (or other suffix? or delete?).
This patch will work after make distclean, otherwise nobody will rename
the .c.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5503 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofix a bug in pcibios check.
Stefan Reinauer [Mon, 26 Apr 2010 12:08:51 +0000 (12:08 +0000)]
fix a bug in pcibios check.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5502 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSet success flag in cx700 int15 handler
Patrick Georgi [Mon, 26 Apr 2010 06:59:07 +0000 (06:59 +0000)]
Set success flag in cx700 int15 handler

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

14 years agocx700 int15 handler rework. Int15 handler needs to provide the
Stefan Reinauer [Sun, 25 Apr 2010 21:44:33 +0000 (21:44 +0000)]
cx700 int15 handler rework. Int15 handler needs to provide the
correct ram clock to the vga bios or there be dragons.

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

14 years agoa single place for the romstage stack for copy_and_run.
Stefan Reinauer [Sun, 25 Apr 2010 21:43:29 +0000 (21:43 +0000)]
a single place for the romstage stack for copy_and_run.
geode lx and amd opteron don't use this yet.

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

14 years agodrop "arch/asm.h" and "arch/intel.h" and create "cpu/x86/post_code.h"
Stefan Reinauer [Sun, 25 Apr 2010 20:42:02 +0000 (20:42 +0000)]
drop "arch/asm.h" and "arch/intel.h" and create "cpu/x86/post_code.h"
(which could at some time hold global post code definitions, too)

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

14 years agoFix the the build of r5494 on Asus A8V-E SE. The K8M890 and K8T890
Rudolf Marek [Sun, 25 Apr 2010 20:24:09 +0000 (20:24 +0000)]
Fix the the build of r5494 on Asus A8V-E SE. The K8M890 and K8T890
were not treated separately until now. Fix it. Hope self ack is OK,
compiled tested locally.

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

14 years agotry to unify timing initialization across those boards that need it...
Stefan Reinauer [Sun, 25 Apr 2010 18:06:32 +0000 (18:06 +0000)]
try to unify timing initialization across those boards that need 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@5496 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoOnly do complete VGA init if a VGABIOS was found and installed.
Patrick Georgi [Sun, 25 Apr 2010 18:05:42 +0000 (18:05 +0000)]
Only do complete VGA init if a VGABIOS was found and installed.

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

14 years agoFollowing patch changes the K8M890 VGA handling. It reverts the framebuffer size
Rudolf Marek [Sun, 25 Apr 2010 15:21:18 +0000 (15:21 +0000)]
Following patch changes the K8M890 VGA handling. It reverts the framebuffer size
to option based (similar what Uwe did) and also it uses GFXUMA to handle the
high_tables_start offset from memory top.

To satisfy the CMOS option users (Hi, libv!  ;)  I added also a possibility to do
that through CMOS.

Fixed printks to match the new style.

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

14 years agono warnings days.
Stefan Reinauer [Sun, 25 Apr 2010 14:37:18 +0000 (14:37 +0000)]
no warnings days.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5493 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agozero warnings days
Stefan Reinauer [Sun, 25 Apr 2010 13:54:30 +0000 (13:54 +0000)]
zero warnings days

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

14 years agoTrivial. The comment also need to modify.
Zheng Bao [Sun, 25 Apr 2010 11:57:21 +0000 (11:57 +0000)]
Trivial. The comment also need to modify.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Zheng Bao <zheng.bao@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5491 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThe device number of SATA SB700 is 0x11, while the one of SB600 is 0x12.
Zheng Bao [Sun, 25 Apr 2010 11:53:09 +0000 (11:53 +0000)]
The device number of SATA SB700 is 0x11, while the one of SB600 is 0x12.
We changed almost associated code when we ported but overlooked some.
Some legacy of SB600 are also fixed.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5490 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agothese cpus are explicitly supported by model_6bx
Stefan Reinauer [Sat, 24 Apr 2010 23:16:23 +0000 (23:16 +0000)]
these cpus are explicitly supported by model_6bx

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

14 years agodrop all duplicate copies of vgabios.c in favor
Stefan Reinauer [Sat, 24 Apr 2010 23:15:23 +0000 (23:15 +0000)]
drop all duplicate copies of vgabios.c in favor
of devices/oprom/x86.c.

We have some tests on hardware. Moving RAMBASE to
1MB needs to wait a bit until C7 cache_as_ram.inc
has been adapted to cache that area or things will
become incredibly slow (1.5s boot time instead of 0.5)

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

14 years agoprint the known cbfs types in cbfstool "usage"
Stefan Reinauer [Sat, 24 Apr 2010 21:24:06 +0000 (21:24 +0000)]
print the known cbfs types in cbfstool "usage"

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

14 years agoTrivial. Fix a space to tab.
Zheng Bao [Sat, 24 Apr 2010 07:56:32 +0000 (07:56 +0000)]
Trivial. Fix a space to tab.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Zheng Bao <zheng.bao@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5486 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAttached patch adds support for tinybootblock on VT8237* to decode whole flash
Rudolf Marek [Fri, 23 Apr 2010 20:58:13 +0000 (20:58 +0000)]
Attached patch adds support for tinybootblock on VT8237* to decode whole flash
independent of strapping, making larger flashes work. We cannot walk anything
else than PCI bus 0 because HT is not setup yet.

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

14 years agozero warnings days...
Stefan Reinauer [Fri, 23 Apr 2010 19:16:30 +0000 (19:16 +0000)]
zero warnings days...

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

14 years agoAMD Tilapia board support as a demonstration of an AMD Fam10 DDR3 board.
Zheng Bao [Fri, 23 Apr 2010 17:37:41 +0000 (17:37 +0000)]
AMD Tilapia board support as a demonstration of an AMD Fam10 DDR3 board.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5483 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAMD Socket ASB2 and AM3 support.
Zheng Bao [Fri, 23 Apr 2010 17:35:37 +0000 (17:35 +0000)]
AMD Socket ASB2 and AM3 support.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5482 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoDDR3 support for AMD Fam10.
Zheng Bao [Fri, 23 Apr 2010 17:32:48 +0000 (17:32 +0000)]
DDR3 support for AMD Fam10.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5481 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMake USE_OPTION_TABLE user visible, so it can be edited.
Patrick Georgi [Fri, 23 Apr 2010 08:03:14 +0000 (08:03 +0000)]
Make USE_OPTION_TABLE user visible, so it can be edited.

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

14 years agoFix AHCI mode on i82801gx. Fixes SATA hotplug on iBASE:MB899.
Bernhard M. Wiedermann [Thu, 22 Apr 2010 22:47:29 +0000 (22:47 +0000)]
Fix AHCI mode on i82801gx.  Fixes SATA hotplug on iBASE:MB899.

Signed-off-by: Bernhard M. Wiedermann <corebootbmw@lsmod.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5479 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agovia epia-m now works with default x86.c instead of its own copy of vgabios.c.
Stefan Reinauer [Thu, 22 Apr 2010 18:15:32 +0000 (18:15 +0000)]
via epia-m now works with default x86.c instead of its own copy of vgabios.c.
Allows to drop quite a bunch of nasty code

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

14 years agozero warnings days...
Stefan Reinauer [Thu, 22 Apr 2010 13:18:09 +0000 (13:18 +0000)]
zero warnings days...
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5477 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoNone of the cs5536 settings in devicetree.cb were ever used and nobody noticed.
Stefan Reinauer [Thu, 22 Apr 2010 10:44:08 +0000 (10:44 +0000)]
None of the cs5536 settings in devicetree.cb were ever used and nobody noticed.
Fix 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@5476 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofix compilation remaining geode boards
Stefan Reinauer [Thu, 22 Apr 2010 09:22:15 +0000 (09:22 +0000)]
fix compilation remaining geode boards

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

14 years agofix ARRAY_SIZE issue.
Stefan Reinauer [Thu, 22 Apr 2010 00:52:42 +0000 (00:52 +0000)]
fix ARRAY_SIZE issue.
the gx2+5536 issue is still open, and it reveils a serious problem with the
code that was hidden under a bunch of warnings until now.

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

14 years agooops, sorry for the last commit. This commit changes the code to distinguish
Stefan Reinauer [Wed, 21 Apr 2010 20:55:38 +0000 (20:55 +0000)]
oops, sorry for the last commit. This commit changes the code to distinguish
between having VSA functionality in the code, and adding a VSA image to the
ROM.

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

14 years agoMove the prototype for run_vsa.
Myles Watson [Wed, 21 Apr 2010 20:36:09 +0000 (20:36 +0000)]
Move the prototype for run_vsa.

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

14 years ago* clean up all but two warnings on artecgroup dbe61
Stefan Reinauer [Wed, 21 Apr 2010 20:06:10 +0000 (20:06 +0000)]
* clean up all but two warnings on artecgroup dbe61
* integrate vsm init into normal x86.c code (so it can run above 1M)
* call void main(unsigned long bist) except void cache_as_ram_main(void)
  on Geode LX (as we do on almost all other platforms now)
* Unify Geode LX MSR setup (will bring most non-working LX targets back
  to life)

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

14 years agoOptimize distclean and configuration.
Patrick Georgi [Wed, 21 Apr 2010 06:36:20 +0000 (06:36 +0000)]
Optimize distclean and configuration.

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

14 years agoThis patch adds:
Pat Erley [Wed, 21 Apr 2010 06:23:19 +0000 (06:23 +0000)]
This patch adds:

 ICH6 Southbridge,
 82915 Series Northbridge,
 P4 6xx Series CPU

to inteltool

Tested on my Clevo D900T, based on ICH6 and i915P, with a p4 630
installed.

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

14 years agobayou compile fixes
Stefan Reinauer [Tue, 20 Apr 2010 23:04:46 +0000 (23:04 +0000)]
bayou compile fixes

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

14 years agoMake VSA code selectable in Kconfig
Stefan Reinauer [Tue, 20 Apr 2010 18:35:33 +0000 (18:35 +0000)]
Make VSA code selectable in Kconfig

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

14 years agoinstall libpayload.ldscript on libpayload "make install"
Stefan Reinauer [Tue, 20 Apr 2010 18:22:20 +0000 (18:22 +0000)]
install libpayload.ldscript on libpayload "make install"
to make coreinfo happy.

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

14 years agoAllow easy libpayload compilation using xcompile.
Stefan Reinauer [Tue, 20 Apr 2010 17:19:20 +0000 (17:19 +0000)]
Allow easy libpayload compilation using xcompile.

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

14 years agofix artecgroup dbe61
Stefan Reinauer [Tue, 20 Apr 2010 16:20:48 +0000 (16:20 +0000)]
fix artecgroup dbe61

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

14 years agoCopy mingw support for kconfig from coreboot to libpayload
Patrick Georgi [Tue, 20 Apr 2010 16:00:07 +0000 (16:00 +0000)]
Copy mingw support for kconfig from coreboot to libpayload

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