coreboot.git
14 years agoEnable Multiboot table support (for GRUB2) by default.
Ronald G. Minnich [Mon, 9 Nov 2009 17:56:47 +0000 (17:56 +0000)]
Enable Multiboot table support (for GRUB2) by default.

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

14 years agoAdd a "locate" function cbfstool, which helps you find
Patrick Georgi [Mon, 9 Nov 2009 17:18:02 +0000 (17:18 +0000)]
Add a "locate" function cbfstool, which helps you find
out a suitable address to put a XIP stage to.

Specifically, you pass it the file (to get its filesize), its filename
(as the header has a variable length that depends on it), and the
granularity requirement it has to fit in (for XIP).
The granularity is MTRR-style: when you request 0x10000, cbfstool looks
for a suitable place in a 64kb-aligned 64kb block.

cbfstool simply prints out a hex value which is the start address of a
suitably located free memory block. That value can then be used with
cbfs add-stage to store the file in the ROM image.

It's a two-step operation (instead of being merged into cbfs add-stage)
because the image must be linked twice: First, with some bogus, but safe
base address (eg. 0) to figure out the target address (based on file
size). Then a second time at the target address.

The work flow is:
 - link file
 - cbfstool locate
 - link file again
 - cbfstool add-stage.

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

14 years agoThese are post codes for TIM-5690 LED debug message.
Libra Li [Mon, 9 Nov 2009 11:53:41 +0000 (11:53 +0000)]
These are post codes for TIM-5690 LED debug message.

Signed-off-by: Libra Li <libra.li@technexion.com>
Added object reference to Config.lb, too and
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4928 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove drivers/pci/onboard. The only purpose was for option ROMs, which are
Myles Watson [Fri, 6 Nov 2009 23:42:26 +0000 (23:42 +0000)]
Remove drivers/pci/onboard.  The only purpose was for option ROMs, which are
now handled more generically using CBFS.

Simplify the option ROM code in device/pci_rom.c, since there are only two ways
to get a ROM address now (CBFS and the device) and add an exception for qemu.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4925 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove some white space and comment differences from devicetree.cb and Config.lb
Myles Watson [Fri, 6 Nov 2009 17:32:32 +0000 (17:32 +0000)]
Remove some white space and comment differences from devicetree.cb and Config.lb
files.

These boards have non-trivial differences:
gigabyte/m57sli
kontron/986lcd-m
dell/s1850
via/epia-m700

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

14 years agoDrop all pre-CBFS rom_address entries in Config.lb/devicetree.cb.
Uwe Hermann [Fri, 6 Nov 2009 17:11:05 +0000 (17:11 +0000)]
Drop all pre-CBFS rom_address entries in Config.lb/devicetree.cb.

Since we have CBFS setting rom_address in board files is no longer
necessary.

Also, drop vga_rom_address from RS690 completely, it was never used
in the code.

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

14 years agoRevert the deletion of drivers/pci/onboard that snuck in ahead of its time.
Myles Watson [Fri, 6 Nov 2009 17:09:11 +0000 (17:09 +0000)]
Revert the deletion of drivers/pci/onboard that snuck in ahead of its time.

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

14 years agoSplit the two usages of __ROMCC__:
Myles Watson [Fri, 6 Nov 2009 17:02:51 +0000 (17:02 +0000)]
Split the two usages of __ROMCC__:
__ROMCC__ now means "Don't use prototypes, since romcc doesn't support them."
__PRE_RAM__ means "Use simpler versions of functions, and no device tree."

There are probably some places where both are tested, but only one is needed.

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

14 years agoRemove hard coded bus numbers from arima/hdama mptable code and fix warnings.
Myles Watson [Fri, 6 Nov 2009 15:31:49 +0000 (15:31 +0000)]
Remove hard coded bus numbers from arima/hdama mptable code and fix warnings.

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

14 years agoAdd debugging utility file for dumping routing registers on K8.
Myles Watson [Thu, 5 Nov 2009 21:02:35 +0000 (21:02 +0000)]
Add debugging utility file for dumping routing registers on K8.

Ported from Ron's code in v3.

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

14 years agoDon't try to set fixed resources. Trivial.
Myles Watson [Thu, 5 Nov 2009 20:06:19 +0000 (20:06 +0000)]
Don't try to set fixed resources.  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@4918 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofix length field in dmi tables. Newer DMI versions through errors
Stefan Reinauer [Thu, 5 Nov 2009 18:08:16 +0000 (18:08 +0000)]
fix length field in dmi tables. Newer DMI versions through errors

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

14 years agoif x86emu was running for VGA init a corrupted low table RSDP
Stefan Reinauer [Thu, 5 Nov 2009 18:06:43 +0000 (18:06 +0000)]
if x86emu was running for VGA init a corrupted low table RSDP
is generated in the F segment. Clear the memory before generating an
RSDP to fix the problem.

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

14 years agobiosemu (non-yabel) cleanup
Stefan Reinauer [Thu, 5 Nov 2009 17:24:03 +0000 (17:24 +0000)]
biosemu (non-yabel) cleanup
* Drop pcbios folder that only exists for a single function
* include int1a handler in biosemu.c
* Wipe a lot of dead code, and set up F segment correctly
* include return value check from yabel.

On the long run we should teach yabel to be able to run with a reduced feature
set, ie. no emulation of (almost) all system hardware. Then we could drop the
non-yabel x86emu.
But for now this patch cleans up the non-yabel biosemu.c to a state where it's
not all that ugly anymore..

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

14 years agofix Qemu
Stefan Reinauer [Thu, 5 Nov 2009 12:44:50 +0000 (12:44 +0000)]
fix Qemu

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

14 years agohttp://www.coreboot.org/pipermail/coreboot/2007-October/025740.html
Stefan Reinauer [Thu, 5 Nov 2009 12:38:34 +0000 (12:38 +0000)]
coreboot.org/pipermail/coreboot/2007-October/025740.html

This function is not called right now,... Please step in and fix up your code,
folks.

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

14 years agoIf the coreboot and filo overlap, it will "slice off" a piece at the
Zheng Bao [Thu, 5 Nov 2009 10:02:59 +0000 (10:02 +0000)]
If the coreboot and filo overlap, it will "slice off" a piece at the
"beginning" or "end". In the beginning case, a new segment is inserted
before the current one.  But the ptr will move forward and doesn't
seem to have any other chance to process the "new" segment.

                ptr ---------+     move --->
                             |
                             V
        +--------+       +--------+
        |        |       |        |
        |  new   | <---> |current | <---> .....
        |        |       |        |
        +--------+       +--------+

Now we change the ptr to the previous one and restart the loop. The
new and current segment will both be processed. Even if the current
segment is done twice, no new segment will come up and ptr will move
forward as we expect.

      +----------------ptr      move --->
      |
      V
 +--------+        +--------+       +--------+
 |        |        |        |       |        |
 |  prev  | <--->  |  new   | <---> |current | <---> .....
 |        |        |        |       |        |
 +--------+        +--------+       +--------+

It is tested and fixes the crashing on my AMD Family 10 board.

Some trailing whitespaces were deleted.

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

14 years agoGet the passed in Bus/Device/Function from the correct location on the
Mark Marshall [Thu, 5 Nov 2009 09:09:20 +0000 (09:09 +0000)]
Get the passed in Bus/Device/Function from the correct location on the
stack.

Signed-off-by: Mark Marshall <mark.marshall@csr.com>
Clarified the comment and
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4911 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoUse more care when implementing the PCI BIOS functions.
Mark Marshall [Thu, 5 Nov 2009 09:03:04 +0000 (09:03 +0000)]
Use more care when implementing the PCI BIOS functions.

The READ_CONF and WRITE_CONF functions would both do the wrong thing
if the passed in BDF was not found.  We should return and error to the
caller, but not stop running the option ROM.

Signed-off-by: Mark Marshall <mark.marshall@csr.com>
I slightly reworked the patch:

The 'CHECK' function seemed to be both wrong code and the wrong
number.

In fact the CHECK function was given the function number of
the "Microsoft Real-Time Compression Interface". Since this is definitely wrong
I removed the code.

Dropped some unneeded scopes, too, to make the code easier to read.

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

14 years agoWhen loading an option ROM use the class stored in the device to
Mark Marshall [Thu, 5 Nov 2009 08:10:12 +0000 (08:10 +0000)]
When loading an option ROM use the class stored in the device to
decide whether the option ROM is a special VGA type.

An S3 card that I've got has the wrong class in the VGA BIOS.
(A Stealth 64 DRAM T PCI, from 1994 - BIOS V2.02)

Signed-off-by: Mark Marshall <mark.marshall@csr.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4909 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix up typo in Socket 441 CPUs, and add a few (trivial) Kconfig files for them.
Stefan Reinauer [Wed, 4 Nov 2009 12:18:44 +0000 (12:18 +0000)]
Fix up typo in Socket 441 CPUs, and add a few (trivial) Kconfig files for them.

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

14 years agoSome fixes.
Patrick Georgi [Tue, 3 Nov 2009 15:02:15 +0000 (15:02 +0000)]
Some fixes.
Atom does not like 36bit MTRRs in CAR setup.
Enable XIP setup again (works with 32bit MTRRs)
Keep code more similar to 6ex code..

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

14 years agox86emu: Add support for the following opcodes:
Stefan Reinauer [Tue, 3 Nov 2009 14:59:43 +0000 (14:59 +0000)]
x86emu: Add support for the following opcodes:

* SMSW
* INVD/WBINVD
* RDMSR/WRMSR
* CPUID

The implementation is kept very simple (mostly dummies) but it should get
us successfully through the Poulsbo VGA OPROM code in order to determine
further requirements.

Also, fix up a lot of warnings (mostly about missing prototypes for
functions that should be static anyways)

This version adds a break in smsw that was missing in the patch that was sent
to the list.

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

14 years agoAdd 82Q35/P35/Q33/G33/G31/P31 support to inteltool.
Loïc Grenié [Mon, 2 Nov 2009 15:01:49 +0000 (15:01 +0000)]
Add 82Q35/P35/Q33/G33/G31/P31 support to inteltool.
The registers are (as far as I can tell) unchanged with respect to those
of the PM965.

Signed-off-by: Loïc Grenié <loic.grenie@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4905 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agotypo. trivial. Then -> Than.
Zheng Bao [Sun, 1 Nov 2009 09:18:23 +0000 (09:18 +0000)]
typo. trivial. Then -> Than.

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

14 years agoSet SB_HT_CHAIN_ON_BUS0 correctly for arima/hdama. Trivial.
Myles Watson [Sat, 31 Oct 2009 22:13:04 +0000 (22:13 +0000)]
Set SB_HT_CHAIN_ON_BUS0 correctly for arima/hdama.  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@4903 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoOnly remove .xcompile with distclean. Look for crossgcc in util.
Myles Watson [Sat, 31 Oct 2009 20:47:14 +0000 (20:47 +0000)]
Only remove .xcompile with distclean.  Look for crossgcc in util.

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

14 years agoADLO has long been replaced by SeaBIOS, and it's also in v1 if someone needs
Stefan Reinauer [Fri, 30 Oct 2009 20:38:15 +0000 (20:38 +0000)]
ADLO has long been replaced by SeaBIOS, and it's also in v1 if someone needs
it...
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@4900 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop svn:externals in the tree and add it locally.
Stefan Reinauer [Fri, 30 Oct 2009 18:16:09 +0000 (18:16 +0000)]
drop svn:externals in the tree and add it locally.

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

14 years agonew utility.
Stefan Reinauer [Fri, 30 Oct 2009 16:54:52 +0000 (16:54 +0000)]
new utility.

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

14 years agocoreboot repository cleanup
Stefan Reinauer [Fri, 30 Oct 2009 16:53:37 +0000 (16:53 +0000)]
coreboot repository cleanup

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

14 years agoclean up coreboot repo structure.
Stefan Reinauer [Fri, 30 Oct 2009 16:51:46 +0000 (16:51 +0000)]
clean up coreboot repo structure.

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

14 years agoFix, um... a typo.
Uwe Hermann [Fri, 30 Oct 2009 13:10:03 +0000 (13:10 +0000)]
Fix, um... a typo.

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

14 years agoAllow per-northbridge and per-board VGA BIOS file name and PCI ID defaults.
Uwe Hermann [Fri, 30 Oct 2009 12:56:59 +0000 (12:56 +0000)]
Allow per-northbridge and per-board VGA BIOS file name and PCI ID defaults.

Of course, the user can still override those defaults, if needed.

Add defaults for VIA pc2500e, Kontron 986LCD-M/mITX, MSI MS-6178.

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

14 years agoRemove some warnings from the tyan s2895.
Myles Watson [Fri, 30 Oct 2009 02:08:07 +0000 (02:08 +0000)]
Remove some warnings from the tyan s2895.

Declare superio functions to be static and remove duplicates.

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

14 years agoSplit a print statement that called dev_path twice, and add a warning comment.
Myles Watson [Thu, 29 Oct 2009 21:27:43 +0000 (21:27 +0000)]
Split a print statement that called dev_path twice, and add a warning comment.

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

14 years agoAdd prototypes to silence these warnings.
Myles Watson [Thu, 29 Oct 2009 16:49:50 +0000 (16:49 +0000)]
Add prototypes to silence these warnings.
src/lib/gcc.c:30: warning: no previous prototype for '__wrap___divdi3'

The prototypes were not added to lib.h because the functions should never be
called directly.

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

14 years agoComment out option ROM line in Config-abuild.lb to fix build.
Myles Watson [Wed, 28 Oct 2009 19:56:34 +0000 (19:56 +0000)]
Comment out option ROM line in Config-abuild.lb to fix build.

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

14 years agoAdd an initial version of some tools to compare (extended) K8 memory settings.
Ward Vandewege [Wed, 28 Oct 2009 19:41:52 +0000 (19:41 +0000)]
Add an initial version of some tools to compare (extended) K8 memory settings.

This generates (dirty) html with interpreted differences between PCI dumps,
based on the K8 socket F bkdg.

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

14 years agoDrop remainders of PPC port
Stefan Reinauer [Wed, 28 Oct 2009 19:40:46 +0000 (19:40 +0000)]
Drop remainders of PPC port

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

14 years agoDrop remainder of PPC port
Stefan Reinauer [Wed, 28 Oct 2009 19:38:58 +0000 (19:38 +0000)]
Drop remainder of PPC port

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

14 years agoFix some builds with Kconfig.
Myles Watson [Wed, 28 Oct 2009 18:57:06 +0000 (18:57 +0000)]
Fix some builds with 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@4883 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMake d945gclf build.
Myles Watson [Wed, 28 Oct 2009 18:51:47 +0000 (18:51 +0000)]
Make d945gclf build.

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

14 years agoAdd some missing license headers, consistency fixes for others (trivial).
Uwe Hermann [Wed, 28 Oct 2009 17:36:11 +0000 (17:36 +0000)]
Add some missing license headers, consistency fixes for others (trivial).

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

14 years agoRemove all build/ prefixes in the build output.
Uwe Hermann [Wed, 28 Oct 2009 17:10:51 +0000 (17:10 +0000)]
Remove all build/ prefixes in the build output.

Also, remove one missing hardcoded "build" dir in the distclean target,
and clean up files generated by sconfig in 'make clean'.

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

14 years agopreliminary Intel D945GCLF Atom+i945 support.
Stefan Reinauer [Wed, 28 Oct 2009 16:52:48 +0000 (16:52 +0000)]
preliminary Intel D945GCLF Atom+i945 support.

ram init fails, as the i945 driver currently only supports the mobile version
of the chipset..

Not sure how much sense it makes to check this in, but since it's a nice and
cheap board, maybe someone wants to work on this.

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

14 years agoCreate lib.h for homeless prototypes.
Myles Watson [Wed, 28 Oct 2009 16:13:28 +0000 (16:13 +0000)]
Create lib.h for homeless prototypes.

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

14 years agoReplace hard coded build with $(obj) paths.
Myles Watson [Wed, 28 Oct 2009 15:30:11 +0000 (15:30 +0000)]
Replace hard coded build with $(obj) paths.

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

14 years agoThe check for zero sized resources is already done earlier. So don't redo it
Stefan Reinauer [Wed, 28 Oct 2009 14:57:14 +0000 (14:57 +0000)]
The check for zero sized resources is already done earlier. So don't redo it
here. I think we don't ever want to drop the extra check, since it indicates
that the components involved need fixing.

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

14 years agoPrefix all build output file names of files which end up in the build
Uwe Hermann [Tue, 27 Oct 2009 23:14:54 +0000 (23:14 +0000)]
Prefix all build output file names of files which end up in the build
directory with "build/" for consistency (trivial, sort of).

Also, drop printing of "config.g" input file, we usually only print
generated/output files in the build output.

Finally, rename non-existing COMPRESSFLAG variable to
CBFS_PAYLOAD_COMPRESS_FLAG in a printf line. The build output now says

    PAYLOAD    payload.elf l

for payloads (the "l" specifies LZMA compression).

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

14 years agoImprove coreboot build output and eliminate some warnings:
Uwe Hermann [Tue, 27 Oct 2009 21:49:33 +0000 (21:49 +0000)]
Improve coreboot build output and eliminate some warnings:

 - Add static and const where possible.

 - Turn some #warning entries into TODO comments.

 - Add missing prototypes.

 - Remove unused variables.

 - Fix printf arguments or cast them as needed.

 - Make sconfig output look better. Drop useless "PARSED THE TREE" output.

 - Print "(this may take a while)" while building romcc. Add missing "\n".

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

14 years agoRemove redundant declarations. Trivial.
Myles Watson [Tue, 27 Oct 2009 16:24:22 +0000 (16:24 +0000)]
Remove redundant declarations.  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@4873 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd $(obj) paths for a couple of smm files so they don't end up in the top directory.
Myles Watson [Tue, 27 Oct 2009 15:53:27 +0000 (15:53 +0000)]
Add $(obj) paths for a couple of smm files so they don't end up in the top directory.

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

14 years agoAdd few missing prototypes, and remove few unused (thus lonelly) variables.
Maciej Pijanka [Tue, 27 Oct 2009 14:29:29 +0000 (14:29 +0000)]
Add few missing prototypes, and remove few unused (thus lonelly) variables.
TODO
 - x86emu need (imo) some common header with prototypes at least
 - clog2, ulzma, hardwaremain prototypes added by this patch probably should
   be moved to some header too.
 - in src/devices/device_util.c prototype is before function because seems,
   it is used only within same file, if not it should be moved to debug
   section of prototypes in include/device/device.h

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

14 years agoUpdate arima/hdama to detect how many nodes there are. Compare to tyan/s2892.
Myles Watson [Tue, 27 Oct 2009 14:05:21 +0000 (14:05 +0000)]
Update arima/hdama to detect how many nodes there are.  Compare to tyan/s2892.

Fixes booting for Hugh.

Various white space fixes as well.

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

14 years agoVarious smaller console option fixes as suggested by Peter Stuge:
Uwe Hermann [Mon, 26 Oct 2009 23:52:34 +0000 (23:52 +0000)]
Various smaller console option fixes as suggested by Peter Stuge:

 - Change "COM port" to "Serial port".

 - Also show the I/O port of the serial ports. Keep "COM1/ttyS0" though for
   easy recognition by the average user.

 - Change BAUD to Baud.

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

14 years agocp src/mainboard/tyan/Makefile.k8_CAR.inc to src/mainboard/Makefile.k8_ck804.inc
Myles Watson [Mon, 26 Oct 2009 22:49:00 +0000 (22:49 +0000)]
cp src/mainboard/tyan/Makefile.k8_CAR.inc to src/mainboard/Makefile.k8_ck804.inc

Make more boards use both of them.

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

14 years agoMove src/mainboard/tyan/Makefile.s289x.inc to src/mainboard/Makefile.k8_CAR.inc.
Myles Watson [Mon, 26 Oct 2009 22:03:30 +0000 (22:03 +0000)]
Move src/mainboard/tyan/Makefile.s289x.inc to src/mainboard/Makefile.k8_CAR.inc.

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

14 years agoAdd kconfig menus for most chipset VIDEO_MB values.
Uwe Hermann [Mon, 26 Oct 2009 21:42:13 +0000 (21:42 +0000)]
Add kconfig menus for most chipset VIDEO_MB values.

VIDEO_MB is a variable that defines how many MB of RAM will be used
for onboard graphics frame buffer. It's northbridge-dependent which
values for CONFIG_MB are valid (but not board-dependent).

This patch adds choices for menuconfig to select the VIDEO_MB value for:

 - Intel 82810
 - Intel 82830
 - VIA CN400
 - VIA CN700

Note: CN400 and CN700 are based on the CX700 datasheet, not sure if they're
correct. If somebody has CN400 and CN700 datasheets, please verify.

We drop all per-board VIDEO_MB variables in per-board Kconfig files as
there's a northbridge-specific option/default now (plus the user can override
the value if needed in menuconfig).

As CONFIG_MB is chipset-specific but not board-specific (and never was), filter
it in util/compareboard/compareboard, we don't need to match those values.

Finally, put "CPU", "Northbridge", "Southbridge", "Super I/O", and
"Devices" sections into the "Chipset" menu, where NB-specific
options will appear if you select a board using a certain NB,
SB-specific options would appear in the "Southbridge" section etc.

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

14 years agoFix iei/pcisa-lx-800-r10. Trivial.
Myles Watson [Mon, 26 Oct 2009 21:41:06 +0000 (21:41 +0000)]
Fix iei/pcisa-lx-800-r10. 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@4865 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove double include of smm directory. Trivial.
Myles Watson [Mon, 26 Oct 2009 21:04:03 +0000 (21:04 +0000)]
Remove double include of smm directory.  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@4864 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoreasonable output in cbfs loading (part 2)
Stefan Reinauer [Mon, 26 Oct 2009 17:17:37 +0000 (17:17 +0000)]
reasonable output in cbfs loading (part 2)
run hlt in endless loop, be friendly to the cpu

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

14 years agoreasonable output for cbfs loading..
Stefan Reinauer [Mon, 26 Oct 2009 17:15:53 +0000 (17:15 +0000)]
reasonable output for cbfs loading..
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4862 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoKontron 986LCD-M update
Stefan Reinauer [Mon, 26 Oct 2009 17:12:21 +0000 (17:12 +0000)]
Kontron 986LCD-M update
- run ACPI code through preprocessor so we get the same values
  as the C code
- fix PCIe x16 slot
- fix ICH7 Azalia/HDA driver
- SMI/GNVS update security fix (only allow struct pointer update once)
- ACPI updates
- IDE driver fixes
- add cmos options for disabling onboard ethernet and controlling system fan

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

14 years agoCBMEM high table memory manager.
Stefan Reinauer [Mon, 26 Oct 2009 17:04:28 +0000 (17:04 +0000)]
CBMEM high table memory manager.

This code adds a very simple toc based memory manager for the high tables area.
The purpose of this code is to make it simpler and more reliable to find
certain data structures in memory. This will also make it possible to have ACPI
S3 Resume working without an ugly hole at 31MB.

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

14 years agointel core and core 2:
Stefan Reinauer [Mon, 26 Oct 2009 16:49:16 +0000 (16:49 +0000)]
intel core and core 2:
- small preprocessor fix
- leave some space in the CAR area for the usbdebug structure
  if usbdebug is used

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

14 years agoUse Intel Core code for eagleheights CAR init, not Intel Core 2, as
Stefan Reinauer [Mon, 26 Oct 2009 16:48:27 +0000 (16:48 +0000)]
Use Intel Core code for eagleheights CAR init, not Intel Core 2, as
any of the CPUs might be used.

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

14 years agoNow that the resource allocator is working nicely we can turn down the debug
Stefan Reinauer [Mon, 26 Oct 2009 16:47:05 +0000 (16:47 +0000)]
Now that the resource allocator is working nicely we can turn down the debug
level output and make some output SPEW only.

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

14 years agoDefine some variables that were not defined. There are a couple left.
Myles Watson [Mon, 26 Oct 2009 15:14:07 +0000 (15:14 +0000)]
Define some variables that were not defined.  There are a couple left.
  Do kbuildall then grep not.defined kbuildall.results/*
The interesting ones were GENERATE_*  I had to put them in twice to make it work
correctly: once outside the menu setting the defaults, and once inside the menu.
Now they show up when they should, and are always defined

Define HAVE_INIT_TIMER to only exclude the three boards that define it to be 0
in newconfig.
Define MEM_TRAIN_SEQ to be an integer and set it correctly.
Remove CAR_FAM10 and just depend on NORTHBRIDGE_AMD_AMDFAM10
MOVNTI is a performance enhancement, and should default to 0 so it doesn't break
boards that forget to define it.

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

14 years agoOption ROM init x86/x86emu update
Stefan Reinauer [Sun, 25 Oct 2009 19:50:47 +0000 (19:50 +0000)]
Option ROM init x86/x86emu update

- use default display in int 15 5f35
- move REALMODE_BASE to 0x600, 0x500 can be BDA
- add regparm for assembler functions
- use memset instead of own implementation
- YABEL: copy back the IVT, BDA and VBIOS. Some Xorg drivers require this.
- YABEL: use hardware timer instead of emulated timer, because the emulated
  timer's base is never initialized (leading to division by zero if the
  timer is really used)

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

14 years agoFix intel/xe7501devkit build, missing "uses" clause.
Uwe Hermann [Sat, 24 Oct 2009 22:52:33 +0000 (22:52 +0000)]
Fix intel/xe7501devkit build, missing "uses" clause.

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

14 years agoFix kconfig build error due to "source"ing a non-existant file (trivial).
Uwe Hermann [Sat, 24 Oct 2009 22:42:53 +0000 (22:42 +0000)]
Fix kconfig build error due to "source"ing a non-existant file (trivial).

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

14 years agoMajor cleanups of the hard_reset() code and config in coreboot.
- supermicro/x6dhe_g/auto.c [Sat, 24 Oct 2009 19:17:24 +0000 (19:17 +0000)]
Major cleanups of the hard_reset() code and config in coreboot.

 - Drop unused "#object reset.o" entries.

 - Use CONFIG_HAVE_HARD_RESET for all "object reset.o" entries.

 - Drop dead/commented code, i.e. useless hard_reset() from:
   - supermicro/x6dhe_g/auto.c
   - supermicro/x6dhe_g2/auto.c
   - supermicro/x6dhe_g2/auto.updated.c
   - supermicro/x6dhr_ig/auto.c
   - supermicro/x6dhr_ig2/auto.c
   - digitallogic/msm586seg/auto.c
   - dell/s1850/auto.c

 - Add "obj-$(CONFIG_HAVE_HARD_RESET) += reset.o" to kconfig files of boards
   that actually have a reset.c file.

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

14 years agoChange QEMU CPU Makefile.inc files to match other CPUs.
Uwe Hermann [Sat, 24 Oct 2009 19:07:05 +0000 (19:07 +0000)]
Change QEMU CPU Makefile.inc files to match other CPUs.

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

14 years agoremoval of that unnecessary include slipped through r4841
Stefan Reinauer [Sat, 24 Oct 2009 18:54:46 +0000 (18:54 +0000)]
removal of that unnecessary include slipped through r4841

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

14 years agohook up missing x86 SMM into Makefile
Stefan Reinauer [Sat, 24 Oct 2009 18:47:43 +0000 (18:47 +0000)]
hook up missing x86 SMM into Makefile

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

14 years agodrop support for various (old) PPC CPUs as per discussion from 9/10/9
Stefan Reinauer [Sat, 24 Oct 2009 18:46:08 +0000 (18:46 +0000)]
drop support for various (old) PPC CPUs as per discussion from 9/10/9

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

14 years agoadd CPP to xcompile in case we need it (trivial)
Stefan Reinauer [Sat, 24 Oct 2009 18:38:53 +0000 (18:38 +0000)]
add CPP to xcompile in case we need it (trivial)

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

14 years agoSome ACPI implementations don't like to see full paths within a scope for
Stefan Reinauer [Sat, 24 Oct 2009 18:36:51 +0000 (18:36 +0000)]
Some ACPI implementations don't like to see full paths within a scope for
CPU power management, so don't add the scope name

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

14 years agoRework the keyboard driver
Stefan Reinauer [Sat, 24 Oct 2009 18:15:07 +0000 (18:15 +0000)]
Rework the keyboard driver
* use readable macro names rather than numbers.
* Factor out some commonly used code

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

14 years agodrop src/include/stream/ as the source files from src/stream were dropped a
Stefan Reinauer [Sat, 24 Oct 2009 18:02:04 +0000 (18:02 +0000)]
drop src/include/stream/ as the source files from src/stream were dropped a
while ago...
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4841 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago* refactor x86 smi handler (put all debug stuff in an extra file smiutil.c)
Stefan Reinauer [Sat, 24 Oct 2009 17:59:36 +0000 (17:59 +0000)]
* refactor x86 smi handler (put all debug stuff in an extra file smiutil.c)
* lock other CPUs in SMI handler while one CPU is handling an SMI. Without
  this various racing scenarios could happen.

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

14 years agoTrivial regrouping of a calculation to simplify it.
Myles Watson [Sat, 24 Oct 2009 13:40:55 +0000 (13:40 +0000)]
Trivial regrouping of a calculation to simplify it.

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

14 years agoA (hypothetical southbridge) component might provide functionality that is not
Stefan Reinauer [Sat, 24 Oct 2009 13:13:37 +0000 (13:13 +0000)]
A (hypothetical southbridge) component might provide functionality that is not
available on all boards. Thus, only print a debug level warning instead of an
error.

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

14 years agore-order console output functions, add proper prototypes,
Stefan Reinauer [Sat, 24 Oct 2009 13:06:04 +0000 (13:06 +0000)]
re-order console output functions, add proper prototypes,
drop claim that our files were blatantly copied, because they have been
rewritten a very long time ago.

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

14 years agoFix USB Debug Device for Intel ICH chipsets
Stefan Reinauer [Sat, 24 Oct 2009 13:02:14 +0000 (13:02 +0000)]
Fix USB Debug Device for Intel ICH chipsets

The USB EHCI controller reset is not really needed on ICH, and in fact
the code bailed out there which is the most stupid thing to do. So just
keep trying.

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

14 years agoFix K8 boards high tables on UMA systems (KT690 for example)
Stefan Reinauer [Sat, 24 Oct 2009 12:40:52 +0000 (12:40 +0000)]
Fix K8 boards high tables on UMA systems (KT690 for example)

Thanks to Carl-Daniel for pointing this out with some example code.

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

14 years agos/object-y/obj-y/ in two southbridges, since otherwise kbuild will not pick up the...
Stefan Reinauer [Sat, 24 Oct 2009 03:55:24 +0000 (03:55 +0000)]
s/object-y/obj-y/ in two southbridges, since otherwise kbuild will not pick up the files
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4834 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFirst attempt to integrate SMM in Kconfig. Unused code so far
Stefan Reinauer [Sat, 24 Oct 2009 03:33:44 +0000 (03:33 +0000)]
First attempt to integrate SMM in Kconfig. Unused code so far

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

14 years agomove all register fram definitions to arch/register.h
Stefan Reinauer [Sat, 24 Oct 2009 00:47:07 +0000 (00:47 +0000)]
move all register fram definitions to arch/register.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@4832 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove left-overs from Winbond southbridge removal (trivial).
Uwe Hermann [Fri, 23 Oct 2009 23:30:31 +0000 (23:30 +0000)]
Remove left-overs from Winbond southbridge removal (trivial).

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

14 years agoDrop dead K8_SCAN_PCI_BUS code. It's a bad idea to scan the PCI busses before
Myles Watson [Fri, 23 Oct 2009 22:53:26 +0000 (22:53 +0000)]
Drop dead K8_SCAN_PCI_BUS code.  It's a bad idea to scan the PCI busses before
RAM is initialized, and no one does it.  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@4830 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoNew revision guide September 2009 3.46
Rudolf Marek [Fri, 23 Oct 2009 21:57:42 +0000 (21:57 +0000)]
New revision guide September 2009 3.46
Lets add some more CPUs.

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

14 years agodrop a lot of dead code, including an old winbond southbridge from our removed
Stefan Reinauer [Fri, 23 Oct 2009 19:33:52 +0000 (19:33 +0000)]
drop a lot of dead code, including an old winbond southbridge from our removed
ppc port, some ambiguous use of CONFIG_IDE and an unused ide driver (we dropped
the filesystems already to be used with it) (somewhat 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@4828 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoWhite space and comment fixes for cache_as_ram.inc files so it's easier to spot
Myles Watson [Fri, 23 Oct 2009 18:22:27 +0000 (18:22 +0000)]
White space and comment fixes for cache_as_ram.inc files so it's easier to spot
differences.  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@4827 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove PRINTK_IN_CAR tests from AMD files.
Myles Watson [Fri, 23 Oct 2009 18:19:22 +0000 (18:19 +0000)]
Remove PRINTK_IN_CAR tests from AMD files.

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

14 years agoVGA BIOS can be added independently of having a payload
Peter Stuge [Fri, 23 Oct 2009 12:14:15 +0000 (12:14 +0000)]
VGA BIOS can be added independently of having a payload

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

14 years agominimal whitespace fix (trivial)
Stefan Reinauer [Thu, 22 Oct 2009 17:02:44 +0000 (17:02 +0000)]
minimal whitespace fix (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4824 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agotrivial: add note that VSA blob belongs into CBFS.
Stefan Reinauer [Thu, 22 Oct 2009 16:59:33 +0000 (16:59 +0000)]
trivial: add note that VSA blob belongs into CBFS.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4823 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThe LAN chip-set on the Technexion TIM-5690 is enabled by hardware and
Libra Li [Thu, 22 Oct 2009 02:54:25 +0000 (02:54 +0000)]
The LAN chip-set on the Technexion TIM-5690 is enabled by hardware and
does not need any handling in software.

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