coreboot.git
13 years agoThe code is tested on my board with register DIMMs. More tests need to be
Zheng Bao [Mon, 17 Jan 2011 02:20:33 +0000 (02:20 +0000)]
The code is tested on my board with register DIMMs. More tests need to be
done. Please send the testing report.

Note: The pDCTstat->PresetmaxFreq in mctGet_MaxLoadFreq() should be set
to a higher limit, otherwise the frequnce will be set as 400MHz.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Scott Duplichan <scott@notabs.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6258 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoOoops lets see if this extra comment removal fixes this.
Rudolf Marek [Sun, 16 Jan 2011 17:15:36 +0000 (17:15 +0000)]
Ooops lets see if this extra comment removal fixes this.

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

13 years agoTrivial, cleanup of GPIO comments.
Rudolf Marek [Sun, 16 Jan 2011 16:23:51 +0000 (16:23 +0000)]
Trivial, cleanup of GPIO comments.

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

13 years agoDisable CMOS recovery code for ROMCC boards as the CBFS code used for
Patrick Georgi [Fri, 14 Jan 2011 08:36:34 +0000 (08:36 +0000)]
Disable CMOS recovery code for ROMCC boards as the CBFS code used for
that feature is not ROMCC compatible.
Fixes build errors introduced in r6253.

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

13 years agoImproved GPIO setup for roda/rk886ex, and some documentation
Patrick Georgi [Fri, 14 Jan 2011 07:41:42 +0000 (07:41 +0000)]
Improved GPIO setup for roda/rk886ex, and some documentation
on what the GPIOs are used for.

Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6254 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAllow coreboot to initialize CMOS if checksum is invalid.
Patrick Georgi [Fri, 14 Jan 2011 07:40:24 +0000 (07:40 +0000)]
Allow coreboot to initialize CMOS if checksum is invalid.

If a file "cmos.default", type "cmos default"(0xaa) is in CBFS,
a wrong checksum leads to coreboot rewriting the first 128 bytes
(except for clock data) with the data in cmos.default, then
reboots the system so every component of coreboot works with the
same set of values.

Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6253 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoDefault to CRT on Kontron/986lcd-m. "default display" doesn't always
Patrick Georgi [Thu, 13 Jan 2011 11:40:38 +0000 (11:40 +0000)]
Default to CRT on Kontron/986lcd-m. "default display" doesn't always
select the right output device.

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

13 years agoImprove compatibility of YABEL with real-world VGABIOSes
Patrick Georgi [Thu, 13 Jan 2011 11:38:46 +0000 (11:38 +0000)]
Improve compatibility of YABEL with real-world VGABIOSes

Some of them do weird things to the option rom region (mapping
registers there or so) which failed as we handled these memory
region in emulation. As they were copied back to real memory
after the emulation was done, we can just as well use real
memory directly for these regions.

This affects IVT, BDA, and option ROM space.

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

13 years agoAdd "cbfstool extract" function.
Aurelien Guillaume [Thu, 13 Jan 2011 09:09:21 +0000 (09:09 +0000)]
Add "cbfstool extract" function.

It dumps everything you ask for, but you might not
get what you expect if the file is compressed or
otherwise converted (eg. payloads in SELF format).
(Originally it would only extract "raw" files.
This is a change by me, as filetypes are commonly used
to differentiate raw data files --Patrick)

Signed-off-by: Aurelien Guillaume <aurelien@iwi.me>
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Patrick Georgi <patrick.georgi@secunet.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6250 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agodrop unused files
Stefan Reinauer [Wed, 12 Jan 2011 21:09:25 +0000 (21:09 +0000)]
drop unused files

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

13 years agochange a readable way to fix SB800 CIMX "multi-character constant warning".
Kerry She [Tue, 11 Jan 2011 02:15:57 +0000 (02:15 +0000)]
change a readable way to fix SB800 CIMX "multi-character constant warning".
by using 'Int32FromChar' macro, instead of the ASCII code.

Signed-off-by: Kerry She <kerry.she@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6248 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoVarious Nokia IP530 fixes.
Marc Bertens [Thu, 6 Jan 2011 23:03:46 +0000 (23:03 +0000)]
Various Nokia IP530 fixes.

 - Correct default ROM image size for this board (512KB is correct).

 - devicetree.cb: Add AUX I/O config (mainly GPIO settings).
   This allows you to control the LEDs in the front panel and JP900/JP901
   can be read.

 - irq_tables.c: Rework PIRQ table to make more onboard devices work.
   Also, avoid IRQ9.

 - mainboard.c: Drop unneeded functions, everything is done in devicetree.cb.

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

13 years agoFix some settings fo AMD MCT. It is based on BIOS test suite.
Zheng Bao [Thu, 6 Jan 2011 02:18:12 +0000 (02:18 +0000)]
Fix some settings fo AMD MCT. It is based on BIOS test suite.

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

13 years agouart_init is only used in romstage.
Stefan Reinauer [Wed, 5 Jan 2011 02:40:53 +0000 (02:40 +0000)]
uart_init is only used in romstage.

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

13 years agomove single options out of main menu and remove stray "options"
Stefan Reinauer [Wed, 5 Jan 2011 02:27:53 +0000 (02:27 +0000)]
move single options out of main menu and remove stray "options"

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

13 years agofix compilation of mconf on some systems.
Stefan Reinauer [Wed, 5 Jan 2011 02:10:50 +0000 (02:10 +0000)]
fix compilation of mconf on some systems.

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

13 years agofix "make clean"
Stefan Reinauer [Wed, 5 Jan 2011 01:37:48 +0000 (01:37 +0000)]
fix "make clean"

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

13 years agoMCP55: Cosmetic fixes, switch to u8 et al.
Uwe Hermann [Tue, 4 Jan 2011 19:51:33 +0000 (19:51 +0000)]
MCP55: Cosmetic fixes, switch to u8 et al.

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

13 years agoCK804: Cosmetic fixes, switch to u8 et al.
Uwe Hermann [Tue, 4 Jan 2011 17:36:55 +0000 (17:36 +0000)]
CK804: Cosmetic fixes, switch to u8 et al.

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

13 years agoTrivial:
Kerry She [Tue, 4 Jan 2011 06:39:29 +0000 (06:39 +0000)]
Trivial:
 add missed CIMx file to romstage. in order to link them into romstage, move all CIMx table to .rodata section.
 Run dos2unix on Makefile.inc, which is not upstream CIMx code

Signed-off-by: Kerry She <kerry.she@amd.com>
Acked-by: Kerry She <kerry.she@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6239 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoTrivial: use the IO_APIC_ADDR constant defined in ioapic.h, and spell check
Kerry She [Tue, 4 Jan 2011 06:15:46 +0000 (06:15 +0000)]
Trivial: use the IO_APIC_ADDR constant defined in ioapic.h, and spell check

Signed-off-by: Kerry She <kerry.she@amd.com>
Acked-by: Kerry She <kerry.she@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6238 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agosrc/southbridge/amd/cimx_wrapper: Run dos2unix on the files.
Uwe Hermann [Sat, 1 Jan 2011 23:36:03 +0000 (23:36 +0000)]
src/southbridge/amd/cimx_wrapper: Run dos2unix on the files.

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

13 years agoAMD SB800: Drop component prefix from filenames.
Uwe Hermann [Sat, 1 Jan 2011 23:30:37 +0000 (23:30 +0000)]
AMD SB800: Drop component prefix from filenames.

We did the same with other chipsets in r6150.

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

13 years agoAdd detection support for the ITE IT8721F.
Uwe Hermann [Sat, 1 Jan 2011 22:05:57 +0000 (22:05 +0000)]
Add detection support for the ITE IT8721F.

Tested on hardware by me.

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

13 years agoAMD Bimini: Use mptable_init() in mptable.c.
Uwe Hermann [Sat, 1 Jan 2011 18:58:39 +0000 (18:58 +0000)]
AMD Bimini: Use mptable_init() in mptable.c.

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

13 years agoAMD Bimini: Small fixes, and updates to recent trunk conventions.
Uwe Hermann [Sat, 1 Jan 2011 18:40:02 +0000 (18:40 +0000)]
AMD Bimini: Small fixes, and updates to recent trunk conventions.

 - Move CACHE_AS_RAM_ADDRESS_DEBUG #define to Kconfig, where it was renamed
   to HAVE_DEBUG_CAR in r5898.

 - Move QRANK_DIMM_SUPPORT to Kconfig, see r6028.

 - Drop obsolete/unused COMPRESS, see r6145.

 - Drop obsolete SET_NB_CFG_54, see r6086.

 - Move SET_FIDVID/SET_FIDVID_CORE_RANGE to Kconfig, see r6077.
   Actually, the default for SET_FIDVID_CORE_RANGE is 0, so drop it.

 - Rename some GENERATE_* options to HAVE_*, see r6027.

 - Drop "select CACHE_AS_RAM", this is now set in the socket, see r6151.

 - Drop ACPI_SSDTX_NUM, the global default is 0 already.

 - Random whitespace and coding style fixes.

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

13 years agoAMD Bimini: Drop duplicate ASL files as we did for other boards.
Uwe Hermann [Sat, 1 Jan 2011 18:10:07 +0000 (18:10 +0000)]
AMD Bimini: Drop duplicate ASL files as we did for other boards.

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

13 years agoAdd support for the AMD Bimini eval mainboard.
Kerry She [Sat, 1 Jan 2011 18:04:42 +0000 (18:04 +0000)]
Add support for the AMD Bimini eval mainboard.

Signed-off-by: Kerry She <Kerry.she@amd.com>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6231 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd AMD SB800 southbridge support via cimx_wrapper.
Kerry She [Sat, 1 Jan 2011 17:52:34 +0000 (17:52 +0000)]
Add AMD SB800 southbridge support via cimx_wrapper.

Signed-off-by: Kerry She <Kerry.she@amd.com>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6230 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd AMD SB800 southbridge CIMx code.
Kerry She [Sat, 1 Jan 2011 17:44:07 +0000 (17:44 +0000)]
Add AMD SB800 southbridge CIMx code.

The main CIMx code is in a src/vendorcode directory and should not be
changed with regard to coding style etc. in order to remain easily syncable
with the "upstream" AMD code.

Signed-off-by: Kerry She <Kerry.she@amd.com>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6229 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoUse $(MAKE) instead of make when cleaning for SeaBIOS.
Jonathan Kollasch [Fri, 31 Dec 2010 19:20:23 +0000 (19:20 +0000)]
Use $(MAKE) instead of make when cleaning for SeaBIOS.

Signed-off-by: Jonathan Kollasch <jakllsch@kollasch.net>
Acked-by: Jonathan Kollasch <jakllsch@kollasch.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6228 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd RS785(RS880) support. Just few pci_ids.
Zheng Bao [Fri, 31 Dec 2010 01:46:12 +0000 (01:46 +0000)]
Add RS785(RS880) support. Just few pci_ids.

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

13 years agoAdd detection of Nuvoton WPCM450.
Zheng Bao [Fri, 31 Dec 2010 01:38:45 +0000 (01:38 +0000)]
Add detection of Nuvoton WPCM450.

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

13 years agoRemove duplicated GX2 processor IIOC mode setting on CS5535 southbridge code
Nils Jacobs [Thu, 30 Dec 2010 19:23:29 +0000 (19:23 +0000)]
Remove duplicated GX2 processor IIOC mode setting on CS5535 southbridge code
and fix CIS mode comments.

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

13 years agoUse die() to assure the processor can't wake up from an interrupt.
Nils Jacobs [Thu, 30 Dec 2010 19:21:08 +0000 (19:21 +0000)]
Use die()  to assure the processor can't wake up from an interrupt.

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

13 years agoPer default, use SeaBIOS payload instead of no payload.
Stefan Reinauer [Thu, 30 Dec 2010 17:39:50 +0000 (17:39 +0000)]
Per default, use SeaBIOS payload instead of no payload.
Add choice to use stable or master version of seabios repository

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

13 years agosuperiotool: Don't skip probing on a port if a a chip was detected on another port.
Stefan Reinauer [Thu, 30 Dec 2010 16:57:58 +0000 (16:57 +0000)]
superiotool: Don't skip probing on a port if a a chip was detected on another port.
Only skip probing if chip was found on the same port already to avoid
duplicates.
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6222 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years ago-Change the remaining GLIU1 port 5 register names from VIP (Video Input Port)
Nils Jacobs [Wed, 29 Dec 2010 21:12:10 +0000 (21:12 +0000)]
-Change the remaining GLIU1 port 5 register names from VIP (Video Input Port)
       to FG (FooGlue). As the GX2 has no VIP port.
-Change the Memmory setup MSR register names so they correspond better to the
       databook. (Part1)
       This is less confusing for beginners.
-Add a MSR printing function to northbridge.c like in the Geode LX code.
-Remove the AES register names.(GX2 has no AES registers)
-Delete some unused code.
-Clean up GX2 northbridge code  to match Geode LX code.
-Add missing copyright header to northbridge.c.
-Move hardcoded IRQ defining from northbridge.c to irq_tables.c .

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

13 years agofix i810 boards with ram init debugging disabled.
Stefan Reinauer [Wed, 29 Dec 2010 21:02:50 +0000 (21:02 +0000)]
fix i810 boards with ram init debugging disabled.

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

13 years ago-Clean up some comments.
Nils Jacobs [Wed, 29 Dec 2010 20:31:31 +0000 (20:31 +0000)]
-Clean up some comments.
-Remove some white spaces.
-Remove some leading zeros.
-Fix a typo in LX code.

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

13 years agoproper printk handling in src/northbridge/intel/i82810/raminit.c
Stefan Reinauer [Mon, 27 Dec 2010 14:31:05 +0000 (14:31 +0000)]
proper printk handling in src/northbridge/intel/i82810/raminit.c
and drop some romcc relics in 440bx code too

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

13 years ago__PRE_RAM__ is defined by the makefile
Stefan Reinauer [Mon, 27 Dec 2010 13:30:39 +0000 (13:30 +0000)]
__PRE_RAM__ is defined by the makefile
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6217 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agodump_spd_registers() is only defined when ram init debugging is on.
Stefan Reinauer [Mon, 27 Dec 2010 13:29:38 +0000 (13:29 +0000)]
dump_spd_registers() is only defined when ram init debugging is on.

Most boards unconditionally call this. Fix it in header file instead of each single romstage.c

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

13 years agoFix most CONFIG_DEBUG_RAM_SETUP issues.
Stefan Reinauer [Mon, 27 Dec 2010 11:34:57 +0000 (11:34 +0000)]
Fix most CONFIG_DEBUG_RAM_SETUP issues.

The intel/xe7501devkit is still broken, I think the (romcc) image is too big to
fit in the bootblock if CONFIG_DEBUG_RAM_SETUP is enabled. It would make sense
to convert all CPU_INTEL_SOCKET_MPGA604 to CAR, but I have no hardware to test.

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

13 years agoIntel SCH: make state machine binary selection available in Kconfig for now.
Stefan Reinauer [Mon, 27 Dec 2010 08:21:23 +0000 (08:21 +0000)]
Intel SCH: make state machine binary selection available in Kconfig for now.

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

13 years agoAll the values should stay untouched or be set automatically by the resource
Stefan Reinauer [Sun, 26 Dec 2010 16:49:57 +0000 (16:49 +0000)]
All the values should stay untouched or be set automatically by the resource
allocator. If that does not work out, they should be set in the code. Setting
them in Kconfig is the worst possible thing to do.

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

13 years agoRandom fixes for TI pci1x2x / Nokia IP530 / others.
Uwe Hermann [Sun, 26 Dec 2010 14:12:38 +0000 (14:12 +0000)]
Random fixes for TI pci1x2x / Nokia IP530 / others.

 - nokia/ip530/devicetree.cb, southbridge/ti/pci1x2x/pci1x2x.c:
   - Fix SMSC FDC37B787 name (was a typo).
   - Disable PS/2 keyboard/mouse LDN, the IP530 doesn't have either.
   - Fix typo: s/PCI_DEVICE_ID_TI_1420/PCI_DEVICE_ID_TI_1520/.
   - All of these are confirmed by Marc Bertens on IRC.

 - Fix a few CHIP_NAME HP board names.

 - Random whitespace and coding-style fixes.

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

13 years agoMove Geode GX2 UMA video memory size to Kconfig
Nils Jacobs [Sun, 26 Dec 2010 05:24:50 +0000 (05:24 +0000)]
Move Geode GX2 UMA video memory size to Kconfig

Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6211 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoRemove dead and unused Geode GX2 code
Nils Jacobs [Sun, 26 Dec 2010 05:21:18 +0000 (05:21 +0000)]
Remove dead and unused Geode GX2 code

Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6210 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoReplace Geode GX2 MSR addresses for GLCP on GLIU1 with names
Nils Jacobs [Sun, 26 Dec 2010 05:16:47 +0000 (05:16 +0000)]
Replace Geode GX2 MSR addresses for GLCP on GLIU1 with names

Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6209 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoClean up Geode GX2 comments, whitespace and coding style. Trivial.
Nils Jacobs [Sun, 26 Dec 2010 05:12:49 +0000 (05:12 +0000)]
Clean up Geode GX2 comments, whitespace and coding style. Trivial.

Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6208 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoNokia IP530: Add missing "select SDRAMPWR_4DIMM".
Uwe Hermann [Sat, 25 Dec 2010 22:54:41 +0000 (22:54 +0000)]
Nokia IP530: Add missing "select SDRAMPWR_4DIMM".

This is needed for all Intel 440BX boards with 4 DIMM slots (such as this one).

Thanks Marc Bertens <mbertens@xs4all.nl> for bringing up the issue and
for the success report for this fix on IRC.

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

13 years agoFix build with CONFIG_DEBUG_RAM_SETUP on Intel 440BX, use printk().
Keith Hui [Thu, 23 Dec 2010 17:12:03 +0000 (17:12 +0000)]
Fix build with CONFIG_DEBUG_RAM_SETUP on Intel 440BX, use printk().

It's a good thing to use printk() instead of print_*() anyway
on 440BX (and other chipsets which have been converted to CAR).

Build tested and boot-tested on ASUS P2B-LS.

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

13 years agoVarious Winbond/Nuvoton W83527HG fixes as per datasheet.
Uwe Hermann [Mon, 20 Dec 2010 23:40:23 +0000 (23:40 +0000)]
Various Winbond/Nuvoton W83527HG fixes as per datasheet.

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

13 years agoThe same mechanisms are used for normal and fallback images.
Stefan Reinauer [Sun, 19 Dec 2010 21:20:14 +0000 (21:20 +0000)]
The same mechanisms are used for normal and fallback images.
Hence drop the FALLBACK_ prefix

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

13 years agoASUS M2N-E: Enable PCI-E x16 slot.
Uwe Hermann [Sun, 19 Dec 2010 01:08:40 +0000 (01:08 +0000)]
ASUS M2N-E: Enable PCI-E x16 slot.

Simple devicetree.cb fix, tested on hardware using a PCI-E x16 graphics card.

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

13 years agoSMM on AMD K8 Part 2/2
Rudolf Marek [Sat, 18 Dec 2010 23:30:59 +0000 (23:30 +0000)]
SMM on AMD K8 Part 2/2

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

13 years agoSMM for AMD K8 Part 1/2
Stefan Reinauer [Sat, 18 Dec 2010 23:29:37 +0000 (23:29 +0000)]
SMM for AMD K8 Part 1/2

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

13 years agoFix a few whitespace and coding style issues.
Uwe Hermann [Sat, 18 Dec 2010 13:22:37 +0000 (13:22 +0000)]
Fix a few whitespace and coding style issues.

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

13 years agoA couple of Poulsbo fixes:
Patrick Georgi [Sat, 18 Dec 2010 11:55:06 +0000 (11:55 +0000)]
A couple of Poulsbo fixes:
- Don't include cmc.bin to the build. It's required, but we don't ship it
- mptable's API changes a bit. Adapt.
- Fix ACPI for new iasl versions with improved code validation

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

13 years agoSupport Intel SCH (Poulsbo) and add iwave/iWRainbowG6 board
Patrick Georgi [Sat, 18 Dec 2010 07:48:43 +0000 (07:48 +0000)]
Support Intel SCH (Poulsbo) and add iwave/iWRainbowG6 board
which uses it.

Compiles, but not boot tested lately.
Many things missing (eg. SMM support, proper ACPI, ...)

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

13 years agointeltool: Model 0xf2x, ICH5, i865 support.
Idwer Vollering [Fri, 17 Dec 2010 22:34:58 +0000 (22:34 +0000)]
inteltool: Model 0xf2x, ICH5, i865 support.

Add support for dumping the MSRs on model_f2x and dumping GPIOs and PM
registers on ICH5. Add ICH5 and i865 to the supported chips list.
Enable the dumping of BAR6 on i865.

Sample output:

  Disabling memory access:
  $ sudo setpci -s 6.0 0x04.b=0x0

  $ sudo ./inteltool -m | head -n 9
  Intel CPU: Processor Type: 0, Family f, Model 2, Stepping 7
  Intel Northbridge: 8086:2570 (i865)
  Intel Southbridge: 8086:24d0 (ICH5)

  ============= MCHBAR ============

  Access to BAR6 is currently disabled, attempting to enable.
  Enabled successfully.
  BAR6 = 0xfecf0000 (MEM)

Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6197 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoRemove some more unused/incorrect hda_verb.h files.
Uwe Hermann [Fri, 17 Dec 2010 18:04:26 +0000 (18:04 +0000)]
Remove some more unused/incorrect hda_verb.h files.

As discussed on the mailing list at
http://www.coreboot.org/pipermail/coreboot/2010-December/062393.html
http://www.coreboot.org/pipermail/coreboot/2010-December/062510.html

Someone who owns these boards should create correct files at some point.

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

13 years agoUpdate reference toolchain due to some inlining bugs in 4.5.1
Stefan Reinauer [Fri, 17 Dec 2010 02:32:42 +0000 (02:32 +0000)]
Update reference toolchain due to some inlining bugs in 4.5.1
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6195 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agofix the tree again.
Stefan Reinauer [Fri, 17 Dec 2010 01:51:34 +0000 (01:51 +0000)]
fix the tree again.
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6194 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThis was accidently not svn added when the compiler was updated.
Marc Jones [Fri, 17 Dec 2010 01:27:22 +0000 (01:27 +0000)]
This was accidently not svn added when the compiler was updated.

Update coreboot crossgcc toolchain, GDB 4.5.1, MPFR 3.0.0, GDB 7.2.
Add libelf_cv_elf_h_works=no to produce a libelf.h for Cygwin.
Add GDB patch to handle #pragma pack in the i386-elf gcc target.

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

13 years agoadd license headers to some trivial files and pc87427.h
Stefan Reinauer [Fri, 17 Dec 2010 00:13:54 +0000 (00:13 +0000)]
add license headers to some trivial files and pc87427.h
Mostly done according to initial file creator.

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

13 years agodrop one more version of doing serial uart output differently.
Stefan Reinauer [Fri, 17 Dec 2010 00:08:21 +0000 (00:08 +0000)]
drop one more version of doing serial uart output differently.

coreboot made it kind of complicated to print a character on serial. Not quite
as complicated as UEFI, but too much for a good design. Fix it.

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

13 years agoguard against the case that CONFIG_WAIT_BEFORE_CPUS_INIT is not defined at all.
Stefan Reinauer [Fri, 17 Dec 2010 00:03:18 +0000 (00:03 +0000)]
guard against the case that CONFIG_WAIT_BEFORE_CPUS_INIT is not defined at all.
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6190 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agodrop unused code in div64.h
Stefan Reinauer [Thu, 16 Dec 2010 23:57:43 +0000 (23:57 +0000)]
drop unused code in div64.h

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

13 years agoprint what make is doing (CBFS call)
Stefan Reinauer [Thu, 16 Dec 2010 23:57:00 +0000 (23:57 +0000)]
print what make is doing (CBFS call)

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

13 years agodon't hardcode CONFIG_PC80_SYSTEM
Stefan Reinauer [Thu, 16 Dec 2010 23:52:04 +0000 (23:52 +0000)]
don't hardcode CONFIG_PC80_SYSTEM
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6187 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years ago- Fix shortcoming in Kconfig when handling multiple "choice"s
Stefan Reinauer [Thu, 16 Dec 2010 23:37:17 +0000 (23:37 +0000)]
- Fix shortcoming in Kconfig when handling multiple "choice"s
- move some variables where they belong

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

13 years agofix according to coding guidelines
Stefan Reinauer [Thu, 16 Dec 2010 23:24:27 +0000 (23:24 +0000)]
fix according to coding guidelines
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6185 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd TINY_BOOTBLOCK support for the SiS966 southbridge.
Uwe Hermann [Thu, 16 Dec 2010 19:57:54 +0000 (19:57 +0000)]
Add TINY_BOOTBLOCK support for the SiS966 southbridge.

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

13 years agoGet mptable OEM/product ID from kconfig variables.
Uwe Hermann [Thu, 16 Dec 2010 19:51:38 +0000 (19:51 +0000)]
Get mptable OEM/product ID from kconfig variables.

We currently use "COREBOOT" unconditionally as the "OEM ID" in our
mptable.c files, and hardcode the mainboard name in mptable.c like this:

  mptable_init(mc, "DK8-HTX     ", LAPIC_ADDR);

However, the spec says

  "OEM ID: A string that identifies the manufacturer of the system hardware."
  (Table 4-2, page 42)

so "COREBOOT" doesn't match the spec, we should use the hardware vendor name.

Thus, use CONFIG_MAINBOARD_VENDOR which we have already as the "OEM ID"
(truncate/fill it to 8 characters as per spec).

Also, use CONFIG_MAINBOARD_PART_NUMBER (the board name) as "product ID",
and truncate/fill it to 12 characters as per spec, if needed.

Abuild-tested.

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

13 years agoAdd support for cbfs-files-y to the build system.
Patrick Georgi [Thu, 16 Dec 2010 07:36:28 +0000 (07:36 +0000)]
Add support for cbfs-files-y to the build system.
That variable allows chipset components to add files to
the CBFS image, for details see
http://www.coreboot.org/pipermail/coreboot/2010-December/062483.html

Compared to the patch in that mail this commit improves dependency
tracking a bit.

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

13 years agoBuild fix.
Uwe Hermann [Wed, 15 Dec 2010 11:32:11 +0000 (11:32 +0000)]
Build fix.

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

13 years agoCleanup up HD audio codec / hda_verb.h files.
Uwe Hermann [Wed, 15 Dec 2010 08:56:19 +0000 (08:56 +0000)]
Cleanup up HD audio codec / hda_verb.h files.

Most of the current hda_verb.h files are identical (same MD5 sum) and are
intended for a specific MCP55 board with the Realtek ALC880 audio codec,
which has the vendor/device ID of 0x10ec0880. They were splitted out from the
MCP55 southbridge code and put into board dirs a long time ago (which is
correct, as those settings are indeed board-specific), but they were never
adapted to those boards.

Here's the table of which codec is soldered onto which board, based on
checking the vendor website board spec pages, and the board manuals:

 - GIGABYTE GA-M57SLI-S4: Realtek ALC883
 - MSI MS-7260: Realtek ALC883
 - MSI MS-9652: Realtek ALC888
 - MSI MS-9282: Server board, doesn't have audio at all
 - Tyan S2912: Server board, doesn't have audio at all
 - All Supermicro boards: Server boards, don't have audio at all
 - NVIDIA l1_2pvv: No public info to be found, but I assume this was the
   original MCP55 eval board for the port and it's probably has the Realtek
   ALC880 codec used in the original hda_verb.h.

These are the codec vendor device/IDs involved:
Realtek ALC880: 0x10ec0880
Realtek ALC883: 0x10ec0883
Realtek ALC888: 0x10ec0888

The following files are marked as incorrect / TODO, as the ID of the codec
doesn't match and thus will never get actually used (you'll see
"HDA: no verb!" or similar in the coreboot logs). Even if the ID matched,
the rest of the table would be incorrect anyway because the values are
highly board-specific.

./src/mainboard/gigabyte/m57sli/hda_verb.h
./src/mainboard/msi/ms9652_fam10/hda_verb.h
./src/mainboard/msi/ms9282/hda_verb.h

The following files can be safely dropped as these are server boards and
don't have HD audio (or other audio) at all:

./src/mainboard/supermicro/h8dmr/hda_verb.h
./src/mainboard/supermicro/h8qme_fam10/hda_verb.h
./src/mainboard/supermicro/h8dme/hda_verb.h
./src/mainboard/supermicro/h8dmr_fam10/hda_verb.h
./src/mainboard/tyan/s2912/hda_verb.h
./src/mainboard/tyan/s2912_fam10/hda_verb.h

The following two are correct and can stay:

./src/mainboard/nvidia/l1_2pvv/hda_verb.h
./src/mainboard/getac/p470/hda_verb.h

Abuild-tested.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6180 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd dump support for the Winbond/Nuvoton W83527HG.
Zheng Bao [Tue, 14 Dec 2010 02:02:34 +0000 (02:02 +0000)]
Add dump support for the Winbond/Nuvoton W83527HG.
The datasheet is available on nuvoton's website.
http://www.nuvoton.com/NuvotonMOSS/Community/ProductInfo.aspx?
tp_GUID=cf73485c-9e0a-4218-9bee-89dfe9a7bb87

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6179 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoSet the ROMSIZE as 4MB.
Zheng Bao [Tue, 14 Dec 2010 01:47:18 +0000 (01:47 +0000)]
Set the ROMSIZE as 4MB.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6178 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agono leading zeroes.
Stefan Reinauer [Mon, 13 Dec 2010 22:16:45 +0000 (22:16 +0000)]
no leading zeroes.
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6177 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAttached patch implements the memory speed reductions (and 2T/1T clock logic) for...
Rudolf Marek [Mon, 13 Dec 2010 20:43:33 +0000 (20:43 +0000)]
Attached patch implements the memory speed reductions (and 2T/1T clock logic) for DDR1 memory (939 sockets). The details can be found in BKDG chapter 4.1.3.3.

The patch looks at certain DDR configurations (dual rank/single rank) and lowers the clocks to 2T or frequency as guide suggest. It sets the DualDIMMen bit which I believe should be set for non-dual channel configs.

The patch does not implement support for three dimm configurations supported from revE.
On the other hand it should improve greatly memory stability across the 939 platform.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6176 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThis patch just turns on the ACPI resume.
Rudolf Marek [Mon, 13 Dec 2010 20:04:25 +0000 (20:04 +0000)]
This patch just turns on the ACPI resume.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6175 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoCompile cbmem.c instead of including it in romstage,
Rudolf Marek [Mon, 13 Dec 2010 20:02:23 +0000 (20:02 +0000)]
Compile cbmem.c instead of including it in romstage,
and do that only if resume is done.

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

13 years agoFollowing patch adds support for suspend/resume functions. I had to change the get_cb...
Rudolf Marek [Mon, 13 Dec 2010 19:59:13 +0000 (19:59 +0000)]
Following patch adds support for suspend/resume functions. I had to change the get_cbmem_toc because macro magic did not work well.

The writes to NVRAM are not used in asrock board (k8 pre rev f) but they should work when used with am2 boards. In fact maybe the suspend will work on mahogany or others ;) - with some  simple patch which follows for asrock.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6173 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoFollowing patch adds support to bring out the memory out of self refresh when doing...
Rudolf Marek [Mon, 13 Dec 2010 19:53:58 +0000 (19:53 +0000)]
Following patch adds support to bring out the memory out of self refresh when doing resume.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
The patch is based on my 2008 patch.
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6172 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoWe hardcode highmemory size in every northbridge! This is bad, and especially if...
Rudolf Marek [Mon, 13 Dec 2010 19:50:25 +0000 (19:50 +0000)]
We hardcode highmemory size in  every northbridge! This is bad, and especially if suspend to ram is involved. Let the default be taken from cbmem.h which also handles the suspend logic.

Abuild tested. Please check all changes if I did not make any wrong while converting this to bytes.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6171 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd support for the ASUS M2N-E board.
Uwe Hermann [Mon, 13 Dec 2010 13:44:33 +0000 (13:44 +0000)]
Add support for the ASUS M2N-E board.

This is an AMD K8 + NVIDIA MCP55 + ITE IT8716F mainboard.

It has a working hda_verb.h file for HD audio, and a fanctl.c file is
used to enable the CPU fan (among others) so that we don't kill the
CPU due to excessive heat.

Even though some TODOs remain of course, it works good enough to
successfully boot Linux (e.g. via SeaBIOS).

The full status report is available at:
http://www.coreboot.org/ASUS_M2N-E

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

13 years agoAdd detection support for the Winbond W83527HG Super I/O.
Zheng Bao [Sun, 12 Dec 2010 14:40:29 +0000 (14:40 +0000)]
Add detection support for the Winbond W83527HG Super I/O.

Running result.
superiotool r6131
Found Winbond W83527HG (id=0xb0, rev=0x73) at 0x2e

The documentation is not available yet.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6169 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agofix model 106cx
Stefan Reinauer [Sun, 12 Dec 2010 00:37:41 +0000 (00:37 +0000)]
fix model 106cx

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

13 years agoFix the build failure. We have now common fadt.c.
Rudolf Marek [Sat, 11 Dec 2010 23:28:17 +0000 (23:28 +0000)]
Fix the build failure. We have now common fadt.c.
[PATCH] SB700 common FADT was not applied to this board because it was in the meanwhile added.

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

13 years agoI was bitten by the rename, this is part of r6165.
Rudolf Marek [Sat, 11 Dec 2010 22:41:31 +0000 (22:41 +0000)]
I was bitten by the rename, this is part of r6165.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6166 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoFollowing patch makes just one fadt.c file. For SB700.
Rudolf Marek [Sat, 11 Dec 2010 22:26:10 +0000 (22:26 +0000)]
Following patch makes just one fadt.c file. For SB700.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6165 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agofactor out cpu power management base into a separate file. And fix a bug in
Stefan Reinauer [Sat, 11 Dec 2010 22:14:44 +0000 (22:14 +0000)]
factor out cpu power management base into a separate file. And fix a bug in
model_1067x

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

13 years agocatch some illegal configurations (trivial)
Stefan Reinauer [Sat, 11 Dec 2010 22:12:32 +0000 (22:12 +0000)]
catch some illegal configurations (trivial)
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6163 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoDon't skip already built targets anymore, because a recent change could have
Stefan Reinauer [Sat, 11 Dec 2010 22:07:07 +0000 (22:07 +0000)]
Don't skip already built targets anymore, because a recent change could have
broken them again. Instead rely on coreboot's dependencies to figure out
what to rebuild.

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

13 years agoAfter this has been brought up many times before, rename src/arch/i386 to
Stefan Reinauer [Sat, 11 Dec 2010 20:33:41 +0000 (20:33 +0000)]
After this has been brought up many times before, rename src/arch/i386 to
src/arch/x86.

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

13 years agoTwo hda_verb.h files: Add more comments.
Uwe Hermann [Fri, 10 Dec 2010 12:52:50 +0000 (12:52 +0000)]
Two hda_verb.h files: Add more comments.

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

13 years agoAdd TINY_BOOTBLOCK support for AMD SB700.
Uwe Hermann [Fri, 10 Dec 2010 09:02:50 +0000 (09:02 +0000)]
Add TINY_BOOTBLOCK support for AMD SB700.

Factor out the ROM decode enable functionality into bootblock.c and
handle it via the usual TINY_BOOTBLOCK mechanism.

Use "select TINY_BOOTBLOCK" in the southbridge, not individual boards.

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