coreboot.git
13 years agolibpayload: fix garbage on screen with Geode-LX VGA
Jens Rottmann [Wed, 18 Aug 2010 21:23:27 +0000 (21:23 +0000)]
libpayload: fix garbage on screen with Geode-LX VGA

Clear initial garbage in VGA memory and fix scroll_up, which scrolled 1 scanline
instead of 1 text line by mistake.

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5722 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThe attached file add pa78vm5 dev3 detection function to avoid the building error.
Wang Qing Pei [Wed, 18 Aug 2010 01:55:11 +0000 (01:55 +0000)]
The attached file add pa78vm5 dev3 detection function to avoid the building error.

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

13 years agoAttached patch removes unnecessary IRQ routing info (for ACPI, mptable etc needs...
Rudolf Marek [Tue, 17 Aug 2010 21:03:17 +0000 (21:03 +0000)]
Attached patch removes unnecessary IRQ routing info (for ACPI, mptable etc needs to be fixed too). The devicetree.cb changes should reflect now the real board configuration. It has one 16x slot and 1x slot (GPP device 9) and GPP device a is onboard ethernet. The mainboard.c now presents the board name and
I removed the gpio asserts - I think those are not used here.

The pcie 1x slot works, the x1 card I have does not work in 16x slot, but in orig bios I cannot see it any slot, so it is kind of better.

The classic PCI slot works fine too. However it seems SATA has some issues.

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

13 years agoCorrect for size_t would be %zx, but coreboot's printf doesn't support this.
Jens Rottmann [Tue, 17 Aug 2010 16:32:42 +0000 (16:32 +0000)]
Correct for size_t would be %zx, but coreboot's printf doesn't support this.
Trying to keep it simple:  Two sizes are expected equal so use same %x for both.
Cast to unsigned int to make sure it fits.

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

13 years agoCommit (non-working!) Jetway PA78VM5 mainboard
Wang Qing Pei [Tue, 17 Aug 2010 15:19:32 +0000 (15:19 +0000)]
Commit (non-working!) Jetway PA78VM5 mainboard

Signed-off-by: Wang Qing Pei <wangqingpei@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5718 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoSupport for Fintek F71863FG. This might need some work on the copyright
Wang Qing Pei [Tue, 17 Aug 2010 15:05:05 +0000 (15:05 +0000)]
Support for Fintek F71863FG. This might need some work on the copyright
notices. Getting it into the tree so people can get to it.

Signed-off-by: Wang Qing Pei <wangqingpei@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5717 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoimage parsing for getpir
Marc Bertens [Tue, 17 Aug 2010 11:32:21 +0000 (11:32 +0000)]
image parsing for getpir

when adding for example build/coreboot_ram as parameter
it looks in the file for the PIRQ table prints it to stdout
and shows if the checksum is correct.

getpir works as before without any commandline parameters.

This is very handy for developing a PIRQ table.

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

13 years agoAnother AMD 780/700 mainboard: Gigabyte MA78GM-US2H
Wang Qing Pei [Tue, 17 Aug 2010 11:22:40 +0000 (11:22 +0000)]
Another AMD 780/700 mainboard: Gigabyte MA78GM-US2H

http://www.gigabyte.cn/products/product-page.aspx?pid=3118#ov
the simple config is
AM2+DDR2+SB700+RS780, the superIO is IT8718F

The patch has been tested with SeaBIOS + SUSE11.2

Signed-off-by: Wang Qing Pei <wangqingpei@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5715 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoTilapila supports both dual slot and single slot. The difference should be
Wang Qing Pei [Tue, 17 Aug 2010 11:11:09 +0000 (11:11 +0000)]
Tilapila supports both dual slot and single slot. The difference should be
detected by the existence of dev3. Some other RS780 mainboard has
the same function. The patch added the function to make these boards work
smoothly.

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

13 years agoAdd support for Gigabyte MA785GMT mainboard.
Wang Qing Pei [Tue, 17 Aug 2010 11:08:31 +0000 (11:08 +0000)]
Add support for Gigabyte MA785GMT mainboard.

Details of the hardware configuration can be found at
http://www.gigabyte.com/products/product-page.aspx?pid=3478

Brief configuration is:
  1. CPU:Support for AM3 processors: AMD PhenomTM II processor/ AMD Athlon™ II processor
  2. North Bridge: AMD 785G
  3. South Bridge: AMD SB710
  4: Super IO : ITE8718F

The mainboard has two bios flashchip. Coreboot ROM should be flashed into the
M_BIOS (which means main bios).

Signed-off-by: Wang Qing Pei <wangqingpei@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5713 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agofix nokia ip530 Kconfig, missed on last check-in
Stefan Reinauer [Tue, 17 Aug 2010 10:54:36 +0000 (10:54 +0000)]
fix nokia ip530 Kconfig, missed on last check-in

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

13 years agolibpayload: Add function to fix CMOS checksum.
Stefan Reinauer [Tue, 17 Aug 2010 10:14:50 +0000 (10:14 +0000)]
libpayload: Add function to fix CMOS checksum.

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

13 years agoWhatever happened here,... The DEC Tulip is a network card, no bridge of any
Stefan Reinauer [Tue, 17 Aug 2010 09:52:01 +0000 (09:52 +0000)]
Whatever happened here,... The DEC Tulip is a network card, no bridge of any
kind. Move it to drivers and make the necessary adaptions. Also drop empty
drivers/generic/generic and start cleaning up Makefiles in drivers/

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

13 years agoAdd support for the Intel NM10 (a variant of ICH7) and ICH8 southbridges.
Corey Osgood [Tue, 17 Aug 2010 08:33:44 +0000 (08:33 +0000)]
Add support for the Intel NM10 (a variant of ICH7) and ICH8 southbridges.
Both are tested and appear to be working, however I'm not 100% clear
on if the NM10 has any other PCI IDs.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5709 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd support for Fintek F81216D/DG/AD
Stefan Reinauer [Tue, 17 Aug 2010 08:24:01 +0000 (08:24 +0000)]
Add support for Fintek F81216D/DG/AD

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

13 years agoClarify comment a bit
Patrick Georgi [Tue, 17 Aug 2010 07:46:50 +0000 (07:46 +0000)]
Clarify comment a bit

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

13 years agoAdd support for the Nuvoton NCT5571D. This chip acts nothing like the other
Corey Osgood [Tue, 17 Aug 2010 07:14:44 +0000 (07:14 +0000)]
Add support for the Nuvoton NCT5571D. This chip acts nothing like the other
supported Nuvoton chip, but identical to a Winbond, and Nuvoton is a subsidary
of Winbond, so for simplicity's sake I've added it to the Winbond file.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5706 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoLook for actual framebuffer size instead of hardcoding UMA
Rudolf Marek [Tue, 17 Aug 2010 06:18:47 +0000 (06:18 +0000)]
Look for actual framebuffer size instead of hardcoding UMA

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

13 years agoFix warnings (that become errors) in AMDHT for certain configurations (unused functions)
Xavi Drudis Ferran [Tue, 17 Aug 2010 06:12:59 +0000 (06:12 +0000)]
Fix warnings (that become errors) in AMDHT for certain configurations (unused functions)

Signed-off-by: Xavi Drudis Ferran <xdrudis@tinet.cat>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5704 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoFeature of lane reversal of AMD RS780 is tested.
Zheng Bao [Tue, 17 Aug 2010 02:14:53 +0000 (02:14 +0000)]
Feature of lane reversal of AMD RS780 is tested.

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

13 years agoWhite space changes for s2881 device tree.
Myles Watson [Mon, 16 Aug 2010 20:00:49 +0000 (20:00 +0000)]
White space changes for s2881 device tree.

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

13 years agosconfig parser:
Stefan Reinauer [Mon, 16 Aug 2010 18:21:56 +0000 (18:21 +0000)]
sconfig parser:
 - print erroneous string in error message
 - print line numbers starting from 1 instead of 0
 - exit with return code 1 on errors
 - check return values of fopen operations
 - only create output file if input file was parsed without errors

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

13 years agoFix strcmp and strncmp. They failed in several important scenarios
Patrick Georgi [Mon, 16 Aug 2010 18:04:13 +0000 (18:04 +0000)]
Fix strcmp and strncmp. They failed in several important scenarios

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

13 years agoAdd #define that states the libpci interface version we implement
Patrick Georgi [Mon, 16 Aug 2010 17:51:47 +0000 (17:51 +0000)]
Add #define that states the libpci interface version we implement
(flashrom needs it)

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

13 years agoCall mainboard init functions.
Myles Watson [Mon, 16 Aug 2010 16:25:23 +0000 (16:25 +0000)]
Call mainboard init functions.

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

13 years agoGigabyte dual bios mainboard will always reboot, caused by the superio.
Wang Qing Pei [Sun, 15 Aug 2010 11:37:41 +0000 (11:37 +0000)]
Gigabyte dual bios mainboard will always reboot, caused by the superio.
After lots of testing, the SuperIO LDN 7, register 0xEF is the key to the
problem. This patch adds a function which stops dual bios mainboards from
rebooting, when called.

Signed-off-by: Wang Qing Pei <wangqingpei@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5697 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoMy forgotten CAR cleanup patch...
Stefan Reinauer [Sat, 14 Aug 2010 20:38:17 +0000 (20:38 +0000)]
My forgotten CAR cleanup patch...

- Drop lots of dead code from the various cache_as_ram.inc files.
- Use some descriptive macros instead of magic numbers for MTRR MSRs
- drop unused duplicate descriptors from romstage GDT
- slightly reformatting code and comments

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

13 years agoMy old mcp55 azalia fix from May 2010. Was never checked in.
Stefan Reinauer [Sat, 14 Aug 2010 17:45:54 +0000 (17:45 +0000)]
My old mcp55 azalia fix from May 2010. Was never checked in.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5695 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agobootblock_prologue.c (not a .c file!) and i386/init/crt0_prologue.inc were
Stefan Reinauer [Sat, 14 Aug 2010 17:31:49 +0000 (17:31 +0000)]
bootblock_prologue.c (not a .c file!) and i386/init/crt0_prologue.inc were
pretty much 1:1 the same file (despite an include and a typo) so drop one
instance of it. We only have one prologue.inc for the romstage code now.

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

13 years agoclean up comment in entry32.inc
Stefan Reinauer [Sat, 14 Aug 2010 17:27:27 +0000 (17:27 +0000)]
clean up comment in entry32.inc

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

13 years agoBuild 8151 for s2885. Trivial.
Myles Watson [Fri, 13 Aug 2010 15:42:09 +0000 (15:42 +0000)]
Build 8151 for s2885.  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@5692 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd support for OHCI controllers and prelimiary support for xHCI (USB3) controllers.
Patrick Georgi [Fri, 13 Aug 2010 09:18:58 +0000 (09:18 +0000)]
Add support for OHCI controllers and prelimiary support for xHCI (USB3) controllers.
Improve scanning for USB controllers.

Limitations:
- OHCI doesn't support interrupt transfers yet (ie. no keyboards)
- xHCI just does initialization and device attach/detach so far

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

13 years agoSuperiotool support for the IT8500 embedded controller.
Donald Huang [Tue, 10 Aug 2010 23:34:51 +0000 (23:34 +0000)]
Superiotool support for the IT8500 embedded controller.

Signed-off-by: Donald Huang <donald.huang@ite.com.tw>
Signed-off-by: Yung-chieh Lo <yjlou@google.com>
Signed-off-by: David Hendricks <dhendrix@google.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5690 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoSome chips do not require enter/exit sequences. This causes them to be
David Hendricks [Mon, 9 Aug 2010 23:13:13 +0000 (23:13 +0000)]
Some chips do not require enter/exit sequences. This causes them to be
detected and printed multiple times in probe_idregs_* functions where a
simple series of enter --> probe/print --> exit calls are made.

This patch adds a simple check after each set of those calls to make the
functions quit after a chip is found.

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

13 years agomake sconfig parser regeneration menu selectable
Stefan Reinauer [Mon, 9 Aug 2010 13:28:18 +0000 (13:28 +0000)]
make sconfig parser regeneration menu selectable

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

13 years agoFix build error introduced in r5868.
Patrick Georgi [Mon, 9 Aug 2010 12:58:16 +0000 (12:58 +0000)]
Fix build error introduced in r5868.

aliased_name was a compatibility hack to match the output of the C rewrite
with the python version's results. It seems that we carried these
useless symbols with us for years, just without any impact good or bad.

By declaring devices static and tightening the screws (-Werror), the
compiler now knows that these declarations are useless - and stops.

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

13 years agonon-root devices are not supposed to be accessed outside of static.c except by
Stefan Reinauer [Mon, 9 Aug 2010 12:02:00 +0000 (12:02 +0000)]
non-root devices are not supposed to be accessed outside of static.c except by
walking the tree.

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

13 years agoChange default path and configuration for Coreinfo.
Myles Watson [Thu, 5 Aug 2010 14:41:29 +0000 (14:41 +0000)]
Change default path and configuration for Coreinfo.

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

13 years agoThe number of cores is got by reading the bit 15,13,12 of [0,24,3,e8].
Zheng Bao [Thu, 5 Aug 2010 06:12:16 +0000 (06:12 +0000)]
The number of cores is got by reading the bit 15,13,12 of [0,24,3,e8].
The bit 15 seems to be a new feature when CPU started to have more than 4
cores.

Zheng

Yes, this was add for revD.

Marc Jones

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

13 years agoRemove warnings from USB debug console code.
Myles Watson [Wed, 4 Aug 2010 19:29:11 +0000 (19:29 +0000)]
Remove warnings from USB debug console code.

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

13 years agoDrop the USE_PRINTK_IN_CAR option. It's a bogus decision to make for any user /
Stefan Reinauer [Tue, 3 Aug 2010 15:42:29 +0000 (15:42 +0000)]
Drop the USE_PRINTK_IN_CAR option. It's a bogus decision to make for any user /
board porter: printk should always be available in CAR mode.

Also drop CONFIG_USE_INIT, it's only been selected on one ASROCK board
but it's not been used there. Very odd.

There is one usage of CONFIG_USE_INIT which was always off in
src/cpu/intel/car/cache_as_ram.inc and we have to figure out what to do with
those few lines.

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

13 years agoVGA code needs to be refactored before it can be compiled conditionally.
Myles Watson [Tue, 3 Aug 2010 15:01:39 +0000 (15:01 +0000)]
VGA code needs to be refactored before it can be compiled conditionally.

Revert until someone with the boards refactors 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@5681 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoBuild VGA code conditionally to avoid errors when using SeaBIOS.
Myles Watson [Mon, 2 Aug 2010 15:14:13 +0000 (15:14 +0000)]
Build VGA code conditionally to avoid errors when using SeaBIOS.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Kevin O'Connor <kevin@koconnor.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5680 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdds id for ITE IT8707F to superiotool.
Mattias Mattsson [Mon, 2 Aug 2010 02:34:20 +0000 (02:34 +0000)]
Adds id for ITE IT8707F to superiotool.

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

13 years agomake early_mtrr_init() invisible for cache as ram targets as it breaks them.
Stefan Reinauer [Sun, 1 Aug 2010 17:22:17 +0000 (17:22 +0000)]
make early_mtrr_init() invisible for cache as ram targets as it breaks them.
Fix up converted mainboards that still used early_mtrr_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@5678 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoClarify a comment on an old hack, remove the call to early_mtrr_init
Corey Osgood [Sun, 1 Aug 2010 17:20:20 +0000 (17:20 +0000)]
Clarify a comment on an old hack, remove the call to early_mtrr_init
that causes CAR to hang, provide more debugging output wrt memory size,
and correct the numbering on the ram init sequence.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5677 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years ago- fix SMM code relocation race
Stefan Reinauer [Sun, 1 Aug 2010 15:41:14 +0000 (15:41 +0000)]
- fix SMM code relocation race
- make SMM relocation debugging Kconfig accessible
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@5676 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoadd i945GSE to inteltool
Björn Busse [Sun, 1 Aug 2010 15:33:30 +0000 (15:33 +0000)]
add i945GSE to inteltool

Signed-off-by: Björn Busse <bj.rn@co-assembler.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5675 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoUpdate my old, no longer active email addresses
Corey Osgood [Sun, 1 Aug 2010 02:33:42 +0000 (02:33 +0000)]
Update my old, no longer active email addresses

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5674 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd support for the Intel Atom D400/500- and N400-series integrated
Corey Osgood [Thu, 29 Jul 2010 19:25:31 +0000 (19:25 +0000)]
Add support for the Intel Atom D400/500- and N400-series integrated
northbridge. Also add support for the very similar Q963/965 northbridge.
Tested:
  D510: confirmed working, with MCHBAR enable code
  Q965: writes to bit 0 to enable MCHBAR access are ignored, all other functions work

Untested:
  D410/D525/N400: should be the same northbridge

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5673 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoResolved the bug of filo+libpayload building. The bug is if libpayload is installed...
Cai Bai Yin [Thu, 29 Jul 2010 00:08:21 +0000 (00:08 +0000)]
Resolved the bug of filo+libpayload building. The bug is if libpayload is installed before filo load "make -C ../libpayload/Makefile DEST=**", it would not
install correctly. Also, distclean removes .xcompile now.

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

13 years agoLet Geode GX2 use geode_post_code.h just like Geode LX
Nils Jacobs [Wed, 28 Jul 2010 00:27:09 +0000 (00:27 +0000)]
Let Geode GX2 use geode_post_code.h just like Geode LX

Also clean up gx2def.h and geode_post_code.h a little.
abuild tested and boot tested on a Wyse S50.

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

13 years agoAdd src/cpu/amd/model_gx2/cache_as_ram.inc missing from r5669
Nils Jacobs [Tue, 27 Jul 2010 00:30:42 +0000 (00:30 +0000)]
Add src/cpu/amd/model_gx2/cache_as_ram.inc missing from r5669

Part of converting GX2 to use CAR.

Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5670 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThis patch converts the Geode GX2 boards to CAR.
Nils Jacobs [Mon, 26 Jul 2010 23:46:25 +0000 (23:46 +0000)]
This patch converts the Geode GX2 boards to CAR.
Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Joseph Smith <joe@settoplinux.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5669 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoMake include paths more consistent. Fixes compilation errors for me.
Myles Watson [Mon, 26 Jul 2010 21:45:11 +0000 (21:45 +0000)]
Make include paths more consistent.  Fixes compilation errors for me.

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

13 years agoSuperiotool support for Nuvoton WPCE775x/NPCE781x.
David Hendricks [Thu, 22 Jul 2010 22:56:44 +0000 (22:56 +0000)]
Superiotool support for Nuvoton WPCE775x/NPCE781x.

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

13 years agoAdd support for the console over Ethernet (through PCI NE2000).
Rudolf Marek [Fri, 16 Jul 2010 20:02:09 +0000 (20:02 +0000)]
Add support for the console over Ethernet (through PCI NE2000).

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Cristian Magherusan-Stanciu <cristi.magherusan@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5666 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoTrivial: Improve error reporting of sconfig slightly by reporting the line number.
Patrick Georgi [Thu, 15 Jul 2010 15:59:07 +0000 (15:59 +0000)]
Trivial: Improve error reporting of sconfig slightly by reporting the line number.

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

13 years agobecome more standard with libpayload headers. PATH_MAX belongs in limits.h,
Stefan Reinauer [Fri, 9 Jul 2010 18:52:17 +0000 (18:52 +0000)]
become more standard with libpayload headers. PATH_MAX belongs in limits.h,
tiny curses can use standard includes now.

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

13 years agoTrivial -Werror fix.
Cristi M [Fri, 9 Jul 2010 18:06:23 +0000 (18:06 +0000)]
Trivial -Werror fix.

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

13 years agoTrivial fix to make CONFIG_BOOTBLOCK_NORMAL switch compile again.
Myles Watson [Fri, 9 Jul 2010 14:24:23 +0000 (14:24 +0000)]
Trivial fix to make CONFIG_BOOTBLOCK_NORMAL switch compile again.

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

13 years agoUgly temporary fix until we figure out how to deal with the race condition.
Myles Watson [Thu, 8 Jul 2010 17:20:07 +0000 (17:20 +0000)]
Ugly temporary fix until we figure out how to deal with the race condition.

Justification:
- dbm690t isn't actively developed (no new warnings will be introduced)
- having this board fail clutters the mailing list

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

13 years agoFix all warnings in the tree
Stefan Reinauer [Thu, 8 Jul 2010 16:41:05 +0000 (16:41 +0000)]
Fix all warnings in the tree

(does not fix the cmos.layout race yet)

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

13 years agoget rid of even more fam10 and k8 warnings.
Stefan Reinauer [Thu, 8 Jul 2010 00:37:23 +0000 (00:37 +0000)]
get rid of even more fam10 and k8 warnings.

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

13 years agofix some more warnings
Stefan Reinauer [Wed, 7 Jul 2010 21:59:06 +0000 (21:59 +0000)]
fix some more warnings

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

13 years agofix some warnings.
Stefan Reinauer [Wed, 7 Jul 2010 17:51:41 +0000 (17:51 +0000)]
fix some warnings.

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

13 years agoKill a few more warnings.
Myles Watson [Wed, 7 Jul 2010 15:09:09 +0000 (15:09 +0000)]
Kill a few more warnings.

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

13 years agoEliminate a couple of warnings from setup_resourcemap.c
Myles Watson [Tue, 6 Jul 2010 21:40:11 +0000 (21:40 +0000)]
Eliminate a couple of warnings from setup_resourcemap.c

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

13 years agoSelect HAVE_OPTION_TABLE for msi/ms9652_fam10. It fixes the build and doesn't
Myles Watson [Tue, 6 Jul 2010 21:37:39 +0000 (21:37 +0000)]
Select HAVE_OPTION_TABLE for msi/ms9652_fam10.  It fixes the build and doesn't
change the behavior, since it is disabled by default.

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

13 years agoRe-integrate "USE_OPTION_TABLE" code.
Edwin Beasant [Tue, 6 Jul 2010 21:05:04 +0000 (21:05 +0000)]
Re-integrate "USE_OPTION_TABLE" code.

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

13 years agoA bug fix:
Myles Watson [Tue, 6 Jul 2010 20:36:36 +0000 (20:36 +0000)]
A bug fix:
Fix the ctrl_devport_conf_clear to clear the enable bit.

A simplification:
Dynamically enable ck804s that are found instead of relying on #defines.
Removing an Opteron changes the number of ck804s that are present.

Simple changes to make it easier to compare the factory BIOS with Coreboot when
using SerialICE for boards with the Nvidia ck804 chipset:
If the mask is zero, don't read the value, just write the new value over 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@5652 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd support to IT85xx series
Anton Kochkov [Tue, 29 Jun 2010 21:26:17 +0000 (21:26 +0000)]
Add support to IT85xx series
Signed-off-by: Anton Kochkov <anton.kochkov@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5651 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd support to extended EC series
Anton Kochkov [Tue, 29 Jun 2010 21:13:20 +0000 (21:13 +0000)]
Add support to extended EC series
Signed-off-by: Anton Kochkov <anton.kochkov@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5650 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agofix misnamed functions.
Stefan Reinauer [Tue, 29 Jun 2010 21:02:32 +0000 (21:02 +0000)]
fix misnamed functions.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5649 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoRun doxygen -u on doxygen configuration files
Stefan Reinauer [Mon, 28 Jun 2010 10:40:38 +0000 (10:40 +0000)]
Run doxygen -u on doxygen configuration files
(make sure we can build images in parallel)

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

13 years agoAdd new function to create all mptable entries for buses by
Patrick Georgi [Fri, 25 Jun 2010 13:43:22 +0000 (13:43 +0000)]
Add new function to create all mptable entries for buses by
reading that information from the device tree.

Use this function on kontron/986lcd-m

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

13 years ago__i386__ and __powerpc__ are set by the compiler already.
Patrick Georgi [Thu, 24 Jun 2010 14:43:17 +0000 (14:43 +0000)]
__i386__ and __powerpc__ are set by the compiler already.
Not need to set them in lpgcc.

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

13 years agoIncomplete implementation of libpci's (of pciutils) interface.
Patrick Georgi [Thu, 24 Jun 2010 14:15:49 +0000 (14:15 +0000)]
Incomplete implementation of libpci's (of pciutils) interface.

No pciutils code was harmed in its production - this code was written by
looking at flashrom's expectations, so there's no license pollution.

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

13 years agofix return value checks of cbfstool's writerom
Stefan Reinauer [Thu, 24 Jun 2010 13:37:59 +0000 (13:37 +0000)]
fix return value checks of cbfstool's writerom
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5644 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAttached patch moves functions out of the huge libpayload.h into headers
Patrick Georgi [Thu, 24 Jun 2010 11:16:10 +0000 (11:16 +0000)]
Attached patch moves functions out of the huge libpayload.h into headers
according to libc/posix traditions, to simplify porting applications to
payloads.

It also adds a couple of functions:
strcasecmp, strncasecmp, strcat, strtol, strspn, strcspn, strtok_r,
strtok, perror, exit, getpagesize

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

13 years agoAdd __LIBPAYLOAD__ and __i386__/__powerpc__ symbols to lpgcc's build context.
Patrick Georgi [Thu, 24 Jun 2010 11:14:51 +0000 (11:14 +0000)]
Add __LIBPAYLOAD__ and __i386__/__powerpc__ symbols to lpgcc's build context.

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

13 years agoFinish fixing Tyan s2881. Simplify ADT7463 initialization code.
Myles Watson [Tue, 22 Jun 2010 20:36:52 +0000 (20:36 +0000)]
Finish fixing Tyan s2881.  Simplify ADT7463 initialization code.

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

13 years agoFix libpayload xconfig script to find coreboot utils xgcc.
Cai Bai Yin [Tue, 22 Jun 2010 19:12:58 +0000 (19:12 +0000)]
Fix libpayload xconfig script to find coreboot utils xgcc.

Signed-off-by: Cai Bai Yin <caibaiyin.pku@gmail.com>
Acked-By: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5640 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoChange the libpayload "make install" default destination to be the source directory...
Cai Bai Yin [Tue, 22 Jun 2010 17:24:11 +0000 (17:24 +0000)]
Change the libpayload "make install" default destination to be the source directory. Libpayload is not a runtime library and has many different configurations for different payloads, so doesn't really belong in /opt.

Signed-off-by: Cai Bai Yin <caibaiyin.pku@gmail.com>
Acked-By: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5639 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThis patch adds support for the Intel D810E2CB (i810e/ICH2) desktop board. Hurray...
Joseph Smith [Mon, 21 Jun 2010 23:27:15 +0000 (23:27 +0000)]
This patch adds support for the Intel D810E2CB (i810e/ICH2) desktop board. Hurray, this is the first i810 board running CAR.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5638 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThis patch adds support for the Intel D810E2CB (i810e/ICH2) desktop board. Hurray...
Joseph Smith [Mon, 21 Jun 2010 23:25:06 +0000 (23:25 +0000)]
This patch adds support for the Intel D810E2CB (i810e/ICH2) desktop board. Hurray, this is the first i810 board running CAR.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5637 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoCreate new socket for FCPGA370 and PGA370 CPU's for CAR. Add CAR support for Coppermi...
Joseph Smith [Mon, 21 Jun 2010 19:40:09 +0000 (19:40 +0000)]
Create new socket for FCPGA370 and PGA370 CPU's for CAR. Add CAR support for Coppermine FC-PGA CPU's (model_68x).
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5636 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThis patch implements GFXUMA on all supported i810 boards. Also some fix-ups to the...
Joseph Smith [Sun, 20 Jun 2010 18:59:40 +0000 (18:59 +0000)]
This patch implements GFXUMA on all supported i810 boards. Also some fix-ups to the i810 northbridge.c code.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5635 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoTrivial. Cleaning up about the blank line.
Zheng Bao [Sat, 19 Jun 2010 06:55:17 +0000 (06:55 +0000)]
Trivial. Cleaning up about the blank line.

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

13 years agoAlways enable parent resources before child resources.
Myles Watson [Thu, 17 Jun 2010 16:16:56 +0000 (16:16 +0000)]
Always enable parent resources before child resources.

Always initialize parents before children.

Move s2881 code into a driver.

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

13 years agoThis patch adds inteltool support for i810E and ICH2.
Joseph Smith [Wed, 16 Jun 2010 22:21:19 +0000 (22:21 +0000)]
This patch adds inteltool support for i810E and ICH2.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5632 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoFollow up to the USB refactoring patch: Missed setting pid values correctly.
Patrick Georgi [Fri, 11 Jun 2010 14:25:40 +0000 (14:25 +0000)]
Follow up to the USB refactoring patch: Missed setting pid values correctly.

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

13 years agoFix a missing include file that was breaking the Traverse Geos build.
Edwin Beasant [Thu, 10 Jun 2010 16:19:02 +0000 (16:19 +0000)]
Fix a missing include file that was breaking the Traverse Geos build.

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

13 years agoThis commit updates the Geode LX GLCP delay control setup from the v2 way to the...
Edwin Beasant [Thu, 10 Jun 2010 15:24:57 +0000 (15:24 +0000)]
This commit updates the Geode LX GLCP delay control setup from the v2 way to the v3 way.
This resolves problems with terminated DRAM modules.
Signed-off-by: Edwin Beasant <edwin_beasant@virtensys.com>
Acked-by: Roland G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5629 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoCheck for NULL before calling device_match()
Myles Watson [Thu, 10 Jun 2010 04:06:52 +0000 (04:06 +0000)]
Check for NULL before calling device_match()

It matters for multifunction devices who don't have siblings.

The error in the rumba device tree created that situation.

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

13 years agoThe devicetree was wrong, but I'm still surprised it broke. This fixes the
Myles Watson [Thu, 10 Jun 2010 03:14:00 +0000 (03:14 +0000)]
The devicetree was wrong, but I'm still surprised it broke.  This fixes the
board, but doesn't fix the device tree parsing.

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

13 years agoSame conversion as with resources from static arrays to lists, except
Myles Watson [Wed, 9 Jun 2010 22:41:35 +0000 (22:41 +0000)]
Same conversion as with resources from static arrays to lists, except
there is no free list.

Converting resource arrays to lists reduced the size of each device
struct from 1092 to 228 bytes.

Converting link arrays to lists reduced the size of each device struct
from 228 to 68 bytes.

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

13 years agoMake k8 & fam10 northbridge.c code more similar.
Myles Watson [Wed, 9 Jun 2010 22:39:00 +0000 (22:39 +0000)]
Make k8 & fam10 northbridge.c code more similar.

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

13 years agoThe interrupt controller lives at I/O 0x4d0/0x4d1.
Stefan Reinauer [Wed, 9 Jun 2010 19:07:19 +0000 (19:07 +0000)]
The interrupt controller lives at I/O 0x4d0/0x4d1.
However on these platforms we were causing a resource conflict by
letting the resource allocator start allocations at 0x400.
Change the constraints to start at 0x1000 so we avoid allocating over
LPT ports (0x778-0x77f), PCI (0xcf8-0xcff) and some other fixed
resources that might live down there (smbus base, acpi base,...)

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

13 years agoThis patch adds the ECS P6IWP-Fe board to coreboot.
Anders Jenbo [Wed, 9 Jun 2010 08:08:12 +0000 (08:08 +0000)]
This patch adds the ECS P6IWP-Fe board to coreboot.

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