coreboot.git
14 years agoAdd support for the SMSC FDC37C932 Super I/O.
Marc Bertens [Tue, 13 Apr 2010 01:22:20 +0000 (01:22 +0000)]
Add support for the SMSC FDC37C932 Super I/O.

This chip is found e.g. in the Nokia IP330 (firewall hardware).

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

14 years agoupdate atom car code in the same way that 6ex/6fx was updated.
Stefan Reinauer [Tue, 13 Apr 2010 00:11:59 +0000 (00:11 +0000)]
update atom car code in the same way that 6ex/6fx was updated.

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

14 years agoFix eagleheights
Stefan Reinauer [Tue, 13 Apr 2010 00:02:20 +0000 (00:02 +0000)]
Fix eagleheights
not a 6ex board, but using the same CAR 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@5414 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoport latest model 6ex car changes to 6fx car, which is almost identical and
Stefan Reinauer [Mon, 12 Apr 2010 23:12:15 +0000 (23:12 +0000)]
port latest model 6ex car changes to 6fx car, which is almost identical and
currently unused. Just keep it in sync, we might need it 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@5413 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agomove model_6ex car to a single file. No more .c files that only consist of a
Stefan Reinauer [Mon, 12 Apr 2010 23:04:29 +0000 (23:04 +0000)]
move model_6ex car to a single file. No more .c files that only consist of a
single several pages long asm statement

Could use some renumbering of post codes, but that's good for another time.

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

14 years agoMove the CPU specific includes from
Patrick Georgi [Mon, 12 Apr 2010 15:28:34 +0000 (15:28 +0000)]
Move the CPU specific includes from
src/arch/i386/Makefile.inc to the respective CPU directories.

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

14 years agoEnable lazy evaluation of incs/lds for tiny bootblock, too.
Patrick Georgi [Mon, 12 Apr 2010 10:22:20 +0000 (10:22 +0000)]
Enable lazy evaluation of incs/lds for tiny bootblock, too.
Necessary for romstraps

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

14 years ago- move the XIP_ROM_* flags to src/cpu/x86/Kconfig exclusively
Patrick Georgi [Mon, 12 Apr 2010 09:50:53 +0000 (09:50 +0000)]
- move the XIP_ROM_* flags to src/cpu/x86/Kconfig exclusively
- set them to span the last 64k, instead of the last 128k
  by default
- fixes via CAR for tiny bootblock
- enabled tiny bootblock for via/vt8454c

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

14 years agoadd int15 handler for thomson ip1000
Stefan Reinauer [Sun, 11 Apr 2010 20:04:50 +0000 (20:04 +0000)]
add int15  handler for thomson ip1000
fix mbi length detection, this will remove what looked like an endless loop
during vga init in some cases.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5408 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodo better error reporting in i82801dx early smbus functions.
Stefan Reinauer [Sun, 11 Apr 2010 20:02:47 +0000 (20:02 +0000)]
do better error reporting in i82801dx early smbus functions.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5407 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThe ADL855PC was never confirmed working (in fact it's pretty sure that code
Stefan Reinauer [Sun, 11 Apr 2010 19:02:10 +0000 (19:02 +0000)]
The ADL855PC was never confirmed working (in fact it's pretty sure that code
does not work as it is, but it's the only compile test case for i855pm). It's
the only board left using an ICH4 that does not use CAR. Change that.

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

14 years agoadd support for reading ip1000 gpios.
Stefan Reinauer [Sun, 11 Apr 2010 18:57:10 +0000 (18:57 +0000)]
add support for reading ip1000 gpios.

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

14 years agosimplify ram_read32 on i82830
Stefan Reinauer [Sun, 11 Apr 2010 18:54:47 +0000 (18:54 +0000)]
simplify ram_read32 on i82830
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5404 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMore trivial changes to i82830 raminit.c for USE_PRINTK_IN_CAR.
Joseph Smith [Sun, 11 Apr 2010 16:36:13 +0000 (16:36 +0000)]
More trivial changes to i82830 raminit.c for USE_PRINTK_IN_CAR.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Joseph Smith <joe@settoplinux.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5403 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoTrivial changes to i82830 raminit.c for USE_PRINTK_IN_CAR.
Joseph Smith [Sun, 11 Apr 2010 05:50:08 +0000 (05:50 +0000)]
Trivial changes to i82830 raminit.c for USE_PRINTK_IN_CAR.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Joseph Smith <joe@settoplinux.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5402 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoWe don't define LB_CKS_* per board anymore:
Patrick Georgi [Fri, 9 Apr 2010 22:25:27 +0000 (22:25 +0000)]
We don't define LB_CKS_* per board anymore:
build_opt_tbl figures them out for us.

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

14 years agoDrop ASM_CONSOLE_LOGLEVEL from LX car code. We do output in C in copy_and_run /
Stefan Reinauer [Fri, 9 Apr 2010 21:05:36 +0000 (21:05 +0000)]
Drop ASM_CONSOLE_LOGLEVEL from LX car code. We do output in C in copy_and_run /
later.
Call copy_and_run instead of cbfs_and_run_core because we can choose the
coreboot_ram filename in C instead of Assembler.

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

14 years agoThis patch changes C7 CAR code to be a single assembler file instead
Stefan Reinauer [Fri, 9 Apr 2010 20:36:29 +0000 (20:36 +0000)]
This patch changes C7 CAR code to be a single assembler file instead
of the ugly mixture it was before. It also enables CAR for all C7 boards

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

14 years agozero warning days.
Stefan Reinauer [Fri, 9 Apr 2010 15:39:21 +0000 (15:39 +0000)]
zero warning days.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5398 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agofix the broken nvidia chipset boards,
Stefan Reinauer [Fri, 9 Apr 2010 15:29:13 +0000 (15:29 +0000)]
fix the broken nvidia chipset boards,
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@5397 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agozero warnings days.
Stefan Reinauer [Fri, 9 Apr 2010 14:46:51 +0000 (14:46 +0000)]
zero warnings days.

The tyan s2895 is down to 3 warnings, 2 of which are caused by #warning.

The 1000 ways of how the AMD code waits for the cores to be started up
are a real pain for the brain.

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

14 years agodrop now unussed cpu_reset.inc
Stefan Reinauer [Fri, 9 Apr 2010 13:49:48 +0000 (13:49 +0000)]
drop now unussed cpu_reset.inc
make it more clear if coreboot is building without payload.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5395 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agozero warnings days.
Stefan Reinauer [Fri, 9 Apr 2010 13:35:03 +0000 (13:35 +0000)]
zero warnings days.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5394 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoDrop the need for cpu_reset, it's really just a short cut to stage2.
Stefan Reinauer [Fri, 9 Apr 2010 13:33:59 +0000 (13:33 +0000)]
Drop the need for cpu_reset, it's really just a short cut to stage2.

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

14 years agodrop unused files
Stefan Reinauer [Fri, 9 Apr 2010 13:31:07 +0000 (13:31 +0000)]
drop unused files
drop some non-car code from amd/dualcore (there is no AMD dualcore without CAR)

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

14 years agoremove some amd mainboard warnings.
Stefan Reinauer [Fri, 9 Apr 2010 11:55:43 +0000 (11:55 +0000)]
remove some amd mainboard 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@5391 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agodrop unused files, and we only use ASM_LOG_LEVEL in one file now
Stefan Reinauer [Fri, 9 Apr 2010 11:37:58 +0000 (11:37 +0000)]
drop unused files, and we only use ASM_LOG_LEVEL in one file now
(LX CAR)

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

14 years agozero warning days.
Stefan Reinauer [Fri, 9 Apr 2010 11:34:59 +0000 (11:34 +0000)]
zero warning days.

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

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