coreboot.git
14 years ago1. This patch adds CAR for Intel P6 series processors.
Joseph Smith [Fri, 9 Apr 2010 11:10:25 +0000 (11:10 +0000)]
1. This patch adds CAR for Intel P6 series processors.
2. Add support for Micro-FCBGA 479 Celeron and PIII's
3. Add support for model_6bx and microcode updates
4. Add support for CAR and Tinybootblock on RCA RM4100 and Thomson
   IP1000

Build and boot tested.

Signed-off-by: Joseph Smith <joe@settoplinux.org>
The change to CAR reveiled a few more warnings in the ICH4 and i830 code,
I fixed them on the fly.

Checking this in because my last two commits broke Joseph's CAR patch. This
version fixes the issues.

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

14 years agocopy_and_run.c is not needed twice, and it is used on non-car too.
Stefan Reinauer [Fri, 9 Apr 2010 10:43:49 +0000 (10:43 +0000)]
copy_and_run.c is not needed twice, and it is used on non-car too.
So move it to src/arch/i386/lib/cbfs_and_run.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@5387 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agothin out romcc epilogue and have it call copy_and_run as
Stefan Reinauer [Fri, 9 Apr 2010 10:12:18 +0000 (10:12 +0000)]
thin out romcc epilogue and have it call copy_and_run as
all the others do. Make sure copy_and_run is called with
the right calling convention. Fix up 2 license headers.

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

14 years agoIndent model_fxx_init and model_10xx_init.
Myles Watson [Fri, 9 Apr 2010 04:01:55 +0000 (04:01 +0000)]
Indent model_fxx_init and model_10xx_init.

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

14 years agoCopy acpi blobs in two parts to make sure gcc does the right thing.
Myles Watson [Fri, 9 Apr 2010 03:41:23 +0000 (03:41 +0000)]
Copy acpi blobs in two parts to make sure gcc does the right thing.

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

14 years agoSplit crt0.S.lb into prologue and epilogue
Patrick Georgi [Thu, 8 Apr 2010 21:04:45 +0000 (21:04 +0000)]
Split crt0.S.lb into prologue and epilogue
(the latter only for romcc), rename crt0_includes.h
to crt0.S, and compile that directly.

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

14 years agoCosmetically make init_cpus more similar for fam10 and K8.
Myles Watson [Thu, 8 Apr 2010 15:12:18 +0000 (15:12 +0000)]
Cosmetically make init_cpus more similar for fam10 and K8.

Remove some fam10 warnings.

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

14 years agoClean up fidvid files using indent.
Myles Watson [Thu, 8 Apr 2010 15:09:53 +0000 (15:09 +0000)]
Clean up fidvid files using indent.
Remove some special print statements.

In general, make them easier to compare.

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

14 years agoReplace dual_core and quad_core CMOS (nvram) options with multi_core. Fix some white...
Myles Watson [Thu, 8 Apr 2010 15:06:44 +0000 (15:06 +0000)]
Replace dual_core and quad_core CMOS (nvram) options with multi_core.  Fix some white space.

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

14 years agoMove Kconfig for HT limits to northbridge/amd/Kconfig.
Myles Watson [Thu, 8 Apr 2010 15:02:39 +0000 (15:02 +0000)]
Move Kconfig for HT limits to northbridge/amd/Kconfig.

Guard the code with CONFIG_EXPERT to remove warnings.

Make it only show up for fam10, since it isn't implemented for K8 yet.

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

14 years agooutput cosmetics
Stefan Reinauer [Thu, 8 Apr 2010 13:16:32 +0000 (13:16 +0000)]
output cosmetics

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

14 years agoRemove #line statements in processed parser source,
Patrick Georgi [Thu, 8 Apr 2010 12:59:41 +0000 (12:59 +0000)]
Remove #line statements in processed parser source,
to avoid clutter in revision history.

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

14 years agocpu/emulation/qemu-x86 doesn't exist anymore, as this
Patrick Georgi [Thu, 8 Apr 2010 12:47:35 +0000 (12:47 +0000)]
cpu/emulation/qemu-x86 doesn't exist anymore, as this
is folded into mainboard/emulation/qemu-x86. Adapt code.

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

14 years agosconfig: Mangle - to _ for struct names, too.
Patrick Georgi [Thu, 8 Apr 2010 12:46:18 +0000 (12:46 +0000)]
sconfig: Mangle - to _ for struct names, too.

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

14 years agoRemove duplicate registers in digitallogic/adl855pc's device tree
Patrick Georgi [Thu, 8 Apr 2010 12:00:35 +0000 (12:00 +0000)]
Remove duplicate registers in digitallogic/adl855pc's device tree
Create directories before trying to copy files into 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@5374 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoReplace sconfig with a C implementation.
Patrick Georgi [Thu, 8 Apr 2010 11:37:43 +0000 (11:37 +0000)]
Replace sconfig with a C implementation.
(smaller, faster, standard parser generator, no more python)

Provide precompiled parser, so bison and flex are optional dependencies.

Adapt Makefile and abuild (which uses some sconfig file as a
magic path) to match.

Drop python as dependency from README, and add bison and flex
as optional dependencies

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

14 years ago- copy_and_run() gets the same calling convention on AMD and on all the others.
Stefan Reinauer [Wed, 7 Apr 2010 15:40:26 +0000 (15:40 +0000)]
- copy_and_run() gets the same calling convention on AMD and on all the others.
- some vx800 Kconfig fixes
- remove 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@5372 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agono warnings day
Stefan Reinauer [Wed, 7 Apr 2010 15:32:52 +0000 (15:32 +0000)]
no warnings day

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

14 years agomove amd K8/Fam10 "bus detection" function prototypes to a common place.
Stefan Reinauer [Wed, 7 Apr 2010 15:30:11 +0000 (15:30 +0000)]
move amd K8/Fam10 "bus detection" function prototypes to a common place.

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

14 years agoit's a long term, give the compiler a chance to breathe .. ;-)
Stefan Reinauer [Wed, 7 Apr 2010 03:41:39 +0000 (03:41 +0000)]
it's a long term, give the compiler a chance to breathe .. ;-)

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

14 years agoclean up age old via epia target.
Stefan Reinauer [Wed, 7 Apr 2010 03:40:37 +0000 (03:40 +0000)]
clean up age old via epia target.

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

14 years agodrop the use of function pointers from romcc code.
Stefan Reinauer [Wed, 7 Apr 2010 03:11:28 +0000 (03:11 +0000)]
drop the use of function pointers from romcc code.

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

14 years agofix epia-m700 compilation, and remove more warnings.
Stefan Reinauer [Wed, 7 Apr 2010 02:30:57 +0000 (02:30 +0000)]
fix epia-m700 compilation, and remove more warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5366 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agono duplicate names in cmos.layout.
Stefan Reinauer [Wed, 7 Apr 2010 02:09:54 +0000 (02:09 +0000)]
no duplicate names in cmos.layout.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5365 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoswitch some ROMCC boards back to ROMCC.
Stefan Reinauer [Wed, 7 Apr 2010 02:06:53 +0000 (02:06 +0000)]
switch some ROMCC boards back to ROMCC.

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

14 years ago"no warnings day"
Stefan Reinauer [Wed, 7 Apr 2010 01:44:04 +0000 (01:44 +0000)]
"no warnings day"
last round for today. still warnings - help appreciated.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5363 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agooops... this is a critical issue. Some boards in the tree don't compile with
Stefan Reinauer [Wed, 7 Apr 2010 01:41:01 +0000 (01:41 +0000)]
oops... this is a critical issue. Some boards in the tree don't compile with
romcc even though they don't have CAR either. We need to check all boards and
fix those that are broken like this.

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

14 years ago- unify use of SB_HT_CHAIN_UNITID_OFFSET_ONLY
Stefan Reinauer [Wed, 7 Apr 2010 00:38:09 +0000 (00:38 +0000)]
- unify use of SB_HT_CHAIN_UNITID_OFFSET_ONLY
- cleanup reset
- some minor warning fixes.

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

14 years agofix CK804 boards.
Stefan Reinauer [Tue, 6 Apr 2010 23:55:17 +0000 (23:55 +0000)]
fix CK804 boards.

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

14 years agoNo warnings day, next round.
Stefan Reinauer [Tue, 6 Apr 2010 21:50:21 +0000 (21:50 +0000)]
No warnings day, next round.

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

14 years agofam10 acpi fix
Stefan Reinauerstepan [Tue, 6 Apr 2010 21:49:31 +0000 (21:49 +0000)]
fam10 acpi fix

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

14 years agoSigned-off-by: Rudolf Marek <r.marek@assembler.cz>
Rudolf Marek [Mon, 5 Apr 2010 19:47:34 +0000 (19:47 +0000)]
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Add Asrock 939a785gmh motherboard. The ACPI needs more cleanup, could be done when cleaning
the Mahagony board. The SidePort mode does not work because AMD hardcoded memory type in rs780_gfx.c
The UMA is enabled instead. The board boots, network and int VGA works, IDE too.

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

14 years agoAdd RS785G, looks like it works although it is RV620.
Rudolf Marek [Mon, 5 Apr 2010 19:21:18 +0000 (19:21 +0000)]
Add RS785G, looks like it works although it is RV620.

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

14 years agodevice_t wants device/device.h
Stefan Reinauer [Sat, 3 Apr 2010 15:41:27 +0000 (15:41 +0000)]
device_t wants device/device.h
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5355 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agono need to udelay()
Stefan Reinauer [Sat, 3 Apr 2010 14:19:22 +0000 (14:19 +0000)]
no need to udelay()

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

14 years agoremove more warnings.
Stefan Reinauer [Sat, 3 Apr 2010 13:33:01 +0000 (13:33 +0000)]
remove more warnings.

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

14 years agoremove more warnings
Stefan Reinauer [Sat, 3 Apr 2010 12:41:41 +0000 (12:41 +0000)]
remove more warnings
rename amd64_main to stage1_main..
copy src/mainboard/via/vt8454c/debug.c to src/lib/debug.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@5352 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd noreturn attribute to die() in romcc.
Stefan Reinauer [Sat, 3 Apr 2010 00:03:07 +0000 (00:03 +0000)]
Add noreturn attribute to die() in romcc.
This makes life a lot easier for static analyzers such as scan-build.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5351 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoremove more warnings.
Stefan Reinauer [Fri, 2 Apr 2010 22:31:35 +0000 (22:31 +0000)]
remove more warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5350 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agooops, sorry, overlapping work
Stefan Reinauer [Fri, 2 Apr 2010 22:13:27 +0000 (22:13 +0000)]
oops, sorry, overlapping work
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5349 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoremove some more warnings
Stefan Reinauer [Fri, 2 Apr 2010 22:11:20 +0000 (22:11 +0000)]
remove some more warnings

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

14 years agoFix console prototypes for non-romcc boards.
Myles Watson [Fri, 2 Apr 2010 21:39:12 +0000 (21:39 +0000)]
Fix console prototypes for non-romcc boards.

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

14 years agoFix includes for showallroutes.
Myles Watson [Fri, 2 Apr 2010 20:14:21 +0000 (20:14 +0000)]
Fix includes for showallroutes.

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

14 years agoThe error message is misleading, even for a SPEW, because
Stefan Reinauer [Fri, 2 Apr 2010 16:30:25 +0000 (16:30 +0000)]
The error message is misleading, even for a SPEW, because
the slot is empty, it's NOT a bad ID (and the message is
more confusing than helpful even in SPEW)

Signed-off-by: Stefan Reinauer <stepan@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@5345 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago- get rid of ASM_CONSOLE_LOGLEVEL except in two assembler files.
Stefan Reinauer [Thu, 1 Apr 2010 09:50:32 +0000 (09:50 +0000)]
- get rid of ASM_CONSOLE_LOGLEVEL except in two assembler files.
- start naming all versions of post code output "post_code()"

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

14 years agoConsolidate ifdefs in src/lib/cbmem.c for readability.
Myles Watson [Wed, 31 Mar 2010 14:57:55 +0000 (14:57 +0000)]
Consolidate ifdefs in src/lib/cbmem.c for readability.

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

14 years agoDrop \r\n and \n\r as both print_XXX and printk now do this internally.
Stefan Reinauer [Wed, 31 Mar 2010 14:47:43 +0000 (14:47 +0000)]
Drop \r\n and \n\r as both print_XXX and printk now do this internally.
Only some assembler files still have \r\n ... Can we move that part to C
completely?

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

14 years agoThis patch drops arch/i386/lib/console.c and arch/i386/lib/console_print.c and
Stefan Reinauer [Wed, 31 Mar 2010 14:34:40 +0000 (14:34 +0000)]
This patch drops arch/i386/lib/console.c and arch/i386/lib/console_print.c and
makes include/console/console.h and console/console.c usable both in
__PRE_RAM__ and coreboot_ram stages.

While debugging this, I removed an indirection from the e7520 ram init code
(same as we did on a couple of other chipsets, removes some register pressure
  from romcc)

Also, drop remainders of CONFIG_USE_INIT (except the one odd piece of dead code
in cache_as_ram.inc)

Then some ap_romstage.c fixes, at least the nvidia/l1_2pvv compiled for me with
CONFIG_AP_CODE_IN_CAR set in Kconfig which it did not before.

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

14 years agomini part of the patch on the mailing list to fix the boards again
Stefan Reinauer [Wed, 31 Mar 2010 00:06:12 +0000 (00:06 +0000)]
mini part of the patch on the mailing list to fix the boards again
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5340 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agono USE_INIT
Stefan Reinauer [Tue, 30 Mar 2010 22:21:06 +0000 (22:21 +0000)]
no USE_INIT
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5339 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop USE_INIT should be USE_PRINTK_IN_CAR here.
Stefan Reinauer [Tue, 30 Mar 2010 22:12:59 +0000 (22:12 +0000)]
drop USE_INIT should be USE_PRINTK_IN_CAR here.
uint32_t should be u32
DEBUG_RAM_SETUP was failing on some northbridges
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5338 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agothat version of console_tx_byte is private.
Stefan Reinauer [Tue, 30 Mar 2010 22:08:48 +0000 (22:08 +0000)]
that version of console_tx_byte is private.

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

14 years agofix some amd k8 warnings
Stefan Reinauer [Tue, 30 Mar 2010 22:03:10 +0000 (22:03 +0000)]
fix some amd k8 warnings

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

14 years agoget coreboot_ap memory training in cache mechanism in place. Didn't work since
Stefan Reinauer [Tue, 30 Mar 2010 21:52:05 +0000 (21:52 +0000)]
get coreboot_ap memory training in cache mechanism in place. Didn't work since
Kconfig (needs more patches to ap_romstage.c but this is a first step)

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

14 years agofix some southbridge warnings (trivial)
Stefan Reinauer [Tue, 30 Mar 2010 21:48:23 +0000 (21:48 +0000)]
fix some southbridge 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@5334 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago- drop unneeded Makefile.inc
Stefan Reinauer [Tue, 30 Mar 2010 21:47:10 +0000 (21:47 +0000)]
- drop unneeded Makefile.inc
- drop ap_romstage from Fam10 boards, the mechanism was never used on Fam10

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

14 years agoindent mptable.c
Stefan Reinauer [Tue, 30 Mar 2010 21:43:15 +0000 (21:43 +0000)]
indent mptable.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@5332 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop USE_INIT from mainboard Kconfig files, it's already set in src/Kconfig
Stefan Reinauer [Tue, 30 Mar 2010 21:41:33 +0000 (21:41 +0000)]
drop USE_INIT from mainboard Kconfig files, it's already set in src/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@5331 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agomake crt0s and ldscripts evaluate late, so the chipset_* variables are there at
Stefan Reinauer [Tue, 30 Mar 2010 20:32:01 +0000 (20:32 +0000)]
make crt0s and ldscripts evaluate late, so the chipset_* variables are there at
the time they are finally used. This should solve the Problem Myles was seeing
earlier today.

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

14 years agoabuild:
Stefan Reinauer [Tue, 30 Mar 2010 15:49:14 +0000 (15:49 +0000)]
abuild:
it seems make oldconfig is not safe for parallel compilation. The problem never
occured in my tests, but go back to non-parallel build again. Also pass on the
return value of make oldconfig correctly.

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

14 years agoabuild:
Stefan Reinauer [Tue, 30 Mar 2010 14:02:19 +0000 (14:02 +0000)]
abuild:
- increase context to 6 lines in case of build error
- add update mechanism to automatically produce fallback+normal in one image.
- tighten up output
- in-coreboot-builds makefile main target is now "all" as coreboot.rom matches
  a file
- time measurement now includes "make config" step
- actually allow long-implemented long version of --remove|-r option.

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

14 years agobuild_opt_tbl: error instead of null pointer access if no checksum is defined.
Stefan Reinauer [Tue, 30 Mar 2010 09:59:23 +0000 (09:59 +0000)]
build_opt_tbl: error instead of null pointer access if no checksum is defined.
xe7501devkit: If cmos.layout is used, there must be a checksum.

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

14 years agoadd CONFIG_NO_POST as it is used in the code, and move it together with CONFIG_SERIAL...
Stefan Reinauer [Tue, 30 Mar 2010 09:57:28 +0000 (09:57 +0000)]
add CONFIG_NO_POST as it is used in the code, and move it together with CONFIG_SERIAL_POST
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5326 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoreduce warnings in MCP55 and Fam10 code
Stefan Reinauer [Tue, 30 Mar 2010 09:56:35 +0000 (09:56 +0000)]
reduce warnings in MCP55 and Fam10 code

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

14 years agofix ms9652_fam10
Stefan Reinauer [Tue, 30 Mar 2010 08:20:37 +0000 (08:20 +0000)]
fix ms9652_fam10

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

14 years agounify cmos.layout wrt AMD extended configuration registers.
Stefan Reinauer [Tue, 30 Mar 2010 08:01:43 +0000 (08:01 +0000)]
unify cmos.layout wrt AMD extended configuration registers.
This removes double preprocessor define warnings from many boards.

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

14 years agothis fixes 3 of 4 mainboards failed by the error on missing IRQ_SLOT_COUNT.
Stefan Reinauer [Tue, 30 Mar 2010 00:22:29 +0000 (00:22 +0000)]
this fixes 3 of 4 mainboards failed by the error on missing IRQ_SLOT_COUNT.
The third, MSI MS9652, creates an IRQ table on the fly, no kidding.

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

14 years agoDon't include option_table.h every time we include mc146818rtc.h, that was a
Stefan Reinauer [Mon, 29 Mar 2010 23:01:35 +0000 (23:01 +0000)]
Don't include option_table.h every time we include mc146818rtc.h, that was a
stupid idea. Instead include it where it is needed. And add some explicit
dependencies to it.

Also, error for missing IRQ_SLOT_COUNT for now, so we can fix up the boards.

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

14 years agoThis drops the ASSEMBLY define from romstage.c, too
Stefan Reinauer [Mon, 29 Mar 2010 22:08:01 +0000 (22:08 +0000)]
This drops the ASSEMBLY define from romstage.c, too
(since it's not assembly code, this was a dirty hack anyways)
Also run
    awk 1 RS= ORS="\n\n" < $FILE > $FILE.nonewlines
    mv $FILE.nonewlines $FILE
on romstage.c because my perl -pi -e 's,#define ASSEMBLY 1,,g' */*/romstage.c
cut some holes into the source.

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

14 years ago- drop GCC 2.x workaround, GCC 2.x is not supported anymore.
Stefan Reinauer [Mon, 29 Mar 2010 22:05:26 +0000 (22:05 +0000)]
- drop GCC 2.x workaround, GCC 2.x is not supported anymore.
- warn if we didn't specify IRQ_SLOT_COUNT in 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@5319 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agotrivial warning cleanups
Stefan Reinauer [Mon, 29 Mar 2010 21:56:26 +0000 (21:56 +0000)]
trivial warning cleanups

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

14 years ago- include option_table.h when it is created, and that's HAVE_OPTION_TABLE
Stefan Reinauer [Mon, 29 Mar 2010 21:50:53 +0000 (21:50 +0000)]
- include option_table.h when it is created, and that's HAVE_OPTION_TABLE
- add some __PRE_RAM__ guards where needed
- use OPTION_TABLE_H

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

14 years agoqemu: drop "northbridge.c" from src/cpu/...
Stefan Reinauer [Mon, 29 Mar 2010 21:17:25 +0000 (21:17 +0000)]
qemu: drop "northbridge.c" from src/cpu/...
It's not a real northbridge, so I just move it into the mainboard directory for
now (until we maybe have a qemu-q35 image some day?)

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

14 years ago__PRE_RAM__ is now correctly specified in the Makefile. No need to hack it into
Stefan Reinauer [Mon, 29 Mar 2010 19:19:16 +0000 (19:19 +0000)]
__PRE_RAM__ is now correctly specified in the Makefile. No need to hack it into
romstage.c anymore

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

14 years agocpu_driver structs need to be const, too...
Stefan Reinauer [Mon, 29 Mar 2010 19:04:13 +0000 (19:04 +0000)]
cpu_driver structs need to be const, too...
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5314 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThis patch drops the coreboot CMOS checksum ranges from Kconfig because
Stefan Reinauer [Mon, 29 Mar 2010 17:14:28 +0000 (17:14 +0000)]
This patch drops the coreboot CMOS checksum ranges from Kconfig because
the information is already specified in cmos.layout. coreboot is changed
to use that version instead.

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

14 years agoabuild: fail with dignity if mainboard does not exist.
Stefan Reinauer [Mon, 29 Mar 2010 16:23:42 +0000 (16:23 +0000)]
abuild: fail with dignity if mainboard does not exist.

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

14 years agodualcore.h and quadcore.h are almost exactly the same.
Stefan Reinauer [Mon, 29 Mar 2010 14:45:36 +0000 (14:45 +0000)]
dualcore.h and quadcore.h are almost exactly the same.
Only have multicore.h for both of them.

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

14 years agoThis patch fixes build.h dependencies in coreboot again.
Stefan Reinauer [Mon, 29 Mar 2010 13:04:13 +0000 (13:04 +0000)]
This patch fixes build.h dependencies in coreboot again.
-include was dropped, the files in question do an #include <build.h> already.

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

14 years agoAdd a non-time consuming version of ram check so we can print a decent error
Stefan Reinauer [Sun, 28 Mar 2010 21:31:30 +0000 (21:31 +0000)]
Add a non-time consuming version of ram check so we can print a decent error
rather than looping on non-working ram.

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

14 years agodrop post_code()
Stefan Reinauer [Sun, 28 Mar 2010 21:30:23 +0000 (21:30 +0000)]
drop post_code()
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5308 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop unneeded __ROMCC__ checks when the check for __PRE_RAM__ is more
Stefan Reinauer [Sun, 28 Mar 2010 21:26:54 +0000 (21:26 +0000)]
drop unneeded __ROMCC__ checks when the check for __PRE_RAM__ is more
appropriate. Also, factor out post_code() for __PRE_RAM__ code and drop it from
some mainboards.

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

14 years agodrop __ROMCC__ define checks.. __PRE_RAM__ is what the code should be looking for.
Stefan Reinauer [Sun, 28 Mar 2010 15:11:56 +0000 (15:11 +0000)]
drop __ROMCC__ define checks.. __PRE_RAM__ is what the code should be looking for.

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

14 years agoccache and scan-build actually work together, so remove the
Patrick Georgi [Sat, 27 Mar 2010 17:36:39 +0000 (17:36 +0000)]
ccache and scan-build actually work together, so remove the
restriction that tells Kconfig not to allow that setup.
It's not particularily useful, as scan-build totally dominates
the gcc runtime, but well..

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

14 years agomake only needs to read Makefile.incs once, thanks to the
Patrick Georgi [Sat, 27 Mar 2010 17:18:39 +0000 (17:18 +0000)]
make only needs to read Makefile.incs once, thanks to the
SECONDEXPANSION feature of GNU make (and we rely on GNU make for lots of
things already)

File paths are relative to the root directory, which simplifies
debugging (make V=1 gives shorter command lines) and helps ccache
finding matches for checkouts in different directories (even though it
should normalize paths itself)

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

14 years agoRemove dead code and make white space more consistent for acpi_tables.c
Myles Watson [Fri, 26 Mar 2010 18:31:12 +0000 (18:31 +0000)]
Remove dead code and make white space more consistent for acpi_tables.c

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

14 years agoUpdate libpayload default configuration so a make oldconfig
Stefan Reinauer [Fri, 26 Mar 2010 11:47:13 +0000 (11:47 +0000)]
Update libpayload default configuration so a make oldconfig
on that configuration does not ask questions.

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

14 years agoMake sconfig only complain about real conflicts.
Patrick Georgi [Fri, 26 Mar 2010 10:33:36 +0000 (10:33 +0000)]
Make sconfig only complain about real conflicts.

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

14 years ago1. Remove warnings and multiple blank lines.
Zheng Bao [Fri, 26 Mar 2010 01:43:30 +0000 (01:43 +0000)]
1. Remove warnings and multiple blank lines.
2. Mahogany uses GPIO9 to detect 80-pin IDE cable.

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

14 years agoUSB updates from our internal tree
Stefan Reinauer [Thu, 25 Mar 2010 22:17:36 +0000 (22:17 +0000)]
USB updates from our internal tree
- support MMC2 devices
- make usb stack more solid
- drop some unused functions
- fix lowspeed/speed naming
- add support for "quirks"
- improve usbhid driver

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

14 years agolibpayload update
Stefan Reinauer [Thu, 25 Mar 2010 22:15:19 +0000 (22:15 +0000)]
libpayload update

* rework Config.in
* add string_to_args function to actually make getopt usable.
* add strchr
* add strlcat
* some malloc fixes (exposed by the USB stack)
* add malloc debugging (thanks to Matthias Krause from Secunet!)
* make LAR support optional, it's not really used anymore
* (define htoX macros for ppc)

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

14 years agoAdd support to build with ccache in the build system
Patrick Georgi [Thu, 25 Mar 2010 21:45:25 +0000 (21:45 +0000)]
Add support to build with ccache in the build system

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

14 years agoMake build verbose when requested by abuild
Patrick Georgi [Thu, 25 Mar 2010 19:01:27 +0000 (19:01 +0000)]
Make build verbose when requested by abuild

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

14 years agoAdd coreboot framebuffer support to libpayload
Stefan Reinauer [Thu, 25 Mar 2010 18:56:26 +0000 (18:56 +0000)]
Add coreboot framebuffer support to libpayload

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

14 years agodon't hardcode i386 in lpgcc
Stefan Reinauer [Thu, 25 Mar 2010 18:54:43 +0000 (18:54 +0000)]
don't hardcode i386 in lpgcc

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

14 years agoallow libpayload to completely build out of tree.
Stefan Reinauer [Thu, 25 Mar 2010 18:54:08 +0000 (18:54 +0000)]
allow libpayload to completely build out of tree.

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

14 years agoprevent timer overflows in libpayload
Stefan Reinauer [Thu, 25 Mar 2010 18:53:20 +0000 (18:53 +0000)]
prevent timer overflows in libpayload

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

14 years agomake keyboard reset driver generic (not pc keyboard driver dependent)
Stefan Reinauer [Thu, 25 Mar 2010 18:52:24 +0000 (18:52 +0000)]
make keyboard reset driver generic (not pc keyboard driver dependent)
so it can be used by usb, too

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

14 years agoCopy argument of -include as it's modified later.
Patrick Georgi [Thu, 25 Mar 2010 15:49:40 +0000 (15:49 +0000)]
Copy argument of -include as it's modified later.

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

14 years agoIt's really obj=, not O= (see toplevel Makefile)
Patrick Georgi [Thu, 25 Mar 2010 15:25:15 +0000 (15:25 +0000)]
It's really obj=, not O= (see toplevel Makefile)

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