coreboot.git
14 years agoCBMEM high table memory manager.
Stefan Reinauer [Mon, 26 Oct 2009 17:04:28 +0000 (17:04 +0000)]
CBMEM high table memory manager.

This code adds a very simple toc based memory manager for the high tables area.
The purpose of this code is to make it simpler and more reliable to find
certain data structures in memory. This will also make it possible to have ACPI
S3 Resume working without an ugly hole at 31MB.

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

14 years agointel core and core 2:
Stefan Reinauer [Mon, 26 Oct 2009 16:49:16 +0000 (16:49 +0000)]
intel core and core 2:
- small preprocessor fix
- leave some space in the CAR area for the usbdebug structure
  if usbdebug is used

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

14 years agoUse Intel Core code for eagleheights CAR init, not Intel Core 2, as
Stefan Reinauer [Mon, 26 Oct 2009 16:48:27 +0000 (16:48 +0000)]
Use Intel Core code for eagleheights CAR init, not Intel Core 2, as
any of the CPUs might be used.

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

14 years agoNow that the resource allocator is working nicely we can turn down the debug
Stefan Reinauer [Mon, 26 Oct 2009 16:47:05 +0000 (16:47 +0000)]
Now that the resource allocator is working nicely we can turn down the debug
level output and make some output SPEW only.

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

14 years agoDefine some variables that were not defined. There are a couple left.
Myles Watson [Mon, 26 Oct 2009 15:14:07 +0000 (15:14 +0000)]
Define some variables that were not defined.  There are a couple left.
  Do kbuildall then grep not.defined kbuildall.results/*
The interesting ones were GENERATE_*  I had to put them in twice to make it work
correctly: once outside the menu setting the defaults, and once inside the menu.
Now they show up when they should, and are always defined

Define HAVE_INIT_TIMER to only exclude the three boards that define it to be 0
in newconfig.
Define MEM_TRAIN_SEQ to be an integer and set it correctly.
Remove CAR_FAM10 and just depend on NORTHBRIDGE_AMD_AMDFAM10
MOVNTI is a performance enhancement, and should default to 0 so it doesn't break
boards that forget to define it.

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

14 years agoOption ROM init x86/x86emu update
Stefan Reinauer [Sun, 25 Oct 2009 19:50:47 +0000 (19:50 +0000)]
Option ROM init x86/x86emu update

- use default display in int 15 5f35
- move REALMODE_BASE to 0x600, 0x500 can be BDA
- add regparm for assembler functions
- use memset instead of own implementation
- YABEL: copy back the IVT, BDA and VBIOS. Some Xorg drivers require this.
- YABEL: use hardware timer instead of emulated timer, because the emulated
  timer's base is never initialized (leading to division by zero if the
  timer is really used)

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

14 years agoFix intel/xe7501devkit build, missing "uses" clause.
Uwe Hermann [Sat, 24 Oct 2009 22:52:33 +0000 (22:52 +0000)]
Fix intel/xe7501devkit build, missing "uses" clause.

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

14 years agoFix kconfig build error due to "source"ing a non-existant file (trivial).
Uwe Hermann [Sat, 24 Oct 2009 22:42:53 +0000 (22:42 +0000)]
Fix kconfig build error due to "source"ing a non-existant file (trivial).

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

14 years agoMajor cleanups of the hard_reset() code and config in coreboot.
- supermicro/x6dhe_g/auto.c [Sat, 24 Oct 2009 19:17:24 +0000 (19:17 +0000)]
Major cleanups of the hard_reset() code and config in coreboot.

 - Drop unused "#object reset.o" entries.

 - Use CONFIG_HAVE_HARD_RESET for all "object reset.o" entries.

 - Drop dead/commented code, i.e. useless hard_reset() from:
   - supermicro/x6dhe_g/auto.c
   - supermicro/x6dhe_g2/auto.c
   - supermicro/x6dhe_g2/auto.updated.c
   - supermicro/x6dhr_ig/auto.c
   - supermicro/x6dhr_ig2/auto.c
   - digitallogic/msm586seg/auto.c
   - dell/s1850/auto.c

 - Add "obj-$(CONFIG_HAVE_HARD_RESET) += reset.o" to kconfig files of boards
   that actually have a reset.c file.

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

14 years agoChange QEMU CPU Makefile.inc files to match other CPUs.
Uwe Hermann [Sat, 24 Oct 2009 19:07:05 +0000 (19:07 +0000)]
Change QEMU CPU Makefile.inc files to match other CPUs.

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

14 years agoremoval of that unnecessary include slipped through r4841
Stefan Reinauer [Sat, 24 Oct 2009 18:54:46 +0000 (18:54 +0000)]
removal of that unnecessary include slipped through r4841

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

14 years agohook up missing x86 SMM into Makefile
Stefan Reinauer [Sat, 24 Oct 2009 18:47:43 +0000 (18:47 +0000)]
hook up missing x86 SMM into Makefile

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

14 years agodrop support for various (old) PPC CPUs as per discussion from 9/10/9
Stefan Reinauer [Sat, 24 Oct 2009 18:46:08 +0000 (18:46 +0000)]
drop support for various (old) PPC CPUs as per discussion from 9/10/9

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

14 years agoadd CPP to xcompile in case we need it (trivial)
Stefan Reinauer [Sat, 24 Oct 2009 18:38:53 +0000 (18:38 +0000)]
add CPP to xcompile in case we need it (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@4844 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSome ACPI implementations don't like to see full paths within a scope for
Stefan Reinauer [Sat, 24 Oct 2009 18:36:51 +0000 (18:36 +0000)]
Some ACPI implementations don't like to see full paths within a scope for
CPU power management, so don't add the scope name

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

14 years agoRework the keyboard driver
Stefan Reinauer [Sat, 24 Oct 2009 18:15:07 +0000 (18:15 +0000)]
Rework the keyboard driver
* use readable macro names rather than numbers.
* Factor out some commonly used code

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

14 years agodrop src/include/stream/ as the source files from src/stream were dropped a
Stefan Reinauer [Sat, 24 Oct 2009 18:02:04 +0000 (18:02 +0000)]
drop src/include/stream/ as the source files from src/stream were dropped a
while ago...
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4841 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years ago* refactor x86 smi handler (put all debug stuff in an extra file smiutil.c)
Stefan Reinauer [Sat, 24 Oct 2009 17:59:36 +0000 (17:59 +0000)]
* refactor x86 smi handler (put all debug stuff in an extra file smiutil.c)
* lock other CPUs in SMI handler while one CPU is handling an SMI. Without
  this various racing scenarios could happen.

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

14 years agoTrivial regrouping of a calculation to simplify it.
Myles Watson [Sat, 24 Oct 2009 13:40:55 +0000 (13:40 +0000)]
Trivial regrouping of a calculation to simplify it.

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

14 years agoA (hypothetical southbridge) component might provide functionality that is not
Stefan Reinauer [Sat, 24 Oct 2009 13:13:37 +0000 (13:13 +0000)]
A (hypothetical southbridge) component might provide functionality that is not
available on all boards. Thus, only print a debug level warning instead of an
error.

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

14 years agore-order console output functions, add proper prototypes,
Stefan Reinauer [Sat, 24 Oct 2009 13:06:04 +0000 (13:06 +0000)]
re-order console output functions, add proper prototypes,
drop claim that our files were blatantly copied, because they have been
rewritten a very long time ago.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4837 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix USB Debug Device for Intel ICH chipsets
Stefan Reinauer [Sat, 24 Oct 2009 13:02:14 +0000 (13:02 +0000)]
Fix USB Debug Device for Intel ICH chipsets

The USB EHCI controller reset is not really needed on ICH, and in fact
the code bailed out there which is the most stupid thing to do. So just
keep trying.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4836 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix K8 boards high tables on UMA systems (KT690 for example)
Stefan Reinauer [Sat, 24 Oct 2009 12:40:52 +0000 (12:40 +0000)]
Fix K8 boards high tables on UMA systems (KT690 for example)

Thanks to Carl-Daniel for pointing this out with some example code.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4835 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agos/object-y/obj-y/ in two southbridges, since otherwise kbuild will not pick up the...
Stefan Reinauer [Sat, 24 Oct 2009 03:55:24 +0000 (03:55 +0000)]
s/object-y/obj-y/ in two southbridges, since otherwise kbuild will not pick up the files
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4834 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFirst attempt to integrate SMM in Kconfig. Unused code so far
Stefan Reinauer [Sat, 24 Oct 2009 03:33:44 +0000 (03:33 +0000)]
First attempt to integrate SMM in Kconfig. Unused code so far

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

14 years agomove all register fram definitions to arch/register.h
Stefan Reinauer [Sat, 24 Oct 2009 00:47:07 +0000 (00:47 +0000)]
move all register fram definitions to arch/register.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@4832 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove left-overs from Winbond southbridge removal (trivial).
Uwe Hermann [Fri, 23 Oct 2009 23:30:31 +0000 (23:30 +0000)]
Remove left-overs from Winbond southbridge removal (trivial).

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

14 years agoDrop dead K8_SCAN_PCI_BUS code. It's a bad idea to scan the PCI busses before
Myles Watson [Fri, 23 Oct 2009 22:53:26 +0000 (22:53 +0000)]
Drop dead K8_SCAN_PCI_BUS code.  It's a bad idea to scan the PCI busses before
RAM is initialized, and no one does it.  Trivial.

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

14 years agoNew revision guide September 2009 3.46
Rudolf Marek [Fri, 23 Oct 2009 21:57:42 +0000 (21:57 +0000)]
New revision guide September 2009 3.46
Lets add some more CPUs.

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

14 years agodrop a lot of dead code, including an old winbond southbridge from our removed
Stefan Reinauer [Fri, 23 Oct 2009 19:33:52 +0000 (19:33 +0000)]
drop a lot of dead code, including an old winbond southbridge from our removed
ppc port, some ambiguous use of CONFIG_IDE and an unused ide driver (we dropped
the filesystems already to be used with it) (somewhat 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@4828 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoWhite space and comment fixes for cache_as_ram.inc files so it's easier to spot
Myles Watson [Fri, 23 Oct 2009 18:22:27 +0000 (18:22 +0000)]
White space and comment fixes for cache_as_ram.inc files so it's easier to spot
differences.  Trivial.

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

14 years agoRemove PRINTK_IN_CAR tests from AMD files.
Myles Watson [Fri, 23 Oct 2009 18:19:22 +0000 (18:19 +0000)]
Remove PRINTK_IN_CAR tests from AMD files.

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

14 years agoVGA BIOS can be added independently of having a payload
Peter Stuge [Fri, 23 Oct 2009 12:14:15 +0000 (12:14 +0000)]
VGA BIOS can be added independently of having a payload

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

14 years agominimal whitespace fix (trivial)
Stefan Reinauer [Thu, 22 Oct 2009 17:02:44 +0000 (17:02 +0000)]
minimal whitespace fix (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@4824 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agotrivial: add note that VSA blob belongs into CBFS.
Stefan Reinauer [Thu, 22 Oct 2009 16:59:33 +0000 (16:59 +0000)]
trivial: add note that VSA blob belongs into CBFS.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4823 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoThe LAN chip-set on the Technexion TIM-5690 is enabled by hardware and
Libra Li [Thu, 22 Oct 2009 02:54:25 +0000 (02:54 +0000)]
The LAN chip-set on the Technexion TIM-5690 is enabled by hardware and
does not need any handling in software.

Signed-off-by: Libra Li <libra.li@technexion.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4822 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoAdd CONFIG_VGA_ROM_RUN to HP e-Vectra P2706T to make VGA init work.
Uwe Hermann [Wed, 21 Oct 2009 00:35:42 +0000 (00:35 +0000)]
Add CONFIG_VGA_ROM_RUN to HP e-Vectra P2706T to make VGA init work.

Also add pci_rom entries (commented) to targets/hp/e_vectra_p2706t/Config.lb
for the same reason. They have to be uncommented to be used.

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

14 years agoAdd initial support for the HP e-Vectra P2706T.
Uwe Hermann [Tue, 20 Oct 2009 22:36:34 +0000 (22:36 +0000)]
Add initial support for the HP e-Vectra P2706T.

Boot-tested by PaweÅ‚ Stawicki <stawel@gmail.com>.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Paweł Stawicki <stawel@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4820 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMinimize differences between newconfig and Kconfig for arima/hdama.
Myles Watson [Tue, 20 Oct 2009 18:11:06 +0000 (18:11 +0000)]
Minimize differences between newconfig and Kconfig for arima/hdama.

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

14 years agoWhen I converted an #ifdef to an #if it broke the code because the variable was
Myles Watson [Tue, 20 Oct 2009 17:13:28 +0000 (17:13 +0000)]
When I converted an #ifdef to an #if it broke the code because the variable was
always defined, but not 1.  This commit reverts to the old behavior.

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

14 years agoFix #if CONFIG_VGA==1 -> #if CONFIG_VGA.
Myles Watson [Tue, 20 Oct 2009 16:24:23 +0000 (16:24 +0000)]
Fix #if CONFIG_VGA==1 -> #if CONFIG_VGA.
(forgotten in last check in.)

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

14 years agoRemove CONFIG_CPU_AMD_FAM10 & CONFIG_CPU_AMDK8 from mainboards. They should be
Myles Watson [Tue, 20 Oct 2009 16:10:04 +0000 (16:10 +0000)]
Remove CONFIG_CPU_AMD_FAM10 & CONFIG_CPU_AMDK8 from mainboards.  They should be
selected in sockets, and they aren't used yet.

Add a couple of variables to src/Kconfig for lack of a better place so that
their selects work.
Add select statements according to newconfig for some variables that were
defined but never selected in mainboard configs.

Fix #if CONFIG_VGA==1 -> #if CONFIG_VGA.

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

14 years agoFix all board names in Kconfig as per wiki / vendor website.
Uwe Hermann [Tue, 20 Oct 2009 13:55:35 +0000 (13:55 +0000)]
Fix all board names in Kconfig as per wiki / vendor website.

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

14 years agoCorrect typo. Thanks to Mark Marshall for spotting it.
Myles Watson [Tue, 20 Oct 2009 13:40:30 +0000 (13:40 +0000)]
Correct typo.  Thanks to Mark Marshall for spotting it.

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

14 years agoMove ITE-specific option to src/superio/ite/Kconfig.
Myles Watson [Mon, 19 Oct 2009 19:08:18 +0000 (19:08 +0000)]
Move ITE-specific option to src/superio/ite/Kconfig.

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

14 years agoAdd missing SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL kconfig variable.
Uwe Hermann [Mon, 19 Oct 2009 18:55:08 +0000 (18:55 +0000)]
Add missing SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL kconfig variable.

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

14 years agoFix builds of amd/db800 and digitallogic/msm800sev with smaller bootblocks.
Myles Watson [Mon, 19 Oct 2009 16:58:51 +0000 (16:58 +0000)]
Fix builds of amd/db800 and digitallogic/msm800sev with smaller bootblocks.

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

14 years agoUnselect AP_CODE_IN_CAR in tyan/s289x. Trivial.
Myles Watson [Mon, 19 Oct 2009 16:48:32 +0000 (16:48 +0000)]
Unselect AP_CODE_IN_CAR in tyan/s289x.  Trivial.

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

14 years agoClean up some #ifdef CONFIG_*
Myles Watson [Mon, 19 Oct 2009 16:21:30 +0000 (16:21 +0000)]
Clean up some #ifdef CONFIG_*
Change HAVE_FAN_CTL to be specific to the SuperIO that supports it.

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

14 years agoAdd EXPERT kconfig option so we can hide more advanced options
Uwe Hermann [Sun, 18 Oct 2009 18:35:50 +0000 (18:35 +0000)]
Add EXPERT kconfig option so we can hide more advanced options
from beginners who should rather not touch them unless they know what
they do.

Also, add a random Kconfig help comment.

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

14 years agoDrop a duplicated implementation of failover.c.
Uwe Hermann [Sun, 18 Oct 2009 18:27:42 +0000 (18:27 +0000)]
Drop a duplicated implementation of failover.c.

Abuild-tested.

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

14 years agoSimplify Kconfig files by using "select" where possible (trivial).
Uwe Hermann [Sun, 18 Oct 2009 13:47:30 +0000 (13:47 +0000)]
Simplify Kconfig files by using "select" where possible (trivial).

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

14 years agoDrop dead/unused code (trivial).
Uwe Hermann [Sun, 18 Oct 2009 13:42:50 +0000 (13:42 +0000)]
Drop dead/unused code (trivial).

DEBUG_SETNORTHB is never defined, and even if it was, setnorthb()
is never called anyway.

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

14 years agoRemove this, we no longer need it.
Ronald G. Minnich [Sun, 18 Oct 2009 03:15:59 +0000 (03:15 +0000)]
Remove this, we no longer need it.

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

14 years agoMove files from src/cpu/x86/{fpu,mmx,sse}/ to x86/
Peter Stuge [Sat, 17 Oct 2009 15:01:00 +0000 (15:01 +0000)]
Move files from src/cpu/x86/{fpu,mmx,sse}/ to x86/

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

14 years agoRemove CONFIG_ from #defines that aren't config variables. Trivial.
Myles Watson [Sat, 17 Oct 2009 13:25:07 +0000 (13:25 +0000)]
Remove CONFIG_ from #defines that aren't config variables.  Trivial.

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

14 years agoSilence src/Kconfig:349:warning: config symbol defined without type
Peter Stuge [Sat, 17 Oct 2009 03:00:04 +0000 (03:00 +0000)]
Silence src/Kconfig:349:warning: config symbol defined without type

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

14 years agoRemove some more instances of including previous empty x86/fpu/Makefile.inc
Peter Stuge [Sat, 17 Oct 2009 02:51:26 +0000 (02:51 +0000)]
Remove some more instances of including previous empty x86/fpu/Makefile.inc

Thanks to Jakob and Uwe for spotting the mistake!

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

14 years agoDrop src/cpu/x86/fpu/{Config.lb,Makefile.inc} since they are also empty
Peter Stuge [Sat, 17 Oct 2009 01:12:42 +0000 (01:12 +0000)]
Drop src/cpu/x86/fpu/{Config.lb,Makefile.inc} since they are also empty

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4799 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoMake COM port selection and BAUD rate a "choice" for better usability.
Uwe Hermann [Fri, 16 Oct 2009 22:39:55 +0000 (22:39 +0000)]
Make COM port selection and BAUD rate a "choice" for better usability.

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

14 years agoDrop duplicate version of the documentation/cbfs.txt file as discussed.
Uwe Hermann [Fri, 16 Oct 2009 22:07:20 +0000 (22:07 +0000)]
Drop duplicate version of the documentation/cbfs.txt file as discussed.

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

14 years agoThis is a snapshot as the availability of the systems for this
Ronald G. Minnich [Fri, 16 Oct 2009 22:07:15 +0000 (22:07 +0000)]
This is a snapshot as the availability of the systems for this
project is now uncertain, and I can't invest the remaining time
needed to get it done.

Status is that memory is still not quite configured correctly. It is close
but here are DRAM Row Boundary registers.
Here is coreboot
60: 10 10 20 20 20 20 20 20 00 00 00 00 00 00 00 00
This is close. But:
60: 10 10 10 10 20 20 30 30 00 00 00 00 00 00 00 00
is the real hardware. So we are somehow missing those last slots. I think it's
because the SPD connections and the chip connections differ, some dumping
of RAM registers differ. But it's very close.

This is under serialice. Once we get to this point we get stuck here:
Copying coreboot to RAM.
Copying coreboot to RAM.
Copying coreboot to RAM.

Forever.

Here is the total config for 0:0.0 from coreboot:
PCI: 00:00.00
00: 86 80 90 35 06 00 90 00 0c 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00
40: 09 00 05 41 10 00 00 00 00 00 00 00 00 00 00 00
50: 0c 60 2a 00 00 00 00 00 00 30 33 33 33 33 33 33
60: 10 10 20 20 20 20 20 20 00 00 00 00 00 00 00 00
70: 0a 0a 00 00 00 00 00 00 67 11 5e 55 1e 02 20 2c
80: 41 28 21 00 00 00 00 00 80 01 00 f0 00 00 00 00
90: 00 00 00 00 00 a1 04 39 aa aa 0c 30 5f 08 02 07
a0: 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
b0: 32 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 44 c0 50 11 00 c0 ff 03 00 00 df 03 20 00 00 e0
d0: 02 28 00 0e 07 00 00 00 00 00 93 b5 00 00 00 00
e0: 00 00 00 00 00 00 00 00 36 3c 00 00 00 00 00 00
f0: 00 00 00 00 3a 01 42 00 80 0f 0c 00 00 00 00 00

And from factory:
00:00.0 Host bridge: Intel Corporation E7520 Memory Controller Hub (rev 09)
00: 86 80 90 35 46 01 90 00 09 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 28 10 6c 01
30: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00
40: 09 00 05 41 10 00 00 00 00 00 00 00 00 00 00 00
50: 0c 20 6a 00 00 00 00 00 00 10 11 11 01 00 00 10
60: 10 10 10 10 20 20 30 30 00 00 00 00 00 00 00 00
70: 0a 00 0a 0a 00 00 00 00 44 11 5e 55 1e 02 20 2c
80: 41 28 41 00 00 00 00 00 80 01 00 f0 88 00 00 00
90: 00 00 00 00 00 aa 04 39 aa aa 0c 30 75 08 12 07
a0: 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00
b0: cc 00 99 55 00 00 00 00 00 00 00 00 00 00 00 00
c0: 44 c0 50 33 00 e0 60 00 67 00 28 00 30 00 00 e0
d0: 02 28 00 0e 03 00 00 00 00 00 93 b5 00 00 00 00
e0: 00 00 00 00 00 00 00 00 3a 3c 00 00 00 00 00 00
f0: 00 00 00 00 10 01 02 00 80 0f 0c 00 00 00 00 00

I want to commit this because even if I get no further, someone else might.
Note that for serialice you need the following temporary patch as well:
Index: src/superio/nsc/pc8374/pc8374_early_init.c
===================================================================
--- src/superio/nsc/pc8374/pc8374_early_init.c (revision 4791)
+++ src/superio/nsc/pc8374/pc8374_early_init.c (working copy)
@@ -29,7 +29,8 @@
 static void pc8374_enable_dev(device_t dev, unsigned iobase)
 {
  pnp_set_logical_device(dev);
- pnp_set_enable(dev, 0);
+/* don't disable for now, it kills serialice */
+ pnp_set_enable(dev, 1);

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

14 years agoRevert deletion that snuck in to 4794. Sorry.
Myles Watson [Fri, 16 Oct 2009 20:15:06 +0000 (20:15 +0000)]
Revert deletion that snuck in to 4794.  Sorry.

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

14 years agoChange console code to emit SPEW with DEFAULT_CONSOLE_LOGLEVEL==8.
Myles Watson [Fri, 16 Oct 2009 19:29:45 +0000 (19:29 +0000)]
Change console code to emit SPEW with DEFAULT_CONSOLE_LOGLEVEL==8.

Make MAXIMUM_CONSOLE_LOGLEVEL >= DEFAULT_CONSOLE_LOGLEVEL.

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

14 years agoFix AP_CODE_IN_CAR (only selected for two boards), STACK_SIZE, and HEAP_SIZE.
Myles Watson [Fri, 16 Oct 2009 19:12:49 +0000 (19:12 +0000)]
Fix AP_CODE_IN_CAR (only selected for two boards), STACK_SIZE, and HEAP_SIZE.

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

14 years agoDrop empty cpu/x86/{mmx,sse}/{Config.lb,Makefile.inc} and remove references
Peter Stuge [Fri, 16 Oct 2009 18:27:13 +0000 (18:27 +0000)]
Drop empty cpu/x86/{mmx,sse}/{Config.lb,Makefile.inc} and remove references

Files in those directories are still used, but always with explicit path.

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

14 years agoDrop enable_mmx.inc. It reads (only) "Enabling mmx registers is a noop"
Peter Stuge [Fri, 16 Oct 2009 17:43:46 +0000 (17:43 +0000)]
Drop enable_mmx.inc. It reads (only) "Enabling mmx registers is a noop"

abuild tested

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

14 years agoSet default ROM sizes per-board to match the ROM chip that came
Uwe Hermann [Fri, 16 Oct 2009 17:37:20 +0000 (17:37 +0000)]
Set default ROM sizes per-board to match the ROM chip that came
with the respective board.

Of course, the user can still override the size in menuconfig.

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

14 years agoDrop unused and useless CONFIG_MAX_PCI_BUSES.
Uwe Hermann [Fri, 16 Oct 2009 16:39:40 +0000 (16:39 +0000)]
Drop unused and useless CONFIG_MAX_PCI_BUSES.

It was added by rsmith in r2273 on 20060424, when pci_locate_device() in
src/arch/i386/include/arch/romcc_io.h in fact scanned all busses:

 - for(; dev <= PCI_DEV(255, 31, 7); dev += PCI_DEV(0,0,1)) {
 + for(; dev <= PCI_DEV(CONFIG_MAX_PCI_BUSES, 31, 7); dev += PCI_DEV(0,0,1)) {

Today this looks like:

   for(; dev <= PCI_DEV(255|(((1<<CONFIG_PCI_BUS_SEGN_BITS)-1)<<8), 31, 7); dev += PCI_DEV(0,0,1)) {

and CONFIG_MAX_PCI_BUSES is never used anywhere.

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

14 years agoChange CONFIG_LB_MEM_TOPK to CONFIG_RAMTOP to match CONFIG_RAMBASE.
Myles Watson [Fri, 16 Oct 2009 16:32:57 +0000 (16:32 +0000)]
Change CONFIG_LB_MEM_TOPK to CONFIG_RAMTOP to match CONFIG_RAMBASE.

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

14 years agoFix IRQ9 and allow ACPI without an MP table for Tyan s289x.
Myles Watson [Fri, 16 Oct 2009 14:34:50 +0000 (14:34 +0000)]
Fix IRQ9 and allow ACPI without an MP table for Tyan s289x.

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

14 years agoFix kconfig setup for the VIA pc2500e.
Uwe Hermann [Fri, 16 Oct 2009 13:34:32 +0000 (13:34 +0000)]
Fix kconfig setup for the VIA pc2500e.

Add/drop Kconfig variables as needed.
In Makefile.inc just include Makefile.romccboard.inc with -mcpu=c3.

Build- and runtime-tested on hardware.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4786 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoSimilar to r4626, change obj-y to driver-y for VIA C3 and C7.
Uwe Hermann [Fri, 16 Oct 2009 10:06:18 +0000 (10:06 +0000)]
Similar to r4626, change obj-y to driver-y for VIA C3 and C7.

Otherwise the following happens at runtime (tested on VIA pc2500e, C7):

  Initializing CPU #0
  CPU: vendor Centaur device 6a9
  CPU: family 06, model 0a, stepping 09
  Unknown cpu

We also change C3 as it is pretty clear that the same problem occurs there.

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

14 years agoDrop duplicate CPU subdirs-y entries for "../../x86/mtrr".
Uwe Hermann [Fri, 16 Oct 2009 10:03:50 +0000 (10:03 +0000)]
Drop duplicate CPU subdirs-y entries for "../../x86/mtrr".

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

14 years agoAdd CONFIG_VGA_ROM_RUN to dbm690t and pistachio, otherwise the
Zheng Bao [Fri, 16 Oct 2009 07:44:04 +0000 (07:44 +0000)]
Add CONFIG_VGA_ROM_RUN to dbm690t and pistachio, otherwise the
VGA ROM can not run. After make, run
> ./cbfs/cbfstool ./coreboot.rom add ../vga_bios.rom   pci1002,791f.rom  optionrom
to make the final image with vga bios.

The macro vga_rom_address is out-of-date when CBFS starts play its role. it also should
be eliminated from rs690/chip.h as below. But it will cause building error on other board, which I
cant make test on.

##    Index: src/southbridge/amd/rs690/chip.h
##    ===================================================================
##    --- src/southbridge/amd/rs690/chip.h (revision 4782)
##    +++ src/southbridge/amd/rs690/chip.h (working copy)
##    @@ -23,7 +23,6 @@
##     /* Member variables are defined in Config.lb. */
##     struct southbridge_amd_rs690_config
##     {
##    - u32 vga_rom_address; /* The location that the VGA rom has been appened. */
##      u8 gpp_configuration; /* The configuration of General Purpose Port, A/B/C/D/E. */
##      u8 port_enable; /* Which port is enabled? GFX(2,3), GPP(4,5,6,7) */
##      u8 gfx_dev2_dev3; /* for GFX Core initialization REFCLK_SEL */
##

Don't apply above patch about rs690/chip.h before every board has been fixed.

Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agothis is probably in vain because this tool should use the same x86emu as
Stefan Reinauer [Fri, 16 Oct 2009 01:08:07 +0000 (01:08 +0000)]
this is probably in vain because this tool should use the same x86emu as
coreboot in order to produce comparable results. But, this patch drops the
CONFIG_ from CONFIG_DEBUG because that was added by accident when we
automatically renamed coreboot variables to be consistent. "vgabios" is an
independent userspace utility, and it does not use newconfig nor Kconfig, so
it should not be converted. (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@4782 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoundo another accidential rename of X -> CONFIG_X (trivial)
Stefan Reinauer [Thu, 15 Oct 2009 22:40:41 +0000 (22:40 +0000)]
undo another accidential rename of X -> CONFIG_X (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@4781 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoStart documenting a few kconfig variables and user-visible options.
Uwe Hermann [Thu, 15 Oct 2009 17:49:07 +0000 (17:49 +0000)]
Start documenting a few kconfig variables and user-visible options.

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

14 years agoFix Kconfig for technexion/tim5690.
Libra Li [Thu, 15 Oct 2009 14:23:33 +0000 (14:23 +0000)]
Fix Kconfig for technexion/tim5690.

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

14 years agoAdd CONFIG_GENERATE_* for tables so that the user can select which tables not
Myles Watson [Thu, 15 Oct 2009 13:35:47 +0000 (13:35 +0000)]
Add CONFIG_GENERATE_* for tables so that the user can select which tables not
to build, but by default all the tables that are available are built.

Make PIRQ table build for qemu.

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

14 years agoAdd Kconfig support for kontron/kt960.
Myles Watson [Thu, 15 Oct 2009 13:16:40 +0000 (13:16 +0000)]
Add Kconfig support for kontron/kt960.

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

14 years agocbfs_and_run_core() did not check the return code of cbfs_load_stage()
Carl-Daniel Hailfinger [Wed, 14 Oct 2009 23:51:05 +0000 (23:51 +0000)]
cbfs_and_run_core() did not check the return code of cbfs_load_stage()
and jumped to (void*)-1 on error.
Die properly instead.
I didn't use die() because that caused a linker error.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4776 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix high tables address calculation on cn700 with VIDEO_MB > 0.
Myles Watson [Wed, 14 Oct 2009 20:49:49 +0000 (20:49 +0000)]
Fix high tables address calculation on cn700 with VIDEO_MB > 0.

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

14 years agoAdd forgotten target files for technexion/tim5690.
Libra Li [Wed, 14 Oct 2009 03:19:33 +0000 (03:19 +0000)]
Add forgotten target files for technexion/tim5690.

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

14 years agoWhite space and typo fixes. This makes it easier to compare the s2895 & s2892.
Myles Watson [Wed, 14 Oct 2009 03:09:26 +0000 (03:09 +0000)]
White space and typo fixes.  This makes it easier to compare the s2895 & s2892.

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

14 years agodelete white trailing spaces. It is done by the perl command.
Zheng Bao [Wed, 14 Oct 2009 02:56:00 +0000 (02:56 +0000)]
delete white trailing spaces. It is done by the perl command.
sh> perl -pi -e 's/[[:blank:]]+$//' $files
Trivial.

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

14 years agoUse CAR ck804 code with the s2892.
Myles Watson [Wed, 14 Oct 2009 02:38:24 +0000 (02:38 +0000)]
Use CAR ck804 code with the s2892.
Reset the s2891 so the HT speed gets updated.
Remove some PANTA comments.
Add SATA init from non-CAR version.

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

14 years agoWhite space change in preparation for a patch to unify handling of ck804.
Myles Watson [Tue, 13 Oct 2009 22:53:24 +0000 (22:53 +0000)]
White space change in preparation for a patch to unify handling of ck804.

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

14 years agoRevert some garbage that snuck into my trivial change, correct a spelling error.
Myles Watson [Tue, 13 Oct 2009 20:20:55 +0000 (20:20 +0000)]
Revert some garbage that snuck into my trivial change, correct a spelling error.

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

14 years agoRemove a couple more warnings. Trivial.
Myles Watson [Tue, 13 Oct 2009 20:00:09 +0000 (20:00 +0000)]
Remove a couple more warnings.  Trivial.

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

14 years agoAdd support for the MSI MS-6156 board.
Uwe Hermann [Tue, 13 Oct 2009 19:21:44 +0000 (19:21 +0000)]
Add support for the MSI MS-6156 board.

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

14 years agoFix kontron/kt690 build.
Myles Watson [Tue, 13 Oct 2009 17:56:11 +0000 (17:56 +0000)]
Fix kontron/kt690 build.

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

14 years agoThis patch support for the Technexion Tim-5690 mainboard.
Libra Li [Tue, 13 Oct 2009 16:56:58 +0000 (16:56 +0000)]
This patch support for the Technexion Tim-5690 mainboard.
It's an embedded AMD RS690/SB600 mainboard.

http://www.technexion.com/index.php/tim-5690

Myles added Kconfig support.

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

14 years agoThis patch adds (initial) support for the Kontron KT690 mainboard.
Stefan Reinauer [Tue, 13 Oct 2009 16:47:57 +0000 (16:47 +0000)]
This patch adds (initial) support for the Kontron KT690 mainboard.
It's an embedded AMD 690/SB600 mainboard with a Mobile Sempron CPU.

Issues with this port:
- hangs early during "Starting Windows" with Windows 7, after loading all the
  drivers
- sound is untested and probably not working
- powernow seems to be not working

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4764 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoFix obvious typos (trivial).
Uwe Hermann [Tue, 13 Oct 2009 11:45:04 +0000 (11:45 +0000)]
Fix obvious typos (trivial).

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

14 years agoMake fam10 build (but not boot due to bootblock size problems.)
Myles Watson [Mon, 12 Oct 2009 22:39:08 +0000 (22:39 +0000)]
Make fam10 build (but not boot due to bootblock size problems.)

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

14 years agoAdd the compareboard utility which is useful for porting
Patrick Georgi [Mon, 12 Oct 2009 18:43:26 +0000 (18:43 +0000)]
Add the compareboard utility which is useful for porting
to kconfig.
Hook it up to kbuildall, too

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4761 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

14 years agoRemove useless udelay() duplication.
Uwe Hermann [Sun, 11 Oct 2009 18:21:45 +0000 (18:21 +0000)]
Remove useless udelay() duplication.

Abuild-tested for the boards that are touched.

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

14 years agoHAVE_ACPI_TABLES cleanups for kconfig:
Uwe Hermann [Sun, 11 Oct 2009 17:40:44 +0000 (17:40 +0000)]
HAVE_ACPI_TABLES cleanups for kconfig:

 - Add "select HAVE_ACPI_TABLES" for boards which need it.

 - Drop sections which set HAVE_ACPI_TABLES to 'n', that's the default.

 - Convert sections which set HAVE_ACPI_TABLES to 'y' to the
   shorter "select HAVE_ACPI_TABLES".

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

14 years agoMake console maximum/default log level a choice option.
Uwe Hermann [Sun, 11 Oct 2009 13:35:24 +0000 (13:35 +0000)]
Make console maximum/default log level a choice option.

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