coreboot.git
14 years agoRemove extra CONFIG variables.
Myles Watson [Fri, 9 Oct 2009 17:40:34 +0000 (17:40 +0000)]
Remove extra CONFIG variables.

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

14 years agoRemove default n statements to simplify .config and ldoptions files.
Myles Watson [Fri, 9 Oct 2009 17:39:35 +0000 (17:39 +0000)]
Remove default n statements to simplify .config and ldoptions files.

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

14 years agoMove the ulzma prototype out of the function to make the code easier to read.
Myles Watson [Fri, 9 Oct 2009 15:22:35 +0000 (15:22 +0000)]
Move the ulzma prototype out of the function to make the code easier to read.

Check the return value.  Minor formatting and LAR -> CBFS.

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

14 years agoRemaining boards are Kconfig'd now. Whether they work
Patrick Georgi [Fri, 9 Oct 2009 14:10:28 +0000 (14:10 +0000)]
Remaining boards are Kconfig'd now. Whether they work
or not still depends on how close the configuration
options are to what they should be.

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

14 years agoMore Kconfig-supported boards, and also kconfig support
Patrick Georgi [Fri, 9 Oct 2009 12:32:52 +0000 (12:32 +0000)]
More Kconfig-supported boards, and also kconfig support
for amd/socket_AM2R2, amd/socket_939, drivers/ati/ragexl

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

14 years agoMore kconfig cleanups:
Uwe Hermann [Fri, 9 Oct 2009 11:47:21 +0000 (11:47 +0000)]
More kconfig cleanups:

 - Use "default n" for all components that shall be "select"ed.

 - Use "0x0" instead of "0" for hex variables for clarity and to reduce
   the risk of people passing integer instead of hex values to such variables.

 - Add TODO comments for boards that have irq_tables.c but don' set
   CONFIG_HAVE_PIRQ_TABLE = 1. Someone with the hardware should test enabling.

 - ASUS M2V-MX SE doesn't have irq_tables.c so don't define
   IRQ_SLOT_COUNT in its Kconfig file.

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

14 years agoFix CS5535 build for kconfig, more kconfig boards (lippert, artec)
Patrick Georgi [Thu, 8 Oct 2009 20:17:14 +0000 (20:17 +0000)]
Fix CS5535 build for kconfig, more kconfig boards (lippert, artec)

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

14 years agoSimplify targets/amd/serengeti_cheetah/Config.lb. There were too many
Myles Watson [Thu, 8 Oct 2009 18:50:16 +0000 (18:50 +0000)]
Simplify targets/amd/serengeti_cheetah/Config.lb.  There were too many
variables being set incorrectly.

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

14 years agoThis dialogue on email was useful and hence included.
Ronald G. Minnich [Thu, 8 Oct 2009 17:10:20 +0000 (17:10 +0000)]
This dialogue on email was useful and hence included.

failover.inc MUST come after enable_sse or your CPU will hang.

> Can you say why?

yes. if you compile failover.c with romcc options that include sse,
then you'll see code like this in failover.inc:
mov eax, %xmm0

This will hang if you have not first enabled sse.
Verified yesterday on the dell s1850.

>
> Does it hang in the SSE code or in the failover code?

It will hang in failover code, if that code was compiled with sse enabled
AND if the sse registers are used.

>
> Does this mean that failover requires SSE in order to work?

It may or it may not.
But if you compile it with romcc options that include sse,
and it uses sse without sse being enabled, it will hang.
This is a particularly nasty bug in that the failover code is not
guaranteed to compile in a way that sse is used, even if sse is
enabled; hence, this could be very hard to catch.
I'm lucky this bug appeared as soon as it did.

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

14 years agoSet MMX and SSE where needed. Note that many boards don't even bother
Ronald G. Minnich [Thu, 8 Oct 2009 16:06:09 +0000 (16:06 +0000)]
Set MMX and SSE where needed. Note that many boards don't even bother
with this as many boards (AMD in particular) use CAR.

This list determined by a series of greps etc. on mainboards, no humans
were harmed in the making of this list.

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

14 years agoDisable x86emu for via based boards which bring
Patrick Georgi [Thu, 8 Oct 2009 15:12:31 +0000 (15:12 +0000)]
Disable x86emu for via based boards which bring
their own vgabios.c

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

14 years agoMore kconfig:
Patrick Georgi [Thu, 8 Oct 2009 14:31:56 +0000 (14:31 +0000)]
More kconfig:
AMD LX
AMD SC520
boards by iei, pcengines, technexion, technologic, thomson

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

14 years agoOops, wrong type for Kconfig value. Trivial fix
Patrick Georgi [Thu, 8 Oct 2009 10:19:20 +0000 (10:19 +0000)]
Oops, wrong type for Kconfig value. Trivial fix

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

14 years agoKconfig: AMD Fam10, all Tyan boards.
Patrick Georgi [Thu, 8 Oct 2009 07:43:09 +0000 (07:43 +0000)]
Kconfig: AMD Fam10, all Tyan boards.
Fam10 doesn't build due to size constraints at this time.

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

14 years agoEmergency fix. Failover.inc can end up with code that uses sse. It has
Ronald G. Minnich [Wed, 7 Oct 2009 22:53:30 +0000 (22:53 +0000)]
Emergency fix. Failover.inc can end up with code that uses sse. It has
to be run AFTER SSE is set up. I just had this problem cause a failure
today.

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

14 years agoMajor CONFIG_IRQ_TABLE_COUNT fixing and cleanups. Some of these boards
Uwe Hermann [Wed, 7 Oct 2009 21:51:33 +0000 (21:51 +0000)]
Major CONFIG_IRQ_TABLE_COUNT fixing and cleanups. Some of these boards
and PIRQ tables were actually wrong, I cannot imagine they ever
worked properly.

 - Use CONFIG_IRQ_TABLE_COUNT in all irq_tables.c files instead of
   hard-coded numbers.

 - Make all CONFIG_IRQ_TABLE_COUNT values in irq_tables.c match Options.lb.

 - Make all CONFIG_IRQ_TABLE_COUNT values match the actual number of entries
   in the irq_tables.c file.

 - Set all CONFIG_IRQ_SLOT_COUNT values in src/.../Options.lb for those
   boards where they were set to 0 (in order to be overridden in
   the respective targets/.../Config.lb).

   This is mainly done to aid Patrick's scripts for kconfig conversion.

 - Fix a number of comments in irq_tables.c files.

 - Drop CONFIG_IRQ_SLOT_COUNT usage from boards that don't have irq_tables.c:
    - tyan/s1846
    - asus/a8v-e_se
    - asus/m2v-mx_se

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

14 years agoKconfig allows you to run all PCI ROMs, VGA only, or non-VGA only.
Myles Watson [Wed, 7 Oct 2009 18:41:08 +0000 (18:41 +0000)]
Kconfig allows you to run all PCI ROMs, VGA only, or non-VGA only.
Update the code to support that too.

Remove an unused variable.

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

14 years agoFix trivial typo in Kconfig spotted by Peter, introduced by me.
Patrick Georgi [Wed, 7 Oct 2009 18:07:49 +0000 (18:07 +0000)]
Fix trivial typo in Kconfig spotted by Peter, introduced by me.

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

14 years agoGet rid of early_serial, it is now a generic function in early_init.
Ronald G. Minnich [Wed, 7 Oct 2009 18:03:41 +0000 (18:03 +0000)]
Get rid of early_serial, it is now a generic function in early_init.
Add some more enables to the s1850.

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

14 years agoConvert all "default y" options to "select FOO" (shorter).
Uwe Hermann [Wed, 7 Oct 2009 16:29:12 +0000 (16:29 +0000)]
Convert all "default y" options to "select FOO" (shorter).

Also, drop per-board CONSOLE_VGA/PCI_ROM_RUN while I'm at it, they're
global options in kconfig.

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

14 years agoVarious Kconfig fixes and improvements:
Uwe Hermann [Wed, 7 Oct 2009 16:15:40 +0000 (16:15 +0000)]
Various Kconfig fixes and improvements:

 - Add helps texts to multiple user-visible Kconfig options.

 - Improve some menu and option names.

 - PAYLOAD_NONE should come before PAYLOAD_ELF, so that you scroll down
   (instead of up) when changing "no payload" to "ELF payload" (more
   intuitive, IMHO).

 - s/cbfs/cbfstool/.

 - Add some TODO items where needed.

 - Put GDB_STUB in a "Debugging" menu, no options should be top-level.
   There'll be more debug options later, I'm pretty sure.

 - Start converting help texts which are not user-visible to #-comments.

 - Re-order some options for more intuitive menus.

 - Set ARCH_X86 and ARCH_POWERPC to "default n", each boards selects them.

 - "Maximum reboot count" should proabably not be user-selectable, or at
   most if CONFIG_EXPERT (yet to be added) is enabled. It does definately
   not need its own "Misc options" menu.

 - Set PCI_ROM_RUN and VGA_ROM_RUN to "default y", most users will want to
   run option ROMs.

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

14 years agoFix intel board build on kconfig. MAX_CPUS was missing
Patrick Georgi [Wed, 7 Oct 2009 16:00:40 +0000 (16:00 +0000)]
Fix intel board build on kconfig. MAX_CPUS was missing

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

14 years agoKconfig:
Patrick Georgi [Wed, 7 Oct 2009 15:30:58 +0000 (15:30 +0000)]
Kconfig:
- Add AMD Socket 754,
- Fix MCP55 boards (romstrap)
- Implement remaining MSI boards

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

14 years agoEnable full ROM access on AMD CS5530(A) (needed for CBFS).
Uwe Hermann [Wed, 7 Oct 2009 14:36:16 +0000 (14:36 +0000)]
Enable full ROM access on AMD CS5530(A) (needed for CBFS).

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

14 years agoMore boards in kconfig, and moved -O2 flag for romcc into
Patrick Georgi [Wed, 7 Oct 2009 14:13:36 +0000 (14:13 +0000)]
More boards in kconfig, and moved -O2 flag for romcc into
ROMCCFLAGS, so boards can override it where necessary.

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

14 years agoUse
Uwe Hermann [Tue, 6 Oct 2009 22:25:21 +0000 (22:25 +0000)]
Use
  select UDELAY_TSC
  select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
for all 440BX and i810 boards as per Options.lb.

The UDELAY_IO / TSC / LAPIC / HPET setup will probably be checked
and improved later when the kconfig transition is done. For now
we keep the same values as in Options.lb.

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

14 years agoVarious fixes to Kconfig: All kconfig-boards should have a
Patrick Georgi [Tue, 6 Oct 2009 20:48:07 +0000 (20:48 +0000)]
Various fixes to Kconfig: All kconfig-boards should have a
complete set of variables now, though they might still have
the wrong values.

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

14 years agoRemove duplicate device trees for Tyan s289x. Remove pre-CBFS statements.
Myles Watson [Tue, 6 Oct 2009 20:36:34 +0000 (20:36 +0000)]
Remove duplicate device trees for Tyan s289x.  Remove pre-CBFS statements.

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

14 years agoBackport facility to specify a local coreboot version suffix from v3.
Uwe Hermann [Mon, 5 Oct 2009 13:55:28 +0000 (13:55 +0000)]
Backport facility to specify a local coreboot version suffix from v3.

Tested on QEMU.

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

14 years agoRemove svn:externals that pull in all kinds of useful tools that
Patrick Georgi [Mon, 5 Oct 2009 12:58:48 +0000 (12:58 +0000)]
Remove svn:externals that pull in all kinds of useful tools that
are not needed for building coreboot.

The website tells you where to get them individually.

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

14 years agoWithout these fixes the w83627dhg driver (which is currently not used by any
Stefan Reinauer [Mon, 5 Oct 2009 12:08:37 +0000 (12:08 +0000)]
Without these fixes the w83627dhg driver (which is currently not used by any
mainboard in the tree) does neither compile nor work.

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

14 years agofix building on Linux again, working around crude runtime OS detection.
Stefan Reinauer [Mon, 5 Oct 2009 10:23:36 +0000 (10:23 +0000)]
fix building on Linux again, working around crude runtime OS detection.

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

14 years agoPCI_ROM_RUN and CONSOLE_VGA are global options in Kconfig and
Uwe Hermann [Mon, 5 Oct 2009 00:07:12 +0000 (00:07 +0000)]
PCI_ROM_RUN and CONSOLE_VGA are global options in Kconfig and
should not be set in per-mainboard Kconfigs.

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

14 years agoThe new CBFS based build system requires the whole ROM to be accessible
Uwe Hermann [Sun, 4 Oct 2009 23:50:06 +0000 (23:50 +0000)]
The new CBFS based build system requires the whole ROM to be accessible
in very early stages, otherwise the boot may hang like this because
the CBFS headers cannot be found/accessed:

  Uncompressing coreboot to RAM.
  Jumping to image.
  Check CBFS header at fffedfe0
  magic is ffffffff
  ERROR: No valid CBFS header found!
  CBFS:  Could not find file fallback/coreboot_ram
  Jumping to image.

This patch enables full ROM access on all 440BX boards right after the
serial init (and before CBFS headers are parsed).

Build-tested and runtime-tested on ASUS P2B-F.

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

14 years agoThis does away with CONFIG_ROM_PAYLOAD_START and CONFIG_PAYLOAD_SIZE.
Patrick Georgi [Sun, 4 Oct 2009 18:55:40 +0000 (18:55 +0000)]
This does away with CONFIG_ROM_PAYLOAD_START and CONFIG_PAYLOAD_SIZE.
Both were only really used in pre-cbfs, as the payload's size isn't
relevant for the build process anymore.

Various calculations in {no,}failovercalculation.lb are adapted
accordingly.

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

14 years agoAdd initial kconfig support for all AMD GX1 boards.
Uwe Hermann [Sun, 4 Oct 2009 17:15:39 +0000 (17:15 +0000)]
Add initial kconfig support for all AMD GX1 boards.

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

14 years agoThis removes the uses of the buildrom utility and the coreboot.strip
Patrick Georgi [Sun, 4 Oct 2009 12:30:44 +0000 (12:30 +0000)]
This removes the uses of the buildrom utility and the coreboot.strip
intermediate file.

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

14 years agoRemove a bit of pre-cbfs build system infrastructure.
Patrick Georgi [Sun, 4 Oct 2009 12:27:48 +0000 (12:27 +0000)]
Remove a bit of pre-cbfs build system infrastructure.
Payloads are compressed by cbfstool itself, no need for external tools.

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

14 years agoRemove another FAILOVER variable. (trivial)
Patrick Georgi [Sat, 3 Oct 2009 21:13:36 +0000 (21:13 +0000)]
Remove another FAILOVER variable. (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@4716 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd gigabyte/m57sli support to Kconfig.
Harald Gutmann [Sat, 3 Oct 2009 21:06:53 +0000 (21:06 +0000)]
Add gigabyte/m57sli support to Kconfig.
Whitespace fixes to devicetree.cb

Signed-off-by: Harald Gutmann <harald.gutmann@gmx.net>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4715 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMove HAVE_FAILOVER_BOOT and USE_FAILOVER_IMAGE from
Patrick Georgi [Sat, 3 Oct 2009 21:04:13 +0000 (21:04 +0000)]
Move HAVE_FAILOVER_BOOT and USE_FAILOVER_IMAGE from
boards to global. It's not a per-board value, but
compatibility stuff.

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

14 years agoTell vgabios code in a couple of boards/chipsets about CBFS
Patrick Georgi [Sat, 3 Oct 2009 16:27:48 +0000 (16:27 +0000)]
Tell vgabios code in a couple of boards/chipsets about CBFS

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

14 years agoRemove:
Patrick Georgi [Sat, 3 Oct 2009 16:24:58 +0000 (16:24 +0000)]
Remove:
- CONFIG_CBFS
- anything that's conditional on CONFIG_CBFS == 0
- files that were only included for CONFIG_CBFS == 0
In particular:
- elfboot
- stream boot code
- mini-filo and filesystems (depends on stream boot code)

After this commit, there is no way to build an image that is not using
CBFS anymore.

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

14 years agoRemove duplicate and not too useful Kconfig board comments as
Uwe Hermann [Sat, 3 Oct 2009 15:34:08 +0000 (15:34 +0000)]
Remove duplicate and not too useful Kconfig board comments as
per discussion on the mailing list.

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

14 years agoRemove the Embedded Planet board.
Ronald G. Minnich [Fri, 2 Oct 2009 15:46:10 +0000 (15:46 +0000)]
Remove the Embedded Planet board.

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

14 years agoRemove left-over targets/motorola/*, fix Dell PowerEdge 1850 name.
Uwe Hermann [Fri, 2 Oct 2009 12:45:18 +0000 (12:45 +0000)]
Remove left-over targets/motorola/*, fix Dell PowerEdge 1850 name.

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

14 years agoRemove motorola PPC boards. These have lain untouched and unused by anyone
Ronald G. Minnich [Fri, 2 Oct 2009 03:36:30 +0000 (03:36 +0000)]
Remove motorola PPC boards. These have lain untouched and unused by anyone
for years.

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

14 years agoDrop remainders of the removed Totalimpact board. Fix typos.
Uwe Hermann [Fri, 2 Oct 2009 00:08:00 +0000 (00:08 +0000)]
Drop remainders of the removed Totalimpact board. Fix typos.

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

14 years agoSupport variables for MMX and SSE. These would be used in
Ronald G. Minnich [Thu, 1 Oct 2009 23:22:50 +0000 (23:22 +0000)]
Support variables for MMX and SSE. These would be used in
e.g. Makefile.romcc.inc to enable certain features.

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

14 years agoAdd some trivial numbers for 945, and Core2 Duo E8200 Intel parts
Peter Stuge [Thu, 1 Oct 2009 22:34:18 +0000 (22:34 +0000)]
Add some trivial numbers for 945, and Core2 Duo E8200 Intel parts

Sorry, but I've forgotten where I found them. :\

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

14 years agoAdd romstrap to asus/m2v-mx_se in Kconfig.
Myles Watson [Thu, 1 Oct 2009 18:23:28 +0000 (18:23 +0000)]
Add romstrap to asus/m2v-mx_se in Kconfig.

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

14 years agoGet rid of the total impact. Vendor died 5 years ago and nobody cares.
Ronald G. Minnich [Thu, 1 Oct 2009 16:51:36 +0000 (16:51 +0000)]
Get rid of the total impact. Vendor died 5 years ago and nobody cares.

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

14 years agoFix Kconfig build for K8 boards.
Myles Watson [Thu, 1 Oct 2009 16:24:58 +0000 (16:24 +0000)]
Fix Kconfig build for K8 boards.

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

14 years agoOK, this builds and even looks right. dell needs its own Makefile.inc because
Ronald G. Minnich [Thu, 1 Oct 2009 15:59:49 +0000 (15:59 +0000)]
OK, this builds and even looks right. dell needs its own Makefile.inc because
it is a P4 and it needs SSE for romcc not to go into infinite loop.

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

14 years agotypo
Ronald G. Minnich [Thu, 1 Oct 2009 15:47:14 +0000 (15:47 +0000)]
typo

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

14 years agoWe need this to be Kconfig. The old way is not trusted by me.
Ronald G. Minnich [Thu, 1 Oct 2009 15:41:39 +0000 (15:41 +0000)]
We need this to be Kconfig. The old way is not trusted by me.

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

14 years agoThis is now set up more like the real hardware likes it.
Ronald G. Minnich [Thu, 1 Oct 2009 00:02:28 +0000 (00:02 +0000)]
This is now set up more like the real hardware likes it.
Some of this trickery was determined with serialice.
There are several lovely undocumented features to the chipset.

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

14 years agoFix payload loading in various corner cases when working
Patrick Georgi [Wed, 30 Sep 2009 21:36:38 +0000 (21:36 +0000)]
Fix payload loading in various corner cases when working
with the bounce buffer.
In particular, the not-so-rare configuration of AMD boards with RAMBASE at
2MB shouldn't crash anymore for payloads that take > 1MB in total

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

14 years agoCompress stage if CONFIG_COMPRESS is activated, instead of
Patrick Georgi [Wed, 30 Sep 2009 19:54:15 +0000 (19:54 +0000)]
Compress stage if CONFIG_COMPRESS is activated, instead of
relying on payload compression configuration (disabled when
using abuild without payload, for example)

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

14 years agoHm, quickfix to prevent the following crash, no idea yet what happens:
Uwe Hermann [Wed, 30 Sep 2009 17:14:24 +0000 (17:14 +0000)]
Hm, quickfix to prevent the following crash, no idea yet what happens:

*** glibc detected *** ././inteltool: double free or corruption (top): 0x08db0260 ***

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

14 years agoAdd initial inteltool support for Intel 440BX/440LX and 82371AB/EB/MB.
Maciej Pijanka [Wed, 30 Sep 2009 17:05:46 +0000 (17:05 +0000)]
Add initial inteltool support for Intel 440BX/440LX and 82371AB/EB/MB.

Signed-off-by: Maciej Pijanka <maciej.pijanka@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4694 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd supermicro h8dmr fam10 target. This is largely a mashup of the tyan s2912
Ward Vandewege [Wed, 30 Sep 2009 14:46:43 +0000 (14:46 +0000)]
Add supermicro h8dmr fam10 target. This is largely a mashup of the tyan s2912
fam10 and h8dmr k8 targets.

Many, many thanks to Marc, Myles, Patrick and Stepan for all their help with
this, and to Arne for doing the s2912 fam10 port.

Build and boot tested. Abuild tested.

There are a number of outstanding issues and caveats - see src/mainboard/supermicro/h8dmr_fam10/README.

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

14 years agoFix endless loop when trying to add a too large file to CBFS,
Patrick Georgi [Wed, 30 Sep 2009 11:21:18 +0000 (11:21 +0000)]
Fix endless loop when trying to add a too large file to CBFS,
and report the correct error code, and a hopefully helpful
error message.

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

14 years agoMake CONFIG_HAVE_HIGH_TABLES consistent in where and how it is set.
Myles Watson [Tue, 29 Sep 2009 21:35:48 +0000 (21:35 +0000)]
Make CONFIG_HAVE_HIGH_TABLES consistent in where and how it is set.

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

14 years agoRemove pre-CBFS _vgabios_start and _vgabios_end.
Myles Watson [Tue, 29 Sep 2009 20:24:09 +0000 (20:24 +0000)]
Remove pre-CBFS _vgabios_start and _vgabios_end.

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

14 years agoA keyboard controller fix to stop the code from waiting for a code that never
Marc Jones [Tue, 29 Sep 2009 19:12:23 +0000 (19:12 +0000)]
A keyboard controller fix to stop the code from waiting for a code that never
comes.  Boot tested on SimNOW (fixes the hang there), and Tyan s2895.

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

14 years agoFix a number of board names in Kconfig (trivial).
Uwe Hermann [Tue, 29 Sep 2009 18:15:06 +0000 (18:15 +0000)]
Fix a number of board names in Kconfig (trivial).

Also, simplify the M2V-MX SE Kconfig file a bit while I'm at it.

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

14 years agoRemove MAINBOARD_OPTIONS, which is a relic from early
Patrick Georgi [Tue, 29 Sep 2009 17:28:13 +0000 (17:28 +0000)]
Remove MAINBOARD_OPTIONS, which is a relic from early
kconfig development.

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

14 years agoRemove some warnings.
Myles Watson [Tue, 29 Sep 2009 14:56:15 +0000 (14:56 +0000)]
Remove some 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@4686 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMore consistent use of "default n" and "select XYZ" in
Patrick Georgi [Tue, 29 Sep 2009 14:38:10 +0000 (14:38 +0000)]
More consistent use of "default n" and "select XYZ" in
Kconfig files

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

14 years agoMake the error messages somewhat less incomprehensible. I forget
Ronald G. Minnich [Tue, 29 Sep 2009 13:34:56 +0000 (13:34 +0000)]
Make the error messages somewhat less incomprehensible. I forget
what they mean every time I see them.

Add a proto. More work remains to be done.

Build tested on dell s1850.

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

14 years agoTrivial config fix for Serengeti Cheetah. Change a type and a default.
Myles Watson [Mon, 28 Sep 2009 22:36:40 +0000 (22:36 +0000)]
Trivial config fix for Serengeti Cheetah.  Change a type and a 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@4683 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoTrivial config fix for Serengeti Cheetah. Remove duplication, add a default.
Myles Watson [Mon, 28 Sep 2009 21:51:39 +0000 (21:51 +0000)]
Trivial config fix for Serengeti Cheetah.  Remove duplication, add a 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@4682 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThis adds a simple script to build a default toolchain for coreboot
Stefan Reinauer [Sat, 26 Sep 2009 16:43:17 +0000 (16:43 +0000)]
This adds a simple script to build a default toolchain for coreboot
compilation, to be independent of broken or missing OS/distribution
tool chains.

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

14 years agoThis patch changes following in getpir application.
Mohamed Mansoor [Sat, 26 Sep 2009 16:18:22 +0000 (16:18 +0000)]
This patch changes following in getpir application.

1 - Moved the check sum validation to probe_table function.
2 - Proper handling of resources allocated.
3 - Signature check is done in 16 byte boundaries.
4 - irq_tables.c file is created only if a valid PIRQ table is found.
5 – Makefile and README file are modified accordingly.

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

14 years ago* drop libgcc from coreboot_apc.o, not needed.
Stefan Reinauer [Sat, 26 Sep 2009 15:52:05 +0000 (15:52 +0000)]
* drop libgcc from coreboot_apc.o, not needed.
* wrap libgcc calls into regparm(0) variants so that coreboot can be compiled
  with other regparm values

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

14 years agocheck for ELF payloads in cbfstool
Cristi Magherusan [Fri, 25 Sep 2009 22:21:47 +0000 (22:21 +0000)]
check for ELF payloads in cbfstool

Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
Acked-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4678 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop some dead code, clarify small comments and small cleanups to malloc.c
Stefan Reinauer [Fri, 25 Sep 2009 21:59:57 +0000 (21:59 +0000)]
drop some dead code, clarify small comments and small cleanups to malloc.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@4677 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoimprove lzma error messages. When coreboot panics because lzma decompression
Stefan Reinauer [Fri, 25 Sep 2009 21:57:25 +0000 (21:57 +0000)]
improve lzma error messages. When coreboot panics because lzma decompression
goes wrong, it might not be clear that it's lzma that failed, if the log level
is low enough..

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

14 years agoTrivial fixups to get this board further along.
Ronald G. Minnich [Fri, 25 Sep 2009 19:53:59 +0000 (19:53 +0000)]
Trivial fixups to get this board further along.

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

14 years agoFix build of romcc boards.
Myles Watson [Fri, 25 Sep 2009 19:09:23 +0000 (19:09 +0000)]
Fix build of romcc boards.

Invalid option specified: -mcpu=-mcpu=p2
romcc 0.71 released 03 April 2009

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

14 years agosome progress on kconfig:
Patrick Georgi [Fri, 25 Sep 2009 18:43:02 +0000 (18:43 +0000)]
some progress on kconfig:
- northbridges are done
- southbridges are done
- Intel CPUs are done, with a design that the board only has to specify
  the socket it has, and the CPUs are pulled in automatically. There is
  some more cleanup possible in that area, but I'll do that later
- a couple more mainboards compile:
  - intel/eagleheights
  - intel/jarrell
  - intel/mtarvon
  - intel/truxton
  - intel/xe7501devkit
  - sunw/ultra40
  - supermicro/h8dme
  - tyan/s2850
  - tyan/s2875
  - via/epia
  - via/epia-cn
  - via/epia-m
  - via/epia-m700
  - via/epia-n
  - via/pc2500e
(PPC not considered, probably overlooked something)

All of them only _build_, but some options are probably completely
wrong. To be fixed later

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

14 years agoRename CONFIG_SERIAL_CONSOLE to match newconfig.
Myles Watson [Fri, 25 Sep 2009 17:24:08 +0000 (17:24 +0000)]
Rename CONFIG_SERIAL_CONSOLE to match newconfig.

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

14 years agoMake build_opt_tbl depend on config.h since it uses it. This fixes:
Myles Watson [Thu, 24 Sep 2009 16:56:08 +0000 (16:56 +0000)]
Make build_opt_tbl depend on config.h since it uses it.  This fixes:

    GEN        build/build.h
    OPTION     option_table.h
Error - Range end (122) does not match define (125) in line
checksum 392 983 984

This happens when you switch from one board to another with incompatible CMOS
defines.  'make clean' didn't help.

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

14 years agoRemove HyperTransport support from boards that don't need it.
Myles Watson [Thu, 24 Sep 2009 15:09:11 +0000 (15:09 +0000)]
Remove HyperTransport support from boards that don't need it.

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

14 years agoRe-enable option table for the ASUS MEW-VM and fix build.
Uwe Hermann [Thu, 24 Sep 2009 14:05:19 +0000 (14:05 +0000)]
Re-enable option table for the ASUS MEW-VM and fix build.

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

14 years agoAdd detection support for the SMSC FDC37M602.
Uwe Hermann [Thu, 24 Sep 2009 12:17:07 +0000 (12:17 +0000)]
Add detection support for the SMSC FDC37M602.

The ID was found on a Biostar M6TLD board (not mentioned in the
FDC37M60x datasheet, though).

Thanks Maciej Pijanka <maciej.pijanka@gmail.com> for the report.

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

14 years agoTrivial fix for kbuildall: initialize "i", not CURRENTARGET [sic]
Patrick Georgi [Thu, 24 Sep 2009 09:28:41 +0000 (09:28 +0000)]
Trivial fix for kbuildall: initialize "i", not CURRENTARGET [sic]
that isn't used anywhere.

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

14 years agoMake all Kconfig enabled boards build (tested with kbuildall).
Patrick Georgi [Thu, 24 Sep 2009 09:03:06 +0000 (09:03 +0000)]
Make all Kconfig enabled boards build (tested with kbuildall).
Also enable building individual boards with kbuildall for
debugging.

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

14 years agofix some wrong occurences of the FSF's address (trivial)
Stefan Reinauer [Wed, 23 Sep 2009 21:53:25 +0000 (21:53 +0000)]
fix some wrong occurences of the FSF's address (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@4665 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofix some wrong versions of the FSF's address (trivial)
Stefan Reinauer [Wed, 23 Sep 2009 21:52:45 +0000 (21:52 +0000)]
fix some wrong versions of the FSF's address (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@4664 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix the bounce_size global so that the bounce buffer works with CBFS.
Myles Watson [Wed, 23 Sep 2009 20:32:21 +0000 (20:32 +0000)]
Fix the bounce_size global so that the bounce buffer works with CBFS.

Make self_boot() static.

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

14 years agoLooks like this should have become cpu init code after growing up. The
Stefan Reinauer [Wed, 23 Sep 2009 18:54:18 +0000 (18:54 +0000)]
Looks like this should have become cpu init code after growing up. The
remaining questions are:

- Why was it never used?
- Why is it in /src and not in /src/cpu/ppc?

Given this is dead code and part of an unmaintained powerpc port, I consider
removing it trivial. (The code really does not do much)

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

14 years agosimplify source tree hierarchy: move files from sdram/ and ram/ to lib/
Stefan Reinauer [Wed, 23 Sep 2009 18:51:03 +0000 (18:51 +0000)]
simplify source tree hierarchy: move files from sdram/ and ram/ to lib/
It's only three files. Also fix up all the paths (Gotta love included C files)

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

14 years agoAdd Kconfig support for Tyan s2881.
Myles Watson [Wed, 23 Sep 2009 17:59:56 +0000 (17:59 +0000)]
Add Kconfig support for Tyan s2881.

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

14 years agoSeparate payload compression from stage compression.
Myles Watson [Wed, 23 Sep 2009 17:48:28 +0000 (17:48 +0000)]
Separate payload compression from stage compression.

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

14 years agoFix compilation for serengeti when HAVE_ACPI_TABLES is set. Trivial.
Myles Watson [Tue, 22 Sep 2009 22:08:47 +0000 (22:08 +0000)]
Fix compilation for serengeti when HAVE_ACPI_TABLES is set.  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@4658 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agosrc/Kconfig: Remove HT-specific options.
Myles Watson [Tue, 22 Sep 2009 21:29:32 +0000 (21:29 +0000)]
src/Kconfig: Remove HT-specific options.
src/cpu/amd/socket_F/Kconfig: Remove second occurrence of CPU_SOCKET_TYPE.
src/mainboard/amd/serengeti_cheetah/Kconfig: Add HT_CHAIN_UNITID_BASE here, since it is board specific.
src/mainboard/tyan/s289X/Kconfig: Fix typo and change APIC_ID_OFFSET to match old config.
src/devices/Kconfig: Change default value of *_PLUGIN_SUPPORT to match old config.
src/southbridge/amd/amd8131/Makefile.inc: Remove check since it was a typo, and the correct variable is checked in the parent directory.
src/Makefile:Use devicetree.cb instead of Config.lb to generate static.c.

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

14 years agofailoverR.diff: Revert my failover change since Kconfig only supports fallback.
Myles Watson [Tue, 22 Sep 2009 18:53:50 +0000 (18:53 +0000)]
failoverR.diff: Revert my failover change since Kconfig only supports fallback.
kconfig_s2892.dif: Add support for Tyan s2891, s2892, and s2895 to Kconfig.

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

14 years agotables.diff: Add Kconfig dialogues for ACPI, MP_TABLE, ...
Myles Watson [Tue, 22 Sep 2009 18:49:08 +0000 (18:49 +0000)]
tables.diff: Add Kconfig dialogues for ACPI, MP_TABLE, ...
Kconfig_bools.diff: Change some more ints to bools, change some default values.
xip_size.diff: Make XIP_SIZE + XIP_BASE add up to 4GB.
smp.diff: set CONFIG_SMP based on MAX_CPUS.

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