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

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

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

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

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

Ignore various temporary files via svn:ignore

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

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

Also, generate build.h atomically.

This fixes parallel build with kconfig on my box.

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

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

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

  #error "CONFIG_XIP_ROM_BASE is not a multiple of CONFIG_XIP_ROM_SIZE"

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

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

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

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

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

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

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

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

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

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

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

Also, fix lots of trivial warnings in the code.

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

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

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

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

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

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

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

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

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

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

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

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

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

HT_CHAIN_UNITID_BASE
HT_CHAIN_END_UNITID_BASE
SB_HT_CHAIN_ON_BUS0
SB_HT_CHAIN_UNITID_OFFSET_ONLY
MAX_CPUS
MAX_PHYSICAL_CPUS
ROM_SIZE
TSC_X86RDTSC_CALIBRATE_WITH_TIMER2

Also hook up asus/p2b-ds

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

14 years agoDocument CONFIG_PCI usage in the README (trivial).
Uwe Hermann [Sun, 24 Jan 2010 17:29:38 +0000 (17:29 +0000)]
Document CONFIG_PCI usage in the README (trivial).

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

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

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

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

14 years agoAdd missing files from the last commit (trivial).
Uwe Hermann [Sun, 24 Jan 2010 01:47:58 +0000 (01:47 +0000)]
Add missing files from the last commit (trivial).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Trivial!

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

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

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

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

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

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

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

msrtool -i 4c00000f='f2f100ff 56960004'

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

msrtool -i 4c00000f=f2f100ff:56960004

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 years agomsrtool: More trivial rearrangement
Peter Stuge [Sat, 16 Jan 2010 18:39:35 +0000 (18:39 +0000)]
msrtool: More trivial rearrangement

Rename some variables
Remove the 'found' variable which turns out not to be needed anyway

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

14 years agocoreboot has 13 instances of IOAPIC setup distributed across a lot
Stefan Reinauer [Sat, 16 Jan 2010 18:31:34 +0000 (18:31 +0000)]
coreboot has 13 instances of IOAPIC setup distributed across a lot
of components. This patch is a rewrite of the generic IOAPIC setup code.
Additionally it drops the other 12 instances of IOAPIC setup code and
makes the components use the generic code.

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

14 years agocoreboot used to have two different "APIs" for memory accesses:
Stefan Reinauer [Sat, 16 Jan 2010 17:53:38 +0000 (17:53 +0000)]
coreboot used to have two different "APIs" for memory accesses:

read32(unsigned long addr) vs readl(void *addr)
and
write32(unsigned long addr, uint32_t value) vs writel(uint32_t value, void *addr)

read32 was only available in __PRE_RAM__ stage, while readl was used in stage2.
Some unclean implementations then made readl available to __PRE_RAM__ too which
results in really messy includes and code.

This patch fixes all code to use the read32/write32 variant, so that we can
remove readl/writel in another patch.

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

14 years agoectool: Support for dumping EC "index ram"
Stefan Reinauer [Sat, 16 Jan 2010 17:50:55 +0000 (17:50 +0000)]
ectool: Support for dumping EC "index ram"

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

14 years agomsrtool: Remove indent by using continue inside for() to avoid an if block
Peter Stuge [Sat, 16 Jan 2010 17:21:17 +0000 (17:21 +0000)]
msrtool: Remove indent by using continue inside for() to avoid an if block

The only actual code change is from
if (.. >= 1) {
}
to
if (.. < 1)
continue
so this is pretty trivial.

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

14 years agoUpdate reference toolchain to
Stefan Reinauer [Sat, 16 Jan 2010 16:44:20 +0000 (16:44 +0000)]
Update reference toolchain to

gcc 4.4.2
binutils 2.20
gdb 7.0

and add mingw support.

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

14 years agoIntel D945GCLF: Enable SMI and ACPI in Kconfig, too (it's enabled in newconfig)
Stefan Reinauer [Sat, 16 Jan 2010 16:39:50 +0000 (16:39 +0000)]
Intel D945GCLF: Enable SMI and ACPI in Kconfig, too (it's enabled in newconfig)
and guard SMI specific parts of the ACPI code.
(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@5018 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago(trivial) cosmetics for i82801gx cmos failover.
Stefan Reinauer [Sat, 16 Jan 2010 16:37:27 +0000 (16:37 +0000)]
(trivial) cosmetics for i82801gx cmos failover.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5017 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago* drop reset files from 945 mainboards (and use southbridge specific reset)
Stefan Reinauer [Sat, 16 Jan 2010 16:35:38 +0000 (16:35 +0000)]
* drop reset files from 945 mainboards (and use southbridge specific reset)
* drop debug.c files from 945 mainboards (and share it in the northbridge code)
* adapt the mainboard and auto.c files for above changes.

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

14 years agonvramtool: Consider a string with non-printable characters a "bad value".
Stefan Reinauer [Sat, 16 Jan 2010 14:57:32 +0000 (14:57 +0000)]
nvramtool: Consider a string with non-printable characters a "bad value".
Otherwise nvramtool -a with random cmos contents can mess up your terminal.

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

14 years agoMake internal functions static in speedstep ACPI generation code.
Stefan Reinauer [Sat, 16 Jan 2010 13:49:03 +0000 (13:49 +0000)]
Make internal functions static in speedstep ACPI generation code.
(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@5014 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix stack base for Atom CPUs, the resume mechanism (cbmem etc) expects this.
Stefan Reinauer [Sat, 16 Jan 2010 13:48:20 +0000 (13:48 +0000)]
Fix stack base for Atom CPUs, the resume mechanism (cbmem etc) expects this.
This unifies the base with Core and Core 2 CPUs.

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

14 years agoMicro-optimization: movl $0 --> xorl.
Stefan Reinauer [Sat, 16 Jan 2010 13:47:07 +0000 (13:47 +0000)]
Micro-optimization: movl $0 --> xorl.

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

14 years agonew microcode for Intel Core 2(tm) CPUs
Stefan Reinauer [Sat, 16 Jan 2010 13:42:43 +0000 (13:42 +0000)]
new microcode for Intel Core 2(tm) CPUs
(taken from Intel's Linux microcode release)

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

14 years agoRTC: Don't drop the alpha specific code but get it in shape for our Kconfig scheme.
Stefan Reinauer [Sat, 16 Jan 2010 13:27:39 +0000 (13:27 +0000)]
RTC: Don't drop the alpha specific code but get it in shape for our Kconfig scheme.
(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@5010 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago(missing svn add)
Nils Jacobs [Fri, 15 Jan 2010 10:07:05 +0000 (10:07 +0000)]
(missing svn add)
Support for the AMD Geode GX2
Processors to Msrtool.
It seems to work as it was tested on a Wyse Winterm S50.

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

14 years agoSupport for the AMD Geode GX2
Nils Jacobs [Fri, 15 Jan 2010 10:06:39 +0000 (10:06 +0000)]
Support for the AMD Geode GX2
Processors to Msrtool.
It seems to work as it was tested on a Wyse Winterm S50.

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

14 years agoindent all of nvramtool to make it fit into coreboot's
Stefan Reinauer [Wed, 13 Jan 2010 21:00:23 +0000 (21:00 +0000)]
indent all of nvramtool to make it fit into coreboot's
coding style

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

14 years agoMake qemu use the udelay function in src/pc80/udelay_io.c
Patrick Georgi [Mon, 11 Jan 2010 09:05:52 +0000 (09:05 +0000)]
Make qemu use the udelay function in src/pc80/udelay_io.c
instead of the equivalent copy in src/cpu/emulation/qemu-x86/northbridge.c.
Also, delete the copy.

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

14 years ago- Makefile.romccboard.inc supports tinybootblock romcc boards, too.
Patrick Georgi [Fri, 8 Jan 2010 11:26:02 +0000 (11:26 +0000)]
- Makefile.romccboard.inc supports tinybootblock romcc boards, too.
- via/epia-cn is a romcc board, not a CAR board. (Thanks Kevin, for the report)
- Make emulation/qemu-x86, dell/s1850, via/epia-cn use Makefile.romccboard.inc
- New flag: BIG_BOOTBLOCK, which is always the inverse of tinybootblock
  Suitable for Makefile.inc rules (foo-$(CONFIG_BIG_BOOTBLOCK) += ...)

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

14 years agoPrint (empty) instead of nothing at all for empty
Maciej Pijanka [Thu, 7 Jan 2010 21:37:18 +0000 (21:37 +0000)]
Print (empty) instead of nothing at all for empty
filename entries (particularily "null" files)

Signed-off-by: Maciej Pijanka <maciej.pijanka@gmail.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5004 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMove fam10 temp files from build/ to build/northbridge/amd/amdfam10/ Trivial.
Myles Watson [Wed, 6 Jan 2010 17:05:37 +0000 (17:05 +0000)]
Move fam10 temp files from build/ to build/northbridge/amd/amdfam10/  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@5003 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoCheck for installed compilers (remove .xcompile) at make clean, not distclean.
Myles Watson [Wed, 6 Jan 2010 16:59:18 +0000 (16:59 +0000)]
Check for installed compilers (remove .xcompile) at make clean, not distclean.

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

14 years agoFix amdht on newer compilers.
Patrick Georgi [Wed, 6 Jan 2010 10:07:31 +0000 (10:07 +0000)]
Fix amdht on newer compilers.
We were lucky with friendly compilers. Now they're assuming too much.

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

14 years agoKconfig builds all boards now.
Patrick Georgi [Wed, 6 Jan 2010 09:14:08 +0000 (09:14 +0000)]
Kconfig builds all boards now.

This patch also aligns the configuration of a couple of
boards more closely to what newconfig does.

Also, the romstrap inc/lds files are declared in the
Makefiles of the southbridges they belong to, instead of
some global file.

AMD CPUs have their own timer functions, so disable UDELAY_IO
for them and set HAVE_INIT_TIMER as appropriate, same for
emulation/qemu-x86.

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

14 years ago- Let AMD CAR code pick the right XIP area
Rudolf Marek [Tue, 5 Jan 2010 17:35:44 +0000 (17:35 +0000)]
- Let AMD CAR code pick the right XIP area
  for tinybootblock
- move asus/m2v-mx_se to tinybootblock
- Add romstrap for via southbridge to tinybootblock-bootblock

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

14 years ago* Explicitly add __PRE_RAM__ where it should be added.
Stefan Reinauer [Tue, 5 Jan 2010 13:03:02 +0000 (13:03 +0000)]
* Explicitly add __PRE_RAM__ where it should be added.
* Don't implicitly add __PRE_RAM__ in romcc.

Fixes intel/xe7501devkit

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

14 years ago- Fix UDELAY options and HAVE_INIT_TIMER [kconfig]
Patrick Georgi [Mon, 4 Jan 2010 20:09:27 +0000 (20:09 +0000)]
- Fix UDELAY options and HAVE_INIT_TIMER [kconfig]
  (defaults to UDELAY_IO again, like newconfig)
- Use UDELAY_TSC on Via C7 [kconfig]
- Support Tinybootblock on Intel CPUs
- set XIP location correctly for Tinybootblock on Intel
- provide correct XIP location in Tinybootblock configuration
- Make kontron/986lcd-m use Tinybootblock
- Some kconfig fixes to kontron/986lcd-m [kconfig]

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

14 years ago- use LAPIC timer if selected (instead of TSC all the time) [kconfig]
Patrick Georgi [Mon, 4 Jan 2010 14:36:55 +0000 (14:36 +0000)]
- use LAPIC timer if selected (instead of TSC all the time) [kconfig]
- uncomment commented out intel socket [kconfig]
- HAVE_MOVNTI is a property of the cpu [kconfig]

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

14 years agoimprove debug output.
Stefan Reinauer [Sun, 3 Jan 2010 15:35:52 +0000 (15:35 +0000)]
improve debug output.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4995 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoromcc:
Patrick Georgi [Thu, 31 Dec 2009 12:56:53 +0000 (12:56 +0000)]
romcc:
- Set __PRE_RAM__ define per default
- Properly handle ignored (#ifdef'd out) #include lines

amd/serengeti_cheetah_fam10:
- write ACPI files to $(obj) instead of the top dir (alias $(CURDIR))

tinybootblock:
- provide a way to define code that should be added to the bootblock,
  to map the entire ROM for use by CBFS

amd/model_fxx, amd/model_10xxx:
- add CONFIG_SSE

walkcbfs.S:
- eliminate the use of two registers, to make space for romcc to wiggle

amd/serengeti_cheetah_fam10:
- use the enable_rom framework. not entirely functional yet

Boot-tested on emulation/qemu-x86
Build-tested on amd/serengeti_cheetah_fam10
amd/serengeti_cheetah_fam10 fails in amdht/ somewhere, but builds

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

14 years agotrival. All the changes is about comment and spaces.
Zheng Bao [Mon, 28 Dec 2009 09:59:44 +0000 (09:59 +0000)]
trival. All the changes is about comment and spaces.
In superio folder.

1. Delete trailing white spaces.
2. Change the // comment to /* */.
3. Add some copyright header.
4. reindent.
5. delete multi blank lines.

I tried my best to find them. If anything left, please fix it
or tell me.

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

14 years agoFix technexion tim5690 build failure - REALMODE option required for x86.c mainboard...
Marc Jones [Wed, 23 Dec 2009 22:16:18 +0000 (22:16 +0000)]
Fix technexion tim5690 build failure - REALMODE option required for x86.c mainboard function to be built.

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

14 years agonewconfig compilation failed with
Stefan Reinauer [Wed, 23 Dec 2009 19:46:36 +0000 (19:46 +0000)]
newconfig compilation failed with
(.text+0x4989): undefined reference to `vgabios_init'

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

14 years agoAdd mainboard x86emu interrupt function support. Add tim5690 VGA BIOS functions:...
Libra Li [Wed, 23 Dec 2009 19:16:47 +0000 (19:16 +0000)]
Add mainboard x86emu interrupt function support. Add tim5690 VGA BIOS functions: int15 getting LCD panel ID.

Signed-off-by: Libra Li <libra.li@technexion.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4990 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoTiny Bootblock, step 1/n.
Patrick Georgi [Wed, 23 Dec 2009 12:52:56 +0000 (12:52 +0000)]
Tiny Bootblock, step 1/n.

Introduce the tiny bootblock infrastructure and use it on QEmu.

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

14 years agomake strcmp happy by including string.h (trivial)
Stefan Reinauer [Mon, 21 Dec 2009 15:09:01 +0000 (15:09 +0000)]
make strcmp happy by including string.h (trivial)

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

14 years agoAllow user to specify the size of a newly created cbfs image
Patrick Georgi [Mon, 21 Dec 2009 13:50:37 +0000 (13:50 +0000)]
Allow user to specify the size of a newly created cbfs image
to be stated in kilobytes or megabytes. Usage is
cbfstool coreboot.rom create 1048576 coreboot.bootblock
cbfstool coreboot.rom create 1024k coreboot.bootblock
cbfstool coreboot.rom create 1m coreboot.bootblock
to get an 1048576 bytes = 1024kb = 1mb image.

Kconfig also uses this instead of calculating bytes from kilobytes itself.

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

14 years agoMake coreboot load VSA from CBFS on amd/gx2.
Patrick Georgi [Mon, 21 Dec 2009 12:32:29 +0000 (12:32 +0000)]
Make coreboot load VSA from CBFS on amd/gx2.

You have to convert the VSA bios image to ELF using the following
commands (assuming i386/32bit binutils, if in doubt, use crossgcc's
i386-elf-* tools):

objcopy --set-start 0x20 --adjust-vma 0x60000 -I binary -O elf32-i386 -B i386 vsa.binary vsa.o
ld -e 0x60020 --section-start .data=0x60000 vsa.o -o vsa.elf

Then, after build, use
cbfstool coreboot.rom add-stage vsa.elf vsa l
to add it to the image.

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

14 years agoClean up amd/dbm690t and kontron/986lcd-m some more (not
Patrick Georgi [Fri, 18 Dec 2009 16:43:30 +0000 (16:43 +0000)]
Clean up amd/dbm690t and kontron/986lcd-m some more (not
fully). Also fix the kconfig build for HAVE_ACPI_RESUME.

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

14 years agoCONFIG_K8_MEM_BANK_B_ONLY and CONFIG_PCIE_CONFIGSPACE_HOLE aren't used _anywhere_...
Patrick Georgi [Fri, 18 Dec 2009 15:29:23 +0000 (15:29 +0000)]
CONFIG_K8_MEM_BANK_B_ONLY and CONFIG_PCIE_CONFIGSPACE_HOLE aren't used _anywhere_, so drop
them from view (they could be dropped from newconfig, too - but why bother?)

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

14 years agoFilter out some more K8/Fam10 specific options on unrelated boards.
Patrick Georgi [Fri, 18 Dec 2009 13:36:43 +0000 (13:36 +0000)]
Filter out some more K8/Fam10 specific options on unrelated boards.
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@4983 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago- speed up board comparison by only building abuild configs, not the whole
Stefan Reinauer [Fri, 18 Dec 2009 10:20:15 +0000 (10:20 +0000)]
- speed up board comparison by only building abuild configs, not the whole
  target.
- use a template for mktemp (fixes OSX error)
- convert all numbers to hex to make comparison easier.

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

14 years agoMake "KBuild report" a bit happier
Stefan Reinauer [Thu, 17 Dec 2009 18:47:50 +0000 (18:47 +0000)]
Make "KBuild report" a bit happier
- drop some unused options from "newconfig"
- filter some Kconfig only options from the report
- drop targets directory of a non existent mainboard.

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

14 years agominor bug in the cbfs documentation (trivial)
Stefan Reinauer [Thu, 17 Dec 2009 09:42:30 +0000 (09:42 +0000)]
minor bug in the cbfs documentation (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@4980 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMake sure that the h8dmr_fam10 has the proper version string.
Ward Vandewege [Wed, 16 Dec 2009 19:48:45 +0000 (19:48 +0000)]
Make sure that the h8dmr_fam10 has the proper version string.

This is a trivial patch.

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

14 years agoThe drivers for the k8t890 weren't being built. Increased heapsize.
Myles Watson [Mon, 14 Dec 2009 21:52:56 +0000 (21:52 +0000)]
The drivers for the k8t890 weren't being built. Increased heapsize.

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

14 years agocrossgcc: Fix MPFR download location
Peter Stuge [Sun, 13 Dec 2009 13:39:01 +0000 (13:39 +0000)]
crossgcc: Fix MPFR download location

We want to download a specific version so fetch it from the right directory.

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

14 years agoPush VSA into CBFS for amd/lx systems. It's not hooked up to
Patrick Georgi [Thu, 10 Dec 2009 17:38:30 +0000 (17:38 +0000)]
Push VSA into CBFS for amd/lx systems. It's not hooked up to
the build system yet, so some additional steps are necessary.
It's not that bad, given that the code didn't work before.

You have to convert the VSA bios image to ELF using the following
commands (assuming i386/32bit binutils, if in doubt, use crossgcc's
i386-elf-* tools):

objcopy --set-start 0x20 --adjust-vma 0x60000 -I binary -O elf32-i386 -B i386 vsa.binary vsa.o
ld -e 0x60020 --section-start .data=0x60000 vsa.o -o vsa.elf

Then, after build, use
cbfstool coreboot.rom add-stage vsa.elf vsa l
to add it to the image.

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

14 years agocbfstool: Fill memory allocated in create_cbfs_file() with 0xff
Peter Stuge [Sun, 6 Dec 2009 12:14:39 +0000 (12:14 +0000)]
cbfstool: Fill memory allocated in create_cbfs_file() with 0xff

This should improve programming speed a bit.

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

14 years agoTrivial fixes for kconfig. They fix all non-fam10 build failures.
Myles Watson [Wed, 2 Dec 2009 21:11:12 +0000 (21:11 +0000)]
Trivial fixes for kconfig.  They fix all non-fam10 build failures.

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

14 years agoTrivial fix for kconfig socket 441 (typo was 411) so that d945gclf builds.
Myles Watson [Wed, 2 Dec 2009 05:43:50 +0000 (05:43 +0000)]
Trivial fix for kconfig socket 441 (typo was 411) so that d945gclf builds.

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

14 years agoEliminate some noise in the output of compareboard on non-K8/Fam10h boards
Patrick Georgi [Tue, 1 Dec 2009 18:19:42 +0000 (18:19 +0000)]
Eliminate some noise in the output of compareboard on non-K8/Fam10h boards

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

14 years agoNot all boards cope with automatically sized bootblocks, leading to 4GB
Patrick Georgi [Tue, 1 Dec 2009 09:35:19 +0000 (09:35 +0000)]
Not all boards cope with automatically sized bootblocks, leading to 4GB
images due to the "helpful" 4GB rollover behaviour of ld(1).

Back out r4961, something like this should go in eventually, but more
completely tested and working.

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

14 years agoAtom only supports 32bit MTRRs (trivial)
Stefan Reinauer [Tue, 1 Dec 2009 08:15:38 +0000 (08:15 +0000)]
Atom only supports 32bit MTRRs (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@4970 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoTrivial. SCH4304 and SCH4307 have the same device id.
Zheng Bao [Tue, 1 Dec 2009 03:22:16 +0000 (03:22 +0000)]
Trivial. SCH4304 and SCH4307 have the same device id.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4969 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd support for the SMSC SCH4304 Super I/O.
Zheng Bao [Mon, 30 Nov 2009 23:53:06 +0000 (23:53 +0000)]
Add support for the SMSC SCH4304 Super I/O.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4968 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMaciej Pijanka tried to get the Biostar M6TLD running, and created a patch for
Maciej Pijanka [Sat, 28 Nov 2009 09:31:30 +0000 (09:31 +0000)]
Maciej Pijanka tried to get the Biostar M6TLD running, and created a patch for
440lx using the 440bx code as a template.

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

14 years agomsrtool: Fix simple breakage in r4964
Peter Stuge [Sat, 28 Nov 2009 05:30:57 +0000 (05:30 +0000)]
msrtool: Fix simple breakage in r4964

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