coreboot.git
14 years ago- Simplify stack size determination: MAX_CPUS * STACK_SIZE
Patrick Georgi [Mon, 1 Mar 2010 17:16:06 +0000 (17:16 +0000)]
- Simplify stack size determination: MAX_CPUS * STACK_SIZE
- Check that this doesn't run into vga/oprom/bios area at link time
- Avoid overly complicated and not well understood hack which avoids that
  area by leaving a hole in the stack area.
- Adapt technexion/tim5690 to put ramstage at 1MB

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

14 years agoAdd msi/ms9652_fam10 board.
Timothy Pearson [Mon, 1 Mar 2010 10:56:51 +0000 (10:56 +0000)]
Add msi/ms9652_fam10 board.

Updated Timothy's patch to match recent changes in the tree. It's build tested.

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

14 years agoAllow per-board setting of HT clock and width so
Timothy Pearson [Mon, 1 Mar 2010 10:30:08 +0000 (10:30 +0000)]
Allow per-board setting of HT clock and width so
less than optimal PCB designs can still work reliably
with reduced clock.

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

14 years agoFix YABEL guards; make debugging optional; fix some warnings
Stefan Reinauer [Mon, 1 Mar 2010 09:09:33 +0000 (09:09 +0000)]
Fix YABEL guards; make debugging optional; 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@5178 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThis patch implements MBI (modular bios interface) support to the i830 chipset.
Stefan Reinauer [Mon, 1 Mar 2010 08:34:19 +0000 (08:34 +0000)]
This patch implements MBI (modular bios interface) support to the i830 chipset.
This is needed on the IP1000T to get VGA output. The VGA option rom will ask
through an SMI for hardware specifics (in form of a VBT, video bios table)
which the SMI handler copies into the VGA option rom.

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

14 years ago- Add rules that build either 4 or 5 ssdts (only those variants exist in the board...
Patrick Georgi [Mon, 1 Mar 2010 07:42:02 +0000 (07:42 +0000)]
- Add rules that build either 4 or 5 ssdts (only those variants exist in the board now)
- Change ACPI_SSDTX_NUM to either 4 or 5 for boards that have ssdtX.asl
  files, according to the number of ssdtX.asl there.
- Remove custom ssdt rules

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

14 years agoUse the romstraps build infrastructure created for "tinybootblock"
Patrick Georgi [Sun, 28 Feb 2010 20:56:42 +0000 (20:56 +0000)]
Use the romstraps build infrastructure created for "tinybootblock"
(chipset_bootblock_inc and chipset_bootblock_lds) instead of using
chipset specific rules for "bigbootblock" in the generic i386 Makefile.

It also adds rules for the romstraps of
* southbridge/nvidia/ck804
* southbridge/sis/sis966
* northbridge/via/vx800
for the benefit of both image layouts.

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

14 years agodisable AP_CODE_IN_CAR. The K8 code has an alternate code path to do the job,
Stefan Reinauer [Sun, 28 Feb 2010 19:40:03 +0000 (19:40 +0000)]
disable AP_CODE_IN_CAR. The K8 code has an alternate code path to do the job,
and it's not working anyways.

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

14 years agouse names instead of numbers where possible, also print a better message if no
Stefan Reinauer [Sun, 28 Feb 2010 19:12:37 +0000 (19:12 +0000)]
use names instead of numbers where possible, also print a better message if no
keyboard is connected.

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

14 years agoAdd attribute((noreturn)) to romcc
Stefan Reinauer [Sun, 28 Feb 2010 18:37:38 +0000 (18:37 +0000)]
Add attribute((noreturn)) to romcc
It doesn't do anything, but it allows the same code to be compiled with gcc and
romcc.

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

14 years ago- Add config flag for boards that have their own fadt.c
Patrick Georgi [Sun, 28 Feb 2010 18:23:00 +0000 (18:23 +0000)]
- Add config flag for boards that have their own fadt.c
  This should eventually go, as fadt seems to be better
  put into the southbridge
- Add config flag for boards that have get_bus_conf.c
  Might be cleaned out as well, no idea
- Use flags where appropriate.
- Move the following rules to src/arch/i386/Makefile.inc:
  - fadt.o
  - dsdt.o
  - acpi_tables.o
  - get_bus_conf.o
- Rename objs_dsl_template in toplevel Makefile to the more
  appropriate objs_asl_template
- Remove all Makefiles that are empty now, which includes
  src/mainboard/Makefile.k8_CAR.inc and
  src/mainboard/Makefile.k8_ck804.inc
  and the include statements that used these files.
- Add workaround to intel/xe7501devkit:
  It uses ACPI in an unusual way: It adds a MADT, but no
  DSDT. As this is highly unusual, I didn't want to add
  explicit support for that scenario (and encourage such
  uses that way), and added a dummy dsdt.asl instead. It
  will be linked to dsdt.o, but not linked into the final
  binary.

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

14 years agoassert.h: have the same information on asserts in romcc and non-romcc code.
Stefan Reinauer [Sun, 28 Feb 2010 18:13:09 +0000 (18:13 +0000)]
assert.h: have the same information on asserts in romcc and non-romcc code.

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

14 years agoPut .config, build/, coreboot-builds (abuild) and
Patrick Georgi [Sat, 27 Feb 2010 13:11:34 +0000 (13:11 +0000)]
Put .config, build/, coreboot-builds (abuild) and
temporary/backup files to svn:ignore

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

14 years ago- make HAVE_HARD_RESET match what newconfig did
Patrick Georgi [Sat, 27 Feb 2010 08:39:04 +0000 (08:39 +0000)]
- make HAVE_HARD_RESET match what newconfig did
- introduce BOARD_HAS_HARD_RESET and use it if a board provides
hard_reset in $(MAINBOARDDIR)/reset.c, instead of some chipset component
- move a couple of rules out of the mainboards' Makefiles into
src/arch/i386/Makefile.inc:
initobj-y += crt0.o
obj-y += mainboard.o
obj-$(CONFIG_GENERATE_MP_TABLE) += mptable.o
obj-$(CONFIG_GENERATE_PIRQ_TABLE) += irq_tables.o
obj-$(CONFIG_BOARD_HAS_HARD_RESET) += reset.o
- remove Makefile.incs that are empty (or comment-only) after these
changes, incl. Makefile.romccboard.inc (and references to it)
- Make include not fail if Makefile.inc doesn't exist.

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

14 years agoThis does the following:
Stefan Reinauer [Sat, 27 Feb 2010 01:50:21 +0000 (01:50 +0000)]
This does the following:

cd coreboot/src/southbridge
svn mv i82801ca i82801cx
svn mv i82801dbm i82801dx
svn mv i82801er i82801ex
svn copy i82801xx i82801bx
svn mv i82801xx i82801ax

Plus, fixing up the filenames in these directories and the romstage.c and
Kconfig files of the mainboards using those drivers.
Plus, switching the thomson ip1000 and rca rm4100 to the i82801dx driver.

There's a lot more to be done, like
- adding device IDs for the ICH3 and newer drivers that have been kept in
  i82801xx so far
- drop the additional parts support from the ax and bx drivers.

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

14 years agoWork around stack size breakage observed on fam10.
Zheng Bao [Fri, 26 Feb 2010 20:32:08 +0000 (20:32 +0000)]
Work around stack size breakage observed on fam10.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
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@5166 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop unused file
Stefan Reinauer [Thu, 25 Feb 2010 22:48:33 +0000 (22:48 +0000)]
drop unused 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@5165 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMove the ldscripts logic to src/arch/i386/Makefile.inc
Patrick Georgi [Thu, 25 Feb 2010 21:50:26 +0000 (21:50 +0000)]
Move the ldscripts logic to src/arch/i386/Makefile.inc

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

14 years agoDrop i855pm port and rename i855gme to i855 instead.
Stefan Reinauer [Thu, 25 Feb 2010 18:23:23 +0000 (18:23 +0000)]
Drop  i855pm port and rename i855gme to i855 instead.
This patch also changes the digitallogic/adl855pc to use that port.
It probably won't work, but at least we will get an error if something
breaks compilation of the i855 code that is there.

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

14 years agoUnify crt0s setup to src/arch/i386/Makefile.inc. This variable
Patrick Georgi [Thu, 25 Feb 2010 17:03:17 +0000 (17:03 +0000)]
Unify crt0s setup to src/arch/i386/Makefile.inc. This variable
is not something users have to concern themselves with anymore.

Also fixes some wrong romstrap configs for boards, fixing a couple
of them.

Also add "make printcrt0s" target for debugging crt0s when updating
modified checkouts.

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

14 years agoVarious minor fixes (trivial).
Uwe Hermann [Thu, 25 Feb 2010 16:09:53 +0000 (16:09 +0000)]
Various minor fixes (trivial).

 - More license header cosmetics.

 - New official "Building coreboot" document is now at:
   http://www.coreboot.org/Build_HOWTO

 - Drop "(mostly those derived from the Linux kernel)" part of the GPL-v2-only
   parts from the README. Many other files are also GPL-v2-only, too.

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

14 years agoMake Kconfig more similar to newconfig: enable "HAVE_HIGH_TABLES" per
Stefan Reinauer [Thu, 25 Feb 2010 13:45:08 +0000 (13:45 +0000)]
Make Kconfig more similar to newconfig: enable "HAVE_HIGH_TABLES" per
default.

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

14 years agoHAVE_MOVNTI really means SSE2. Also add sfence in the MOVNTI case.
Stefan Reinauer [Thu, 25 Feb 2010 13:40:49 +0000 (13:40 +0000)]
HAVE_MOVNTI really means SSE2. Also add sfence in the MOVNTI case.

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

14 years agoAdd Win Enterprises' PL6064 board
Anish K. Patel [Wed, 24 Feb 2010 16:36:56 +0000 (16:36 +0000)]
Add Win Enterprises' PL6064 board

Signed-off-by: Anish K. Patel <anishp@win-ent.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5158 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoEnable user selectable bootblocks, and provide a bootblock that
Patrick Georgi [Wed, 24 Feb 2010 13:58:23 +0000 (13:58 +0000)]
Enable user selectable bootblocks, and provide a bootblock that
selects between "fallback" and "normal", in addition to the
already present "fallback"-only bootblock.

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

14 years agoThis patch fixes an issue with the wrong build rules being selected.
Patrick Georgi [Wed, 24 Feb 2010 13:18:01 +0000 (13:18 +0000)]
This patch fixes an issue with the wrong build rules being selected.
Make is free to choose any fitting rule for a target, and so some
obj-y files were compiled with initobj flags. This patch also fixes
the behavior for objects being both in initobj and obj.

At the moment all object rules are the same, but if we start not including
all .c files in romstage.c anymore we need to define __PRE_RAM__ in the
initobj rule and that's when things start breaking.

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

14 years agoRemove register pressure from e7501 driver by not indirectly referencing
Stefan Reinauer [Wed, 24 Feb 2010 13:09:09 +0000 (13:09 +0000)]
Remove register pressure from e7501 driver by not indirectly referencing
0:0.0 through a struct passed all through the code. This behavior makes a lot
of sense for CPUs with a memory controller built-in. But this is not the case
for the e7501.

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

14 years agoSeveral fixes to the supermicro/h8qme_fam10 board, so it
Knut Kujat [Wed, 24 Feb 2010 08:48:35 +0000 (08:48 +0000)]
Several fixes to the supermicro/h8qme_fam10 board, so it
builds and boots correctly.

Signed-off-by: Knut Kujat <knuku@gap.upv.es>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5154 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoClobber registers as appropriate in AMD CAR code, and
Rudolf Marek [Tue, 23 Feb 2010 21:43:42 +0000 (21:43 +0000)]
Clobber registers as appropriate in AMD CAR code, and
build a better barrier for gcc to reflush all registers
when moving the stack.  memcpy was taken from Linux.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5153 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove nonsensical wrapper for function in
Stefan Reinauer [Tue, 23 Feb 2010 20:31:37 +0000 (20:31 +0000)]
Remove nonsensical wrapper for function in
PS/2 keyboard API.

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

14 years ago- Remove src/arch/i386/init/ldscript_cbfs.lb as it's not used anymore
Patrick Georgi [Tue, 23 Feb 2010 19:38:44 +0000 (19:38 +0000)]
- Remove src/arch/i386/init/ldscript_cbfs.lb as it's not used anymore
- Remove _lrom and _elrom, as they're only set but never used
- Make bootblock size dynamic in the tiny bootblock case.
  It's 0.5-3K instead of 64K now.

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

14 years agoOnly handle code as "driver" that actually uses our driver
Patrick Georgi [Tue, 23 Feb 2010 16:54:20 +0000 (16:54 +0000)]
Only handle code as "driver" that actually uses our driver
infrastructure (special linking, data structures, etc)

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

14 years agoFind out the svnversion we are working on is quite important.
Zheng Bao [Tue, 23 Feb 2010 10:33:25 +0000 (10:33 +0000)]
Find out the svnversion we are working on is quite important.
The whole command (which also parses git data, if it's a git-svn tree)
is copied from original newconfig.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5149 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoDisable ACPI Resume on asus/m2v-mx_se, it's broken
Rudolf Marek [Tue, 23 Feb 2010 10:22:37 +0000 (10:22 +0000)]
Disable ACPI Resume on asus/m2v-mx_se, it's broken
since cbmem

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

14 years agoAdjust msi/ms7135 DCACHE_RAM_* config to previous 32KiB values,
Jonathan A. Kollasch [Tue, 23 Feb 2010 10:18:43 +0000 (10:18 +0000)]
Adjust msi/ms7135 DCACHE_RAM_* config to previous 32KiB values,
4KiB is not enough to work.

Additionally, modify the device tree so that the undocumented LDN 6
is ignored by the resource allocator, and while here, assign the
parallel port DRQ, hardware monitor IRQ and drop NIC MAC address
on SMBus EEPROM hint, the ms7135 doesn't have such hardware.

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5147 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRandom cosmetic fixes (trivial).
Uwe Hermann [Mon, 22 Feb 2010 16:41:49 +0000 (16:41 +0000)]
Random cosmetic fixes (trivial).

 - Fix typos.
 - Whitespace and consistency fixes.
 - Make "menuconfig" help easily readable in 80x25 terminals / xterms.
 - Use full/correct prototype for cbfs_and_run_core() everywhere.
 - More cosmetic fixes in license headers.

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

14 years agoFix SMM handler comment. Thanks for noticing, Peter!
Stefan Reinauer [Mon, 22 Feb 2010 14:55:16 +0000 (14:55 +0000)]
Fix SMM handler comment. Thanks for noticing, Peter!

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

14 years ago- Make walkcbfs capable of loading files other than the first
Patrick Georgi [Mon, 22 Feb 2010 12:58:01 +0000 (12:58 +0000)]
- Make walkcbfs capable of loading files other than the first
- Look more closely for files, which should make the code robust
  against defective CBFS images, as long as the bootblock is usable.

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

14 years agodrop empty x86emu Makefile
Stefan Reinauer [Mon, 22 Feb 2010 11:27:33 +0000 (11:27 +0000)]
drop empty x86emu Makefile

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

14 years agoInteltool: Add i830/Tolapai/Ich4 support
Stefan Reinauer [Mon, 22 Feb 2010 11:26:06 +0000 (11:26 +0000)]
Inteltool: Add i830/Tolapai/Ich4 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@5142 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agomini update SMM:
Stefan Reinauer [Mon, 22 Feb 2010 09:32:33 +0000 (09:32 +0000)]
mini update SMM:
- allow northbridge and cpu handlers, too
- support for older rev 2 cpus

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

14 years agodrop two warnings (trivial)
Stefan Reinauer [Mon, 22 Feb 2010 09:28:15 +0000 (09:28 +0000)]
drop two warnings (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@5140 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoCONFIG_ was missing.
Stefan Reinauer [Mon, 22 Feb 2010 09:27:26 +0000 (09:27 +0000)]
CONFIG_ was missing.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5139 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofix builds...
Stefan Reinauer [Mon, 22 Feb 2010 09:15:13 +0000 (09:15 +0000)]
fix builds...
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5138 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodon't call verify_copy_pirq_routing_table() if it's not there.
Stefan Reinauer [Mon, 22 Feb 2010 07:28:06 +0000 (07:28 +0000)]
don't call verify_copy_pirq_routing_table() if it's not there.

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

14 years agoThis is a general cleanup patch
Stefan Reinauer [Mon, 22 Feb 2010 06:09:43 +0000 (06:09 +0000)]
This is a general cleanup patch
- drop include/part and move files to include/
- get rid lots of warnings
- make resource allocator happy with w83627thg
- trivial cbmem resume fix
- fix payload and log level settings in abuild
- fix kontron mptable for virtual wire mode
- drop some dead includes and dead code.

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

14 years agoYABEL update
Stefan Reinauer [Mon, 22 Feb 2010 04:33:13 +0000 (04:33 +0000)]
YABEL update
- drop x86emu + old biosemu in favor of YABEL
- Add YABEL_DIRECTHW to get the old biosemu behavior
- add support for vesa console using YABEL
- add coreboot table entry with console information
- add bootsplash support (reads /bootsplash.jpg from CBFS)

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

14 years agoAdd Doxyfile to bayou
Stefan Reinauer [Sun, 21 Feb 2010 06:45:43 +0000 (06:45 +0000)]
Add Doxyfile to bayou

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

14 years agotrival. All the changes is about comment and spaces.
Zheng Bao [Sat, 20 Feb 2010 09:38:16 +0000 (09:38 +0000)]
trival. All the changes is about comment and spaces.

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

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

14 years agoRevert deletion of src/arch/i386/init.
Patrick Georgi [Fri, 19 Feb 2010 19:59:03 +0000 (19:59 +0000)]
Revert deletion of src/arch/i386/init.

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

14 years ago1. Change CONFIG_DEBUG to DEBUG in util/x86emu/*
Myles Watson [Fri, 19 Feb 2010 19:08:11 +0000 (19:08 +0000)]
1. Change CONFIG_DEBUG to DEBUG in util/x86emu/*
2. Make DEBUG depend on CONFIG_YABEL_DEBUG_FLAGS being nonzero

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

14 years agofix APCI typos.
Stefan Reinauer [Tue, 16 Feb 2010 00:06:42 +0000 (00:06 +0000)]
fix APCI typos.

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

14 years agofix clock polling in pc97317 driver.
Stefan Reinauer [Mon, 15 Feb 2010 23:27:48 +0000 (23:27 +0000)]
fix clock polling in pc97317 driver.

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

14 years agoDocument the reason for r5124 in the code/Makefile (trivial).
Uwe Hermann [Mon, 15 Feb 2010 23:24:51 +0000 (23:24 +0000)]
Document the reason for r5124 in the code/Makefile (trivial).

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

14 years agoVarious license header consistency fixes (trivial).
Uwe Hermann [Mon, 15 Feb 2010 23:10:19 +0000 (23:10 +0000)]
Various license header consistency fixes (trivial).

 - Consistently use the same wording and formatting for all license headers.

 - Remove useless whitespace, add missing whitespace, fix indentation.

 - Add missing "This file is part of the coreboot project." where needed.

 - Change "(C) Copyright John Doe" to "Copyright (C) John Doe" for consistency.

 - Add some missing "(C)" strings and copyright years where needed.

 - Move random comments and file descriptions out of the license header.
   - Drop incorrect file descriptions completely (e.g. lpc47m10x/Makefile.inc).

There should be no changes in _content_ of the license headers, if you spot
such changes that's a bug, please 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@5127 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd missing Copyright line, sorry.
Uwe Hermann [Sun, 14 Feb 2010 16:17:55 +0000 (16:17 +0000)]
Add missing Copyright line, sorry.

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

14 years agoAdd w83627hf_set_clksel_48() function which sets CLKSEL to 48MHz.
Anish K Patel [Sun, 14 Feb 2010 16:13:03 +0000 (16:13 +0000)]
Add w83627hf_set_clksel_48() function which sets CLKSEL to 48MHz.

The Win Ent platforms are using the Winbond W83627HG part, but this part does
not appear to enable 48MHz clock by default as claimed in the datasheet.

Signed-off-by: Anish K Patel <anishp@win-ent.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5125 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoI was having problems building a working romcc with the -O2
Marc Jones [Sat, 13 Feb 2010 18:06:29 +0000 (18:06 +0000)]
I was having problems building a working romcc with the -O2
optimization flag on ubuntu hardy. It was causing this error building
the bootblock:
bootblock.c:49.0:
Internal compiler error: low: next != prev?

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

14 years agoromcc: Fix a few (harmless) warnings
Peter Stuge [Fri, 12 Feb 2010 21:28:15 +0000 (21:28 +0000)]
romcc: Fix a few (harmless) warnings

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

14 years agoThis patch allows a Kconfig option to choose between 64MB (IP1000) and 128MB (IP1000T...
Joseph Smith [Fri, 12 Feb 2010 17:58:53 +0000 (17:58 +0000)]
This patch allows a Kconfig option to choose between 64MB (IP1000) and 128MB (IP1000T) of onboard memory.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5122 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoupdate doxygen config file to latest doxygen version
Stefan Reinauer [Fri, 12 Feb 2010 11:59:37 +0000 (11:59 +0000)]
update doxygen config file to latest doxygen version
(doxygen -u)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5121 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd two YABEL options to Kconfig
Stefan Reinauer [Fri, 12 Feb 2010 09:32:17 +0000 (09:32 +0000)]
Add two YABEL options to Kconfig

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

14 years agoFix AUTO_XIP_ROM_BASE issues on AMD boards with certain compilers,
Patrick Georgi [Thu, 11 Feb 2010 23:00:10 +0000 (23:00 +0000)]
Fix AUTO_XIP_ROM_BASE issues on AMD boards with certain compilers,
and expose the error earlier in the build.

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

14 years agoAdapt all uses of CONFIG_XIP_ROM_BASE to use
Patrick Georgi [Thu, 11 Feb 2010 21:51:04 +0000 (21:51 +0000)]
Adapt all uses of CONFIG_XIP_ROM_BASE to use
AUTO_XIP_ROM_BASE (as implemented for tinybootblock) if available.

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

14 years agoDon't remove config.h on "make clean"
Patrick Georgi [Thu, 11 Feb 2010 12:12:19 +0000 (12:12 +0000)]
Don't remove config.h on "make clean"

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

14 years agoromcc: Ignore empty string tokens. So far, romcc emitted a single double-quote for...
Patrick Georgi [Thu, 11 Feb 2010 11:13:32 +0000 (11:13 +0000)]
romcc: Ignore empty string tokens. So far, romcc emitted a single double-quote for them.

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

14 years ago$(DISTRO_CFLAGS) is newconfig heritage and was never used on Kconfig. We do
Stefan Reinauer [Thu, 11 Feb 2010 08:44:20 +0000 (08:44 +0000)]
$(DISTRO_CFLAGS) is newconfig heritage and was never used on Kconfig. We do
what it was supposed to do in xcompile now..

Moved ap_romstage.o rule to src/arch/i386/Makefile.inc, too.

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

14 years agoseparate build.h and config.h usage (now possible because newconfig is gone)
Stefan Reinauer [Thu, 11 Feb 2010 03:21:29 +0000 (03:21 +0000)]
separate build.h and config.h usage (now possible because newconfig is gone)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
This patch is slightly reworked to include a necessary romcc change that allows
more than one -include specified on the command line, and gets rid of the
explicit build.h dependencies of all files. (The files do keep an explicit
config.h dependency though)

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

14 years agoImprove compiler detection and configuration in xcompile.
Patrick Georgi [Wed, 10 Feb 2010 20:31:38 +0000 (20:31 +0000)]
Improve compiler detection and configuration in xcompile.
Move -fno-stack-protector support from Makefile to xcompile.

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

14 years agoDo not print the full path name to coreboot.rom in "cbfstool print" (trivial).
Uwe Hermann [Wed, 10 Feb 2010 19:52:35 +0000 (19:52 +0000)]
Do not print the full path name to coreboot.rom in "cbfstool print" (trivial).

This makes the output look a lot nicer, e.g.

  /home/uwe/foo/bar/baz/whatever/build/coreboot.rom: 256 kB, bootblocksize 65536, romsize 262144, offset 0x0

now becomes:

  coreboot.rom: 256 kB, bootblocksize 65536, romsize 262144, offset 0x0

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

14 years agoForgot a CBFS_PREFIX change in appropriate commit (r5102).
Patrick Georgi [Wed, 10 Feb 2010 19:40:10 +0000 (19:40 +0000)]
Forgot a CBFS_PREFIX change in appropriate commit (r5102).
Also, delete duplicate romstage file in qemu-x86

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

14 years agoRemove uses of the shell to remove double quotes, or to figure out the
Patrick Georgi [Wed, 10 Feb 2010 18:53:40 +0000 (18:53 +0000)]
Remove uses of the shell to remove double quotes, or to figure out the
current directory (already available in $(PWD))

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

14 years agoHandle potential race condition with $(obj)/util/cbfstool
Patrick Georgi [Wed, 10 Feb 2010 18:50:36 +0000 (18:50 +0000)]
Handle potential race condition with $(obj)/util/cbfstool

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

14 years agoRemove two perl calls with sed, and adds an alternative
Patrick Georgi [Wed, 10 Feb 2010 18:08:22 +0000 (18:08 +0000)]
Remove two perl calls with sed, and adds an alternative
for another two (using GNU date, and with limited impact if both
alternatives fail)

Those were the remaining perl calls in our build tree, so remove perl
from our dependency list in README.

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

14 years agofix doxyfile path
Stefan Reinauer [Wed, 10 Feb 2010 15:36:53 +0000 (15:36 +0000)]
fix doxyfile path

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

14 years agopython is no longer used in abuild.
Stefan Reinauer [Wed, 10 Feb 2010 15:34:15 +0000 (15:34 +0000)]
python is no longer used in abuild.

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

14 years agoDrop src/config alltogether
Stefan Reinauer [Wed, 10 Feb 2010 11:56:21 +0000 (11:56 +0000)]
Drop src/config alltogether

- drop two "newconfig" based files
- drop two obsolete doxygen config files and check
  in our latest Doxyfile.coreboot (that has been
  used to build coreboot online documentation since
  2005 or so)
- move two i386 specific linker scripts to src/arch/i386

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

14 years agoEmergency fix: r5102 carried some local change that doesn't
Patrick Georgi [Tue, 9 Feb 2010 20:02:32 +0000 (20:02 +0000)]
Emergency fix: r5102 carried some local change that doesn't
belong in this patch, which makes tinybootblock builds fail.

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

14 years agoAdd image updating support. When selecting it, it
Patrick Georgi [Tue, 9 Feb 2010 19:41:11 +0000 (19:41 +0000)]
Add image updating support. When selecting it, it
expects a coreboot.rom to be available, and adds the files to it.

It has no idea how to replace files, it merely adds them. It only works
with Tinybootblock and the bootblock is immutable.

The "clean" rules allow "make clean-for-update", which
removes everything but coreboot.rom

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

14 years agoAllow building images with different prefixes (ie. normal/romstage,
Patrick Georgi [Tue, 9 Feb 2010 19:35:16 +0000 (19:35 +0000)]
Allow building images with different prefixes (ie. normal/romstage,
helloWorld/romstage, ...).
It defaults to fallback/, so there's no user visible change now.

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

14 years agoI took Rob Landley's nice "menuconfig2html.py" script from
Stefan Reinauer [Tue, 9 Feb 2010 15:15:29 +0000 (15:15 +0000)]
I took Rob Landley's nice "menuconfig2html.py" script from
http://landley.net/hg/kdocs and modified it to produce MediaWiki output
for coreboot's Option List at http://coreboot.org/Coreboot_Options. The
attached patch exchanges our old ("newconfig") optionlist script with
the new one.

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

14 years agoActually set HAVE_OPTION_TABLES for the boards that need it.
Patrick Georgi [Tue, 9 Feb 2010 12:32:55 +0000 (12:32 +0000)]
Actually set HAVE_OPTION_TABLES for the boards that need it.
(See last commit)

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

14 years agoMove all the copies of the romstage.inc rule to
Patrick Georgi [Tue, 9 Feb 2010 12:21:10 +0000 (12:21 +0000)]
Move all the copies of the romstage.inc rule to
src/arch/i386/Makefile.inc

For that to work, I had to:
- Add a CONFIG_ROMCC variable
- Set that variable on all ROMCC boards
- conditionally choose romcc or gcc rule based on that variable
- remove those two rules from all the boards' Makefiles
- switch a couple of boards to HAVE_OPTION_TABLE, as they actually have.

Also remove the duplication of rules with the sole difference of if
they depend on option_table.h or not.

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

14 years agoThe COM2 enable code is global now. Use global API and
Patrick Georgi [Tue, 9 Feb 2010 12:00:06 +0000 (12:00 +0000)]
The COM2 enable code is global now. Use global API and
retire duplicate function.

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

14 years agoPort of CS5536 early UART setup from v3.
Edwin Beasant [Tue, 9 Feb 2010 10:22:33 +0000 (10:22 +0000)]
Port of CS5536 early UART setup from v3.
Permit early setup of COM2

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

14 years agoupdate coreboot trunk version
Stefan Reinauer [Mon, 8 Feb 2010 18:30:41 +0000 (18:30 +0000)]
update coreboot trunk version
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@5096 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoget rid of old news.
Stefan Reinauer [Mon, 8 Feb 2010 17:04:04 +0000 (17:04 +0000)]
get rid of old news.

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

14 years agoClean up ACPI:
Patrick Georgi [Mon, 8 Feb 2010 15:46:37 +0000 (15:46 +0000)]
Clean up ACPI:
- unify all iasl related rules into the toplevel Makefile
- build a filesystem standard for ACPI files and use it
- pass ACPI sources through cpp, so constants can be shared
  between C and ACPI more easily
- use cpp's #include instead of ACPI's Include() so cpp gets
  the whole picture

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

14 years agostraighten naming scheme for application processor rom stage files.
Stefan Reinauer [Mon, 8 Feb 2010 12:32:30 +0000 (12:32 +0000)]
straighten naming scheme for application processor rom stage files.
Apparently they are not used. If you have any of the boards touched in this
commit, please test and report (so we can figure out what to do with the
ap_romstage.c files in general)

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

14 years agojanitor task: unify and cleanup naming.
Stefan Reinauer [Mon, 8 Feb 2010 12:20:50 +0000 (12:20 +0000)]
janitor task: unify and cleanup naming.
cache_as_ram_auto.c and auto.c are both called "romstage.c" now.

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

14 years agofix further build.h dependencies that were undetected before we enabled it on
Stefan Reinauer [Sun, 7 Feb 2010 22:56:06 +0000 (22:56 +0000)]
fix further build.h dependencies that were undetected before we enabled it on
our parallel build server ;-)

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

14 years agoromcc _also_ has to wait for build.h to be generated.
Patrick Georgi [Sun, 7 Feb 2010 22:27:49 +0000 (22:27 +0000)]
romcc _also_ has to wait for build.h to be generated.

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

14 years agonewconfig is no more.
Patrick Georgi [Sun, 7 Feb 2010 21:43:48 +0000 (21:43 +0000)]
newconfig is no more.

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

14 years agothis should get the VIA VT8454c in shape with Kconfig
Stefan Reinauer [Fri, 5 Feb 2010 16:10:01 +0000 (16:10 +0000)]
this should get the VIA VT8454c in shape with Kconfig
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5088 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd -pipe .. notably speeds up windows builds.
Stefan Reinauer [Fri, 5 Feb 2010 14:32:00 +0000 (14:32 +0000)]
Add -pipe .. notably speeds up windows builds.

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

14 years agoThis patch fixes the build for the dsdt.asl/dsdt.c.
Harald Gutmann [Thu, 4 Feb 2010 11:08:59 +0000 (11:08 +0000)]
This patch fixes the build for the dsdt.asl/dsdt.c.

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

14 years agotypo
Stefan Reinauer [Thu, 4 Feb 2010 11:05:59 +0000 (11:05 +0000)]
typo
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5085 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove lots of cruft from gigabyte/m57sli's Config.lb
Harald Gutmann [Thu, 4 Feb 2010 10:28:16 +0000 (10:28 +0000)]
Remove lots of cruft from gigabyte/m57sli's Config.lb
and fix the build.
Change the default ROM size to 1MB

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

14 years agoRevision 5051 broke Kconfig booting for the Tyan s2881 board. Up to 5050, there
Ward Vandewege [Thu, 4 Feb 2010 03:03:39 +0000 (03:03 +0000)]
Revision 5051 broke Kconfig booting for the Tyan s2881 board. Up to 5050, there
were two SB_HT_CHAIN_ON_BUS0 sections in the mainboard Kconfig file - one
setting the parameter to 0, the other setting it to 2.

Revision 5051 removed one of the two SB_HT_CHAIN_ON_BUS0 sections - the wrong
one. This patch fixes that.

Revision 5051 removed the wrong setting because newconfig for this board was
*also* wrong. This patch fixes that too.

Tested on real hardware, both with Kconfig and newconfig.

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

14 years agoMove CAR settings for all GX1, GX2, LX and Intel Slot2 boards to the CPU.
Stefan Reinauer [Thu, 4 Feb 2010 01:32:43 +0000 (01:32 +0000)]
Move CAR settings for all GX1, GX2, LX and Intel Slot2 boards to the CPU.
This automatically adds the settings for those boards that didn't have settings
at all yet. Also, small fixup to compareboard.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
--> Please help porting all boards from newconfig to Kconfig <--

This is a lot of janitor work and we can use your helping hands.
The sooner we can get rid of Kbuild, the better. The KBuild report
on the mailing list shows the config differences between newconfig
and Kconfig. In theory, all Kconfig configs should be equal to their
newconfig pendant. In practice it's better to come close but stay
clean.

--> Please help porting all boards from newconfig to Kconfig <--

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