coreboot.git
12 years agoFix compilation error due to non-unix style line endings in cmos.layout file while...
Patrick Georgi [Tue, 10 May 2011 21:42:52 +0000 (21:42 +0000)]
Fix compilation error due to non-unix style line endings in cmos.layout file while generating option_table.h.

Windows, Mac and *nix type line endings are now taken care of.

Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6563 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

12 years agoAdds RS740 HT and internal graphics PCI ids.
Ivaylo Valkov [Mon, 9 May 2011 20:53:38 +0000 (20:53 +0000)]
Adds RS740 HT and internal graphics PCI ids.

Signed-off-by: Ivaylo Valkov <ivaylo@e-valkov.org>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6562 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoADVANSUS A785E-I Mainboard support, Family10h ASB2, RS880(RS785E) + SB820 platform.
Kerry She [Sat, 7 May 2011 09:15:02 +0000 (09:15 +0000)]
ADVANSUS A785E-I Mainboard support, Family10h ASB2, RS880(RS785E) + SB820 platform.

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

13 years agoRS780 DDI Lanes configure support,
Kerry She [Sat, 7 May 2011 08:51:32 +0000 (08:51 +0000)]
RS780 DDI Lanes configure support,
and remove RS780 get_cpu_rev().

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

13 years agoSB800 CIMX code can share the AGESA V5 lib code,
Kerry She [Sat, 7 May 2011 08:43:40 +0000 (08:43 +0000)]
SB800 CIMX code can share the AGESA V5 lib code,
some platform only use sb800 cimx code, not use AGESA v5 code.
for such platform, one can compile the sb800 cimx and AGESA v5 lib 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@6559 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years ago1. move _mm_clflush_fs() to __SSE3__ block, because __builtin_ia32_sfence() is the...
Kerry She [Sat, 7 May 2011 08:37:38 +0000 (08:37 +0000)]
1. move _mm_clflush_fs() to __SSE3__ block, because __builtin_ia32_sfence() is the sse built-in function
2. move the Amd Lib functions using sse build-in functions to __SSE3__ block

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

13 years agoput the amdlib and agesa constant to .rodata segment.
Kerry She [Sat, 7 May 2011 08:33:14 +0000 (08:33 +0000)]
put the amdlib and agesa constant to .rodata segment.
so amdlib.c would not complain "Do not use global variables in romstage"

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

13 years agoAdds VOID to empty parameter lists to get rid of some build warnings.
Frank Vibrans [Thu, 5 May 2011 16:49:11 +0000 (16:49 +0000)]
Adds VOID to empty parameter lists to get rid of some build warnings.

This change modifies a collection of files by adding the VOID parameter
to empty parameter lists to cut down on the number of warnings produced
when compiling the AMD Agesa code.  This should cut down the number of
warnings by about 1100 each for rom- and ramstage.

Signed-off-by: Frank Vibrans <frank.vibrans@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6556 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoRemove AMD Agesa requirement for standard include files
Frank Vibrans [Thu, 5 May 2011 16:45:36 +0000 (16:45 +0000)]
Remove AMD Agesa requirement for standard include files

This change modifies Makefile.inc to add the -nostdinc flag to the default
CFLAGS value and removes the test for non-AMD Agesa builds.  Other code is
added to the gcc-intrin.h file in the Agesa Include folder to make the
requirement for the standard includes obsolete from the Agesa perspective.

Signed-off-by: Frank Vibrans <frank.vibrans@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6555 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoEnable caching for ROM area in model_6ex/cache_as_ram.inc
Sven Schnelle [Tue, 3 May 2011 07:55:43 +0000 (07:55 +0000)]
Enable caching for ROM area in model_6ex/cache_as_ram.inc

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6554 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoi82801gx: enable SPI prefetching
Sven Schnelle [Tue, 3 May 2011 07:55:30 +0000 (07:55 +0000)]
i82801gx: enable SPI prefetching

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6553 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd option 'compress ramstage'
Sven Schnelle [Mon, 2 May 2011 19:53:04 +0000 (19:53 +0000)]
Add option 'compress ramstage'

Add an option to make compression of ramstage configurable. Right now
it is always compressed. On my Thinkpad, the complete boot to grub takes
4s, with around 1s required for decompressing ramstage. This is probably
caused by the fact the decompression does a lot of single byte/word/qword
accesses, which are really slow on SPI buses. So give the user the option
to store ramstage uncompressed, if he has enough memory.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6552 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoSorry, my mistake.
Scott Duplichan [Sat, 30 Apr 2011 00:22:04 +0000 (00:22 +0000)]
Sorry, my mistake.

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

13 years agogit-svn-id: svn://svn.coreboot.org/coreboot/trunk@6550 2b7e53f0-3cfb-0310-b3e9-8179ed...
Scott Duplichan [Sat, 30 Apr 2011 00:17:23 +0000 (00:17 +0000)]
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6550 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThinkpad: Enable Battery events
Sven Schnelle [Thu, 28 Apr 2011 09:29:06 +0000 (09:29 +0000)]
Thinkpad: Enable Battery events

Enable the following events for battery objects on
Thinkpad X60/T60:

24: BAT0 critical
25: BAT1 critical
4A: BAT0 present
4B: BAT0 state change
4C: BAT1 present
4D: BAT1 state change

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6549 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoX60: enable Ultrabay if device is plugged in
Sven Schnelle [Wed, 27 Apr 2011 19:48:05 +0000 (19:48 +0000)]
X60: enable Ultrabay if device is plugged in

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

13 years agoT60: enable Ultrabay if device is plugged in
Sven Schnelle [Wed, 27 Apr 2011 19:47:49 +0000 (19:47 +0000)]
T60: enable Ultrabay if device is plugged in

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

13 years agoLenovo PMH7: add pmh7_ultrabay_power_enable()
Sven Schnelle [Wed, 27 Apr 2011 19:47:42 +0000 (19:47 +0000)]
Lenovo PMH7: add pmh7_ultrabay_power_enable()

Can be used to enable/disable Ultrabay power on Thinkpads
who control that with the PMH7. (i.e. T60)

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

13 years agoLenovo H8: add h8_ultrabay_device_present()
Sven Schnelle [Wed, 27 Apr 2011 19:47:28 +0000 (19:47 +0000)]
Lenovo H8: add h8_ultrabay_device_present()

returns 1 if a CDROM/HDD device is plugging in the
ultrabay. Return 0 if there's a battery or superio
extensions plugged in.

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

13 years agoAdd support for memory mapped UARTs to coreboot and add the OXPCIe952 as an
Stefan Reinauer [Tue, 26 Apr 2011 23:47:04 +0000 (23:47 +0000)]
Add support for memory mapped UARTs to coreboot and add the OXPCIe952 as an
example.

This newer version reflects the recent changes to further simplify the console
code and partly gets rid of some hacks in the previous version.

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

13 years agoAdd (partly) support for Nuvoton NCT6776F
Stefan Reinauer [Fri, 22 Apr 2011 23:12:40 +0000 (23:12 +0000)]
Add (partly) support for Nuvoton NCT6776F

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

13 years agocosmetic changes to superiotool's nuvoton code
Stefan Reinauer [Fri, 22 Apr 2011 23:10:35 +0000 (23:10 +0000)]
cosmetic changes to superiotool's nuvoton code

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

13 years agoFix of fix copy and paste errors in ne2k.c (r6512 by stepan)
Rudolf Marek [Fri, 22 Apr 2011 22:26:04 +0000 (22:26 +0000)]
Fix of fix copy and paste errors in ne2k.c (r6512 by stepan)

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

13 years agofix typo ttys0_index -> b_index
Stefan Reinauer [Fri, 22 Apr 2011 02:32:03 +0000 (02:32 +0000)]
fix typo ttys0_index -> b_index
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6540 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoGet rid of all but one (I/O mapped) UART init functions.
Stefan Reinauer [Fri, 22 Apr 2011 02:17:26 +0000 (02:17 +0000)]
Get rid of all but one (I/O mapped) UART init functions.

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

13 years agoThe UART divider should be calculated based on the base frequency
Stefan Reinauer [Fri, 22 Apr 2011 01:45:11 +0000 (01:45 +0000)]
The UART divider should be calculated based on the base frequency
and baudrate, not hardcoded in addition to that.

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

13 years agomore ifdef -> if fixes.
Stefan Reinauer [Thu, 21 Apr 2011 21:26:58 +0000 (21:26 +0000)]
more ifdef -> if fixes.

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

13 years agomore ifdef -> if fixes
Stefan Reinauer [Thu, 21 Apr 2011 20:45:45 +0000 (20:45 +0000)]
more ifdef -> if fixes
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6536 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agosome ifdef --> if fixes
Stefan Reinauer [Thu, 21 Apr 2011 20:24:43 +0000 (20:24 +0000)]
some ifdef --> if fixes

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

13 years agodrop dead code from sb800 bootblock
Stefan Reinauer [Wed, 20 Apr 2011 22:23:56 +0000 (22:23 +0000)]
drop dead code from sb800 bootblock
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agodrop excessive newline in uart8250.c
Stefan Reinauer [Wed, 20 Apr 2011 21:14:05 +0000 (21:14 +0000)]
drop excessive newline in uart8250.c

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

13 years agoSimplify coreboot's console/console.h
Stefan Reinauer [Wed, 20 Apr 2011 21:11:22 +0000 (21:11 +0000)]
Simplify coreboot's console/console.h

- shift most (romcc) code out of console.h into arch/x86/lib/romcc_console.c
- rename arch/x86/lib/printk_init.c to .../romstage_console.c
- drop FUNCTIONS_FOR_PRINT since __console_tx_* are already functions, so there
  should not be any side effects to eliminating another indirection.

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

13 years agorun uart_init() from console_init, just like the other console initialization functions.
Stefan Reinauer [Wed, 20 Apr 2011 20:54:07 +0000 (20:54 +0000)]
run uart_init() from console_init, just like the other console initialization functions.

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

13 years agoAdd Lenovo ThinkPad T60
Sven Schnelle [Wed, 20 Apr 2011 09:12:17 +0000 (09:12 +0000)]
Add Lenovo ThinkPad T60

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6530 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoPC87384: remove unused init function
Sven Schnelle [Wed, 20 Apr 2011 09:05:37 +0000 (09:05 +0000)]
PC87384: remove unused init function

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6529 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agopci1x2x: remove latency/bridge control/cacheline size settings
Sven Schnelle [Wed, 20 Apr 2011 08:58:38 +0000 (08:58 +0000)]
pci1x2x: remove latency/bridge control/cacheline size settings

Those settings should be handled by the generic PCI/Cardbus code,
and not by the driver itself.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6528 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agopci1x2x: use cardbus_read_resources()/cardbus_enable_resources()
Sven Schnelle [Wed, 20 Apr 2011 08:58:30 +0000 (08:58 +0000)]
pci1x2x: use cardbus_read_resources()/cardbus_enable_resources()

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6527 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agopci1x2x: use pci_ops set_subsystem instead of custom code
Sven Schnelle [Wed, 20 Apr 2011 08:58:16 +0000 (08:58 +0000)]
pci1x2x: use pci_ops set_subsystem instead of custom code

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6526 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agopci1x2x: add PCI1510 device IDs
Sven Schnelle [Wed, 20 Apr 2011 08:58:08 +0000 (08:58 +0000)]
pci1x2x: add PCI1510 device IDs

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6525 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agopci1x2x: use devicetree register configuration
Sven Schnelle [Wed, 20 Apr 2011 08:57:53 +0000 (08:57 +0000)]
pci1x2x: use devicetree register configuration

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6524 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agodrop dead uart init code.
Stefan Reinauer [Wed, 20 Apr 2011 01:08:25 +0000 (01:08 +0000)]
drop dead uart init code.
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6523 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agofix boards that still had some uart init remainders
Stefan Reinauer [Wed, 20 Apr 2011 01:03:58 +0000 (01:03 +0000)]
fix boards that still had some uart init remainders
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6522 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoDrop baud rate init to an arbitrary baud rate from Super I/O code.
Stefan Reinauer [Tue, 19 Apr 2011 21:33:40 +0000 (21:33 +0000)]
Drop baud rate init to an arbitrary baud rate from Super I/O code.

See discussion at
http://www.mail-archive.com/coreboot@coreboot.org/msg29394.html

config->com1, devicetree.cb cleanup and init_uart8250() removal
will follow once this patch is comitted

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
Updated to drop com1, com2.... from config structure and devicetree.cb

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

13 years agoLenovo PMH7: add pmh7_touchpad_enable()
Sven Schnelle [Tue, 19 Apr 2011 19:57:26 +0000 (19:57 +0000)]
Lenovo PMH7: add pmh7_touchpad_enable()

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6520 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoCast arguments to ctype(3) functions through (int)(unsigned char).
Jonathan Kollasch [Tue, 19 Apr 2011 19:34:25 +0000 (19:34 +0000)]
Cast arguments to ctype(3) functions through (int)(unsigned char).

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

13 years agoFix compilation of all i82371eb boards when ACPI tables aren't generated
Idwer Vollering [Tue, 19 Apr 2011 19:21:27 +0000 (19:21 +0000)]
Fix compilation of all i82371eb boards when ACPI tables aren't generated

Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6518 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoThe "temp" will be used later. So it has to be calculated correctly.
Zheng Bao [Tue, 19 Apr 2011 06:40:56 +0000 (06:40 +0000)]
The "temp" will be used later. So it has to be calculated correctly.

Comment by Peter,
The variable name "temp" unfortunately does not explain what the value
is. The commit message also does not have hints. Hopefully in the
future it's possible to also use a brief moment to improve the clarity
of the code, while it is already being fixed for some other
reason. Ie. fixing up variable names, writing particularly informative
commit messages, or of course both at the same time! :)

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6517 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoRecently the 3 projects using the new AMD reference code have been
Scott Duplichan [Tue, 19 Apr 2011 01:36:24 +0000 (01:36 +0000)]
Recently the 3 projects using the new AMD reference code have been
failing the check for globals (or statics) in romstage. This causes
ASRock E350M1, AMD Inagua, and AMD Persimmon builds to fail with the
message "Do not use global variables in romstage". The message is
working as intended. It is detecting data declared as 'static' when
'static const' was intended. The code executes correctly because it
never tries to modify the data.

To make reference code updates easy, it is probably best to avoid
modifying the AMD provided code if possible. The following change
bypasses the "Do not use global variables in romstage" check for
the AMD reference code only.

Signed-off-by: Scott Duplichan <scott@notabs.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6516 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoFix some more misuses of ifdef/if defined
Stefan Reinauer [Tue, 19 Apr 2011 01:18:54 +0000 (01:18 +0000)]
Fix some more misuses of ifdef/if defined

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

13 years agocleanup wrong use of defined() after exporting all variables in Kconfig
Stefan Reinauer [Tue, 19 Apr 2011 00:36:39 +0000 (00:36 +0000)]
cleanup wrong use of defined() after exporting all variables in Kconfig

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

13 years ago* Set USBDEBUG_DEFAULT_PORT in all southbridges and use that value
Stefan Reinauer [Mon, 18 Apr 2011 23:51:12 +0000 (23:51 +0000)]
* Set USBDEBUG_DEFAULT_PORT in all southbridges and use that value
  to unify calls to *_enable_usbdebug()
* rename *_enable_usbdebug() to enable_usbdebug()
* move enable_usbdebug() to generic romstage console init code
  and drop it from the individual romstage.c files.

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

13 years agofix copy and paste errors in ne2k.c
Stefan Reinauer [Mon, 18 Apr 2011 02:26:56 +0000 (02:26 +0000)]
fix copy and paste errors in ne2k.c
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoEmit unwritten symbols in Kconfig so we don't have to do constructs like
Stefan Reinauer [Mon, 18 Apr 2011 02:07:16 +0000 (02:07 +0000)]
Emit unwritten symbols in Kconfig so we don't have to do constructs like
#if defined(CONFIG_FOO) && CONFIG_FOO anymore. This was partially implemented
but didn't work for symbols that were unset because of a missing dependency.

Patch taken from SeaBIOS.

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

13 years agoLenovo H8 EC: add missing systemstatus.asl include
Sven Schnelle [Sun, 17 Apr 2011 14:55:21 +0000 (14:55 +0000)]
Lenovo H8 EC: add missing systemstatus.asl include

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6510 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoPMH7: Add dock event control
Sven Schnelle [Sun, 17 Apr 2011 12:54:32 +0000 (12:54 +0000)]
PMH7: Add dock event control

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6509 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAllow libpayload to use an OXPCIe 952 card on systems without
Stefan Reinauer [Sat, 16 Apr 2011 00:13:17 +0000 (00:13 +0000)]
Allow libpayload to use an OXPCIe 952 card on systems without
onboard serial port

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

13 years agobootblock updates:
Stefan Reinauer [Sat, 16 Apr 2011 00:09:53 +0000 (00:09 +0000)]
bootblock updates:

- allow CPU to define bootblock code, too.
- drop unneeded __PRE_RAM__ define
- move CBFS specific code out of bootblock_common.h into cbfs.h

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

13 years agosorry for breaking the tree.
Stefan Reinauer [Fri, 15 Apr 2011 09:01:42 +0000 (09:01 +0000)]
sorry for breaking the tree.

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

13 years agocomment cosmetics in bootblock.ld
Stefan Reinauer [Fri, 15 Apr 2011 04:12:03 +0000 (04:12 +0000)]
comment cosmetics in bootblock.ld

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

13 years agoadd FILO easy payload option
Stefan Reinauer [Fri, 15 Apr 2011 03:34:05 +0000 (03:34 +0000)]
add FILO easy payload option

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

13 years agoHandle drivers/ equally to any other sub directory.
Stefan Reinauer [Fri, 15 Apr 2011 03:30:03 +0000 (03:30 +0000)]
Handle drivers/ equally to any other sub directory.

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

13 years agofix mainboards that were including earlymtrr.c without actually using it.
Stefan Reinauer [Fri, 15 Apr 2011 00:19:27 +0000 (00:19 +0000)]
fix mainboards that were including earlymtrr.c without actually using it.

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

13 years agodrop half an uart8250 implementation from smiutil and use the common code
Stefan Reinauer [Thu, 14 Apr 2011 22:28:00 +0000 (22:28 +0000)]
drop half an uart8250 implementation from smiutil and use the common code
for that instead. This also allows using non-uart8250 consoles for smi
debugging.

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

13 years agofix coreboot compilation without serial console enabled.
Stefan Reinauer [Thu, 14 Apr 2011 21:05:41 +0000 (21:05 +0000)]
fix coreboot compilation without serial console enabled.

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

13 years agoearlymtrr.c: wipe some dead code, use names instead of numbers and some
Stefan Reinauer [Thu, 14 Apr 2011 20:39:49 +0000 (20:39 +0000)]
earlymtrr.c: wipe some dead code, use names instead of numbers and some
cosmetics.

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

13 years agoadd some comments to walkcbfs.S
Stefan Reinauer [Thu, 14 Apr 2011 20:33:53 +0000 (20:33 +0000)]
add some comments to walkcbfs.S

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

13 years ago- drop remaining CONFIG_ROM_IMAGE_SIZE
Stefan Reinauer [Thu, 14 Apr 2011 20:30:21 +0000 (20:30 +0000)]
- drop remaining CONFIG_ROM_IMAGE_SIZE
- re-enable .data section check for bootblock.
- rename ldscript_fallback_cbfs.lb to bootblock.ld

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

13 years agodrop incorrectly used CONFIG_ROM_IMAGE_SIZE and unused CONFIG_ARCH
Stefan Reinauer [Thu, 14 Apr 2011 20:21:49 +0000 (20:21 +0000)]
drop incorrectly used CONFIG_ROM_IMAGE_SIZE and unused CONFIG_ARCH

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

13 years agonvidia mcp55: drop unused dbg_info
Stefan Reinauer [Thu, 14 Apr 2011 20:11:34 +0000 (20:11 +0000)]
nvidia mcp55: drop unused dbg_info
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6495 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agocosmetic cleanup of sis966 usb2 code
Stefan Reinauer [Thu, 14 Apr 2011 20:10:27 +0000 (20:10 +0000)]
cosmetic cleanup of sis966 usb2 code
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6494 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoUse symbolic names for some MTRR bits instead of numbers in CAR code
Stefan Reinauer [Thu, 14 Apr 2011 20:06:30 +0000 (20:06 +0000)]
Use symbolic names for some MTRR bits instead of numbers in CAR code

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

13 years agocoding style cosmetics.
Stefan Reinauer [Thu, 14 Apr 2011 19:52:04 +0000 (19:52 +0000)]
coding style cosmetics.

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

13 years agoLenovo H8 EC: add missing include for thermal.asl
Sven Schnelle [Wed, 13 Apr 2011 09:23:45 +0000 (09:23 +0000)]
Lenovo H8 EC: add missing include for thermal.asl

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6491 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoLenovo H8 EC: Set fancontrol to Automatic management
Sven Schnelle [Tue, 12 Apr 2011 18:18:24 +0000 (18:18 +0000)]
Lenovo H8 EC: Set fancontrol to Automatic management

My Notebook gets far to hot without fan, so just enable automatic
fan control by default.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6490 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoPC87384: add GPIO defines
Sven Schnelle [Tue, 12 Apr 2011 18:18:12 +0000 (18:18 +0000)]
PC87384: add GPIO defines

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6489 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoUse TOM2 for highest sysmem setting for northbound memory routing (DMA). This fixes...
Marc Jones [Tue, 12 Apr 2011 01:12:46 +0000 (01:12 +0000)]
Use TOM2 for highest sysmem setting for northbound memory routing (DMA). This fixes 4GB memory issues.

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

13 years agoUnify use of post_code
Alexandru Gagniuc [Mon, 11 Apr 2011 20:17:22 +0000 (20:17 +0000)]
Unify use of post_code

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6487 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoPMH7: Add chip config
Sven Schnelle [Mon, 11 Apr 2011 19:43:50 +0000 (19:43 +0000)]
PMH7: Add chip config

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

13 years agoEC: Add Lenovo H8
Sven Schnelle [Mon, 11 Apr 2011 19:43:32 +0000 (19:43 +0000)]
EC: Add Lenovo H8

Move the EC support code from the X60 mainboard to a generic
driver, as this EC is used in many thinkpads. Also move the
ACPI code to this directory for this reason.

This patch also adds a chip config, so that the initial setting
for basic register can be specified in devicetree.cb

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

13 years agoAdd detection/dump support for ServerEngines SE-SM 4210-P01.
Ruud Schramp [Mon, 11 Apr 2011 07:46:27 +0000 (07:46 +0000)]
Add detection/dump support for ServerEngines SE-SM 4210-P01.

Note that the registers and their defaults are mostly based on educated
guessing, due to the lack of datasheet.

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

13 years agoi945: improve get_top_of_ram()
Sven Schnelle [Sun, 10 Apr 2011 07:41:56 +0000 (07:41 +0000)]
i945: improve get_top_of_ram()

The current version doesn't honor TSEG, and fails to
report the correct top of RAM if IGD is disabled. This
is because it uses the BSM (base of stolen RAM) register.
In that case, we should use the TOLUD register.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6483 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoIn 2007 Adrian Reber suggested that we drop ASSEMBLY in favor of __ASSEMBLER__.
Stefan Reinauer [Sun, 10 Apr 2011 04:15:23 +0000 (04:15 +0000)]
In 2007 Adrian Reber suggested that we drop ASSEMBLY in favor of __ASSEMBLER__.
http://www.coreboot.org/pipermail/coreboot/2007-September/024665.html

It's about time we follow this advice.

Also move some manually set __PRE_RAM__ defines (ap_romstage.c) to the Makefile and
drop unused CPP define

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

13 years agoX60: use pnp_write_config() instead of custom function
Sven Schnelle [Tue, 5 Apr 2011 13:00:33 +0000 (13:00 +0000)]
X60: use pnp_write_config() instead of custom function

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6481 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoX60: move ec version info code to log_ec_version()
Sven Schnelle [Tue, 5 Apr 2011 13:00:14 +0000 (13:00 +0000)]
X60: move ec version info code to log_ec_version()

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6480 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoX60: assert audio mute before entering Suspend
Sven Schnelle [Mon, 4 Apr 2011 15:19:59 +0000 (15:19 +0000)]
X60: assert audio mute before entering Suspend

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6479 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoX60: log firmware version
Sven Schnelle [Mon, 4 Apr 2011 12:33:54 +0000 (12:33 +0000)]
X60: log firmware version

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6478 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoX60: blink suspend LED during resume
Sven Schnelle [Mon, 4 Apr 2011 10:57:17 +0000 (10:57 +0000)]
X60: blink suspend LED during resume

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6477 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoX60: we have ACPI_RESUME
Sven Schnelle [Mon, 4 Apr 2011 10:57:06 +0000 (10:57 +0000)]
X60: we have ACPI_RESUME

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6476 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoX60: deassert audio mute on boot
Sven Schnelle [Mon, 4 Apr 2011 10:56:52 +0000 (10:56 +0000)]
X60: deassert audio mute on boot

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6475 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoremove swp files accidently added
Sven Schnelle [Fri, 1 Apr 2011 07:41:47 +0000 (07:41 +0000)]
remove swp files accidently added

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6474 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoX60: add dock code for Ultrabase X6
Sven Schnelle [Fri, 1 Apr 2011 07:28:56 +0000 (07:28 +0000)]
X60: add dock code for Ultrabase X6

Move the old docking code from romstage.c to dock.c, and use that code
both in romstage and SMM code.

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

13 years agoAdd GPIO definitions to PC87392 superio
Sven Schnelle [Fri, 1 Apr 2011 07:28:50 +0000 (07:28 +0000)]
Add GPIO definitions to PC87392 superio

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

13 years agoICH7: Fix register naming error
Sven Schnelle [Fri, 1 Apr 2011 07:28:35 +0000 (07:28 +0000)]
ICH7: Fix register naming error

There's an off-by-one error in the ACPI GP_LVL declaration:
it declares GL00 with a bit count of 6, and continues with GP07
afterwards. This should be GP06, as the first bitfield covers
GP00-GP05.

While at it, change it to GP00-GP05, as right now GL00 isn't used,
and single bitfield are more usable here.

Also adjust the Getac P470, as this is the only user of those defintions
right now.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6471 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd build instructions for coreinfo, specially pointing out installing
Yang Hamo Bai [Fri, 1 Apr 2011 00:39:07 +0000 (00:39 +0000)]
Add build instructions for coreinfo, specially pointing out installing
gcc-multilib on a 64bit system.

Signed-off-by: Yang Hamo Bai <hamo.by@gmail.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6470 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoUpdate repo path in libpayload readme.
Nils Jacobs [Tue, 29 Mar 2011 19:29:01 +0000 (19:29 +0000)]
Update repo path in libpayload readme.

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

13 years agoRevert r6460, add full W83627DHG-P/-PT support instead.
Prakash Punnoor [Tue, 29 Mar 2011 12:02:03 +0000 (12:02 +0000)]
Revert r6460, add full W83627DHG-P/-PT support instead.

Add support for detecting/dumping the registers of Nuvoton W83627DHG-P/-PT.
This is a different chip than the Winbond W83627DHG (different IDs).

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

13 years agoBUILD: add missing config.h dependency
Sven Schnelle [Tue, 29 Mar 2011 09:01:10 +0000 (09:01 +0000)]
BUILD: add missing config.h dependency

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

13 years agoAdd support for Supermicro H8scm.
Zheng Bao [Mon, 28 Mar 2011 04:38:14 +0000 (04:38 +0000)]
Add support for Supermicro H8scm.
It is AMD C32 + SR5650 + SP5100.
It is created by svn copy amd/tilapia_fam10.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6466 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd the SR5650 & SP5100 to the Kconfig and Makefile.inc
Zheng Bao [Mon, 28 Mar 2011 04:36:21 +0000 (04:36 +0000)]
Add the SR5650 & SP5100 to the Kconfig and Makefile.inc

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6465 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

13 years agoAdd AMD C32 support.
Zheng Bao [Mon, 28 Mar 2011 04:29:14 +0000 (04:29 +0000)]
Add AMD C32 support.
It is based on other existing Fam10 code.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6464 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1