coreboot.git
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

13 years agoFix auto-mangled comments (trivial)
Patrick Georgi [Tue, 8 Jun 2010 05:57:05 +0000 (05:57 +0000)]
Fix auto-mangled comments (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@5622 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoFix some of Peter's suggestions for the Nokia IP530.
Myles Watson [Mon, 7 Jun 2010 20:15:54 +0000 (20:15 +0000)]
Fix some of Peter's suggestions for the Nokia IP530.

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

13 years agoRemove the rest of cardbus_scan_bus.
Myles Watson [Mon, 7 Jun 2010 17:12:57 +0000 (17:12 +0000)]
Remove the rest of cardbus_scan_bus.

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

13 years agocardbus_scan_bridge is identical to pci_scan_bridge
Myles Watson [Mon, 7 Jun 2010 16:51:11 +0000 (16:51 +0000)]
cardbus_scan_bridge is identical to pci_scan_bridge
(since PCI_PRIMARY_BUS == PCI_CB_PRIMARY_BUS.)  Remove it.
Fix a typo while there.

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

13 years agoThis patch extends the reserved resources for the cs5536 to avoid the excluded
Myles Watson [Mon, 7 Jun 2010 15:39:04 +0000 (15:39 +0000)]
This patch extends the reserved resources for the cs5536 to avoid the excluded
range as detailed on p104 of the cs5536 Device Data Book.

Extended to 0x1000.  Same change for cs5535.

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

13 years agoMake sure VSA is linked as ELF32 for i386 (instead of whatever the compiler considers...
Patrick Georgi [Mon, 7 Jun 2010 14:09:41 +0000 (14:09 +0000)]
Make sure VSA is linked as ELF32 for i386 (instead of whatever the compiler considers native).

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

13 years agoAvoid using the name "pid_t", which is used on unixoid systems.
Patrick Georgi [Mon, 7 Jun 2010 13:58:17 +0000 (13:58 +0000)]
Avoid using the name "pid_t", which is used on unixoid systems.
Move controller specific data structures into private headers,
to avoid conflicts between controller drivers.
Factor out the USB PID ids, which are only exposed on UHCI. It's
of not much use on the other controllers.

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

13 years agoreplace outb -> port 0x80 with post_code() in some places.
Stefan Reinauer [Mon, 7 Jun 2010 08:29:36 +0000 (08:29 +0000)]
replace outb -> port 0x80 with post_code() in some places.
Especially most _smbus functions misuse port 0x80 writes for delays.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5615 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoFix two warnings:
Stefan Reinauer [Sat, 5 Jun 2010 10:03:08 +0000 (10:03 +0000)]
Fix two warnings:

108 src/arch/i386/include/arch/acpi.h:402:5: warning: "CONFIG_HAVE_ACPI_SLIC" is not defined
  1 src/mainboard/getac/p470/mainboard.c:83: warning: assignment discards qualifiers from pointer target type

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

13 years agotly cosmetical. don't use movw because we use mov in most places.
Stefan Reinauer [Sat, 5 Jun 2010 09:52:37 +0000 (09:52 +0000)]
tly cosmetical. don't use movw because we use mov in most places.
Also, drop some dead code at the very end where some segment registers
get set up and are immediately overwritten by pops.

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

13 years agoThis patch fixes the option rom code that was buggy when it switched
Edwin Beasant [Fri, 4 Jun 2010 20:32:12 +0000 (20:32 +0000)]
This patch fixes the option rom code that was buggy when it switched
segment registers before restoring register values. This was breaking
the Geode VSA, and probably would have hurt other option roms as well.

Signed-off-by: Edwin Beasant <edwin_beasant@virtensys.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Nils Jacobs <njacobs8@hetnet.nl>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5612 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoKconfig value is hex, not int.
Myles Watson [Fri, 4 Jun 2010 20:24:11 +0000 (20:24 +0000)]
Kconfig value is hex, not int.

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

13 years ago128KB is the default, and isn't large enough with the 30K payload for abuild.
Myles Watson [Fri, 4 Jun 2010 20:20:37 +0000 (20:20 +0000)]
128KB is the default, and isn't large enough with the 30K payload for abuild.

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

13 years agoFixes for Nokia IP530 and associated drivers.
Marc Bertens [Fri, 4 Jun 2010 19:53:55 +0000 (19:53 +0000)]
Fixes for Nokia IP530 and associated drivers.

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

13 years agoEnable PCI_OPTION_ROM_REALMODE when GEODE_VSA is selected.
Myles Watson [Fri, 4 Jun 2010 15:55:12 +0000 (15:55 +0000)]
Enable PCI_OPTION_ROM_REALMODE when GEODE_VSA is selected.

Using YABEL isn't supported for the VSA, so don't allow a choice.

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

13 years agoThis patch replaces the headers of the following files:
Frank Vibrans [Fri, 4 Jun 2010 07:49:53 +0000 (07:49 +0000)]
This patch replaces the headers of the following files:

src/cpu/amd/model_fxx/model_fxx_update_microcode.c
src/northbridge/amd/amdk8/amdk8_acpi.c
src/southbridge/amd/amd8132/amd8132_bridge.c

Signed-off-by: Frank Vibrans <frank.vibrans@amd.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
http://www.coreboot.org/pipermail/coreboot/2010-June/058668.html

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

13 years agoThe code was ported. Now it is what it should be.
Zheng Bao [Thu, 3 Jun 2010 07:51:09 +0000 (07:51 +0000)]
The code was ported. Now it is what it should be.

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

13 years agoFix hard-coded log levels.
Myles Watson [Wed, 2 Jun 2010 21:13:44 +0000 (21:13 +0000)]
Fix hard-coded log levels.

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

13 years agoFix a format string to keep the compiler happy.
Marc Bertens [Tue, 1 Jun 2010 19:28:45 +0000 (19:28 +0000)]
Fix a format string to keep the compiler happy.

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

13 years agoCONFIG_DEBUG is too generic. Remove it and replace it with CONFIG_DEBUG_SMBUS
Myles Watson [Tue, 1 Jun 2010 19:25:31 +0000 (19:25 +0000)]
CONFIG_DEBUG is too generic.  Remove it and replace it with CONFIG_DEBUG_SMBUS
and CONFIG_DEBUG_PIRQ.

Fix a couple of typos.

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

13 years agoCheck the value of ulzma and do not continue if there was an error.
Myles Watson [Tue, 1 Jun 2010 15:19:25 +0000 (15:19 +0000)]
Check the value of ulzma and do not continue if there was an error.

Print fewer characters for pointers to make the output more concise.

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

13 years agointeltool: basic poulsbo sch support.
Stefan Reinauer [Tue, 1 Jun 2010 10:04:28 +0000 (10:04 +0000)]
inteltool: basic poulsbo sch support.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5601 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agodon't generate C source code file but use objcopy to include the SMM blob.
Stefan Reinauer [Sun, 30 May 2010 13:44:32 +0000 (13:44 +0000)]
don't generate C source code file but use objcopy to include the SMM blob.

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

13 years agoThis patch adds support for mainboard iBASE:MB899
Bernhard M. Wiedemann [Sun, 30 May 2010 12:56:17 +0000 (12:56 +0000)]
This patch adds support for mainboard iBASE:MB899

based on Kontron 986LCD-M
changed superIO chip to w83627ehg, dropping MIDI
dropped second superIO at 4e
changed superIO-addr from 2e to 4e
adjusted irq_tables.c and devicetree.cb
dropped setup of 3xGBit-Ethernet
adjusted IRQ-map (using values from mainboard/intel/d945gclf)
disabled parts about HD-audio (missing on that board)

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

13 years agowhitespace cleanup inteltool cpu.c
Stefan Reinauer [Sun, 30 May 2010 12:35:39 +0000 (12:35 +0000)]
whitespace cleanup inteltool cpu.c
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5598 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdded support to ICH9 chipset family
Anton Kochkov [Sun, 30 May 2010 12:33:12 +0000 (12:33 +0000)]
Added support to ICH9 chipset family
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@5597 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd Intel Atom microcode
Stefan Reinauer [Fri, 28 May 2010 16:21:21 +0000 (16:21 +0000)]
Add Intel Atom microcode
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5596 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoFix MBI walker.
Joseph Smith [Thu, 27 May 2010 22:47:13 +0000 (22:47 +0000)]
Fix MBI walker.

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

13 years agofix warnings.
Stefan Reinauer [Thu, 27 May 2010 15:41:15 +0000 (15:41 +0000)]
fix 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@5594 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoUpdate Intel microcode include files from their web page.
Stefan Reinauer [Wed, 26 May 2010 17:08:13 +0000 (17:08 +0000)]
Update Intel microcode include files from their web page.
This still requires someone to adjust the #includes in the
model_XXX_init.c files but with a script we're getting closer
to automate the update of 3rd party files.

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

13 years agoUse the microcode files as created by the new microcode update script. (Fixes some...
Stefan Reinauer [Wed, 26 May 2010 16:54:33 +0000 (16:54 +0000)]
Use the microcode files as created by the new microcode update script. (Fixes some whitespace and gets in new time stamps).
No new microcode files included.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5592 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoDrop problematically licensed Intel microcode files
Stefan Reinauer [Wed, 26 May 2010 12:55:14 +0000 (12:55 +0000)]
Drop problematically licensed Intel microcode files
and replace them by their counterparts from Intel's
opensource microcode file.

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

13 years agocosmetical changes on intel's microcode.c
Stefan Reinauer [Wed, 26 May 2010 12:53:43 +0000 (12:53 +0000)]
cosmetical changes on intel's microcode.c

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