Commit graph

1179 commits

Author SHA1 Message Date
Stefan Reinauer
25d77ad675 test whether post commit hooks work again on v3 repo.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1179 f3766cd6-281f-0410-b1cd-43a5c92072e9
2010-05-14 11:59:48 +00:00
Stefan Reinauer
161ab6075e use relative externals so people who can't use svn:// are not locked out.
Sorry, this needs subversion 1.5 or newer. But updating svn is easier for
the average developer than opening their corporate firewall.

See http://subversion.apache.org/docs/release-notes/1.5.html#externals

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1178 f3766cd6-281f-0410-b1cd-43a5c92072e9
2010-05-14 11:53:58 +00:00
Stefan Reinauer
6dc8cc1b19 back out all changes made by me since r1163. They were basically all
coreboot-v2 only. This gets you guys a compiling v3 tree again. Sorry 
for the inconvenience.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>




git-svn-id: svn://coreboot.org/repository/coreboot-v3@1177 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-08-24 13:07:34 +00:00
Stefan Reinauer
990dbb3a0f drop flashrom from svn:externals as we did in v2 a while ago..
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1176 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-08-24 12:59:04 +00:00
Patrick Georgi
8e35a76858 Prepare for kconfig: Rename COREBOOT_V2 to CONFIG_COREBOOT_V2
and adapt its user (x86emu) to match.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1175 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-08-05 12:15:46 +00:00
Stefan Reinauer
a540ae536e trivial: print a message on return. fix typo Rom -> ROM.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1174 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-07-19 00:21:19 +00:00
Stefan Reinauer
6ba3690811 commit svn:externals for previous commit (2/2)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1173 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-06-30 15:24:03 +00:00
Ronald G. Minnich
ce314b3f02 There are some problems with the way these interrrupts were
managed. First, the CLI erases any knowledge of whether interrupts 
were enabled or disabled. Second, the STI works badly on qemu; we 
get an immediate INT #0 as soon as the STI happens.

This spurious interrupt doesn't happen on real hardware (YET!)but, 
that said, I don't think this code should be doing cli and sti. I 
can't see a reason to enable interrupts at this point in coreboot.

This change fixes the observed qemu failures.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1172 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-06-09 11:14:26 +00:00
Stefan Reinauer
1a5f05b02c rename VM86 to REALMODE in v3, too, as that is what it really is.
(trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1171 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-06-07 17:36:43 +00:00
Joseph Smith
f1fae638c1 rename the option CONFIG_PCI_OPTION_ROM_RUN_VM86 to CONFIG_PCI_OPTION_ROM_RUN_REALMODE.
Signed-off-by: Joseph Smith <joe@settoplinux.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1170 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-05-29 18:42:23 +00:00
Uwe Hermann
b2f2f87ab0 Header file consistency fixes (no functional changes).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1169 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-05-29 17:38:46 +00:00
Stefan Reinauer
fddc86fa84 and empty files should be deleted, not set to 0 bytes. Sorry for the noise.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1168 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-05-29 13:10:50 +00:00
Stefan Reinauer
881db0ca0c Part II - svn externals need to be committed separately
drop most of the crappy vm86 code and replace it with a rewritten
version that has all assembler in a .S file and all C code in a .c
file. Also, remove requirement to move around between GDTs.

This version includes the suggestions from Peter to clean up CR0 manipulation
and to guard critical code paths by cli/sti. Tested and working on my hardware.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1167 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-05-29 13:09:57 +00:00
Mart Raudsepp
50b961ea7a Revert "This is an emergency fix for building for qemu. "
This reverts r1162 because r1161 was a better and more universal fix.

Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1166 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-05-09 23:36:20 +00:00
Patrick Georgi
314dab9260 Update URL for flashrom.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1165 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-04-27 14:56:04 +00:00
Corey Osgood
fcf66e3605 Enable caching for Via C7 CPUs, and also improve readability. Tested on hardware
and seems to be working.

Signed-off-by: Corey Osgood <corey.osgood@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1164 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-04-14 15:41:33 +00:00
Pattrick Hueper
298384710b remove unnecessary function definition
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Acked-by: Peter Stuge <peter@stuge.se>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1163 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-04-14 13:58:45 +00:00
Ronald G. Minnich
fd1101de75 This is an emergency fix for building for qemu.
With this fix, FILO works.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1162 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-23 23:55:58 +00:00
Carl-Daniel Hailfinger
2c580fab85 Emergency fixup for the missing is_coldboot().
Note that the weak is_coldboot() returns always 1.
The i945 is_coldboot() returns 1 for a warm boot?

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1161 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-20 16:05:56 +00:00
Carl-Daniel Hailfinger
c1ebcbb8eb Fix evil typo resulting in a compile failure.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1160 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-19 23:29:20 +00:00
Peter Stuge
37077bfe36 v3 vtxprintf(): Stop looking for non-ASCII characters after one has been found.
And update the string length. Many thanks to Mathias Krause for spotting this!

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1159 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-19 13:34:53 +00:00
Carl-Daniel Hailfinger
10ae1a84d0 This patch tries to make printk more readable and reliable.
Base 16 number printing used digits[33] instead of the more readable 'x'
for the "0x" prefix. That means you have to look up an array just to
find out what the code does. Change it.

We already write "<NULL>" if printk gets a NULL pointer as string
argument. Introduce "<near NULL>" for string arguments with addresses
below 0x400. This error happened in the past when dereferencing a struct
member with a string and the struct had the address NULL.

Check if all to-be-printed characters in the string are indeed
printable. The idea is to catch garbage strings from stray pointers and
print "<non-ASCII characters>" instead.
If a string contains characters outside classic ASCII printable stuff,
this will trigger. An example would be characters with diacritic marks
like äöüéăçőč.
Then again, I don't see localized versions of coreboot on the horizon.
Maybe for payloads, but not for coreboot itself.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1158 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-19 12:53:57 +00:00
Carl-Daniel Hailfinger
ea0fbc9514 Changed RAM speed calculation to fix RAM modules getting rejected only
due to integer rounding errors. Previously, the formula was:
        speed = 2 * (10000/spd_value)
For spd_value=60 this means speed = 2 * 166 = 332, which is less than
333 and coreboot died saying RAM was incompatible. The new formula is:
        speed = 20000 / spd_value
For spd_value=60, speed=333, which is fine.

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>

Mart writes:
Tested on ThinCan DBE63 to fix the issue of 333 > 332 comparison for RAM
modules I had problems with before due to bailing out in the
overclocking check.

Acked-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1157 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-19 11:33:16 +00:00
Mart Raudsepp
4ab7c11c4a Output GeodeLink and RAM speed in case of overclock error to make things more clear.
Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Acked-by: Myles Watson <mylesgw@gmail.com>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1156 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-19 10:10:24 +00:00
Pattrick Hueper
13eced4a0e "other device" support for YABEL PCI Config Space Accesses
This patch makes it possible for Option ROMs to access devices
other than the one YABEL is running for. This is needed for some
onboard Graphics Cards Option ROMs.

Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Tested and Acked-by: Joseph Smith <joe@settoplinux.org>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1155 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-18 16:27:01 +00:00
Pattrick Hueper
6258e1e826 add YABEL flag to options to decide wether access to devices other than the one yabel is running for is possible
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Tested and Acked-by: Joseph Smith <joe@settoplinux.org>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1154 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-18 16:26:56 +00:00
Pattrick Hueper
2a7dcbc865 update Copyright on YABEL files i modified
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Acked-by: Myles Watson <mylesgw@gmail.com>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1153 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-18 14:58:03 +00:00
Pattrick Hueper
bece997519 update documentation of yabel debug flags
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Acked-by: Joseph Smith <joe@settoplinux.org>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1152 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-17 14:08:03 +00:00
Pattrick Hueper
c6ffdb6c17 fix warnings in ops.c
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1151 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-16 16:33:41 +00:00
Pattrick Hueper
0b77932cba add intFuncArray to be able to override INT handlers from YABEL caller
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1150 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-14 15:55:43 +00:00
Pattrick Hueper
131affc05a use CONFIG_YABEL_DEBUG_FLAGS when setting debug_flags
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1149 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-14 15:43:28 +00:00
Pattrick Hueper
f8b3fed317 add YABEL Debug Flag config variable
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1148 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-14 15:43:25 +00:00
Stefan Reinauer
7b97aad41f remove vbe.c from build list, it's not used in v3 either, and it's not well tested yet.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1147 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-13 12:25:57 +00:00
Patrick Georgi
032a81eb9c Enable the use of scan-build on the coreboot-v3 tree, too
It requires a flag (CONFIG_SCAN_BUILD) to be set, and then
$ scan-build make

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1146 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-11 18:13:43 +00:00
Ronald G. Minnich
5a90884bd4 last kontron commit.
This is a potentially good pointer to where someone can take this. 

While startup was working, BSP now explodes once the AP stops, while
BSP is doing startup IPI loop send #2. The code needs to be hardened; I 
think use of the shared variables would really make it much more solid. 
This would be a good undergrad student project if someone is looking for one.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1145 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-11 16:17:37 +00:00
Pattrick Hueper
1ef9d2f412 YABEL: fix 32bit cf8/cfc PCI Config accesses
Signed-off-by: Pattrick Hueper <phueper@hueper.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1144 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-05 21:28:56 +00:00
Ronald G. Minnich
77407f5341 This is working up to the ljmpl to protected mode. It has all the
debugging in, using locations 0 and _secondary_start as POST. 

Calling from initram did not work out, as we have to disable_car in initram
to make such a call work (on core2). For now, 
I am calling this from stage1_phase 3, before stage2 is called. But that
has increased the code size of stage1, which is not a great idea. 

What I am thinking we ought to do: call this from stage2, before phase 1, 
so that CPUs are nice and set up and quiet. 
Provide phase2 with an SMP-safe printk. 

This is here so others may see it and correct my work. The good news is 
that SMP startup on core2 on v3 is now starting to go. But the better news
is that the way this is working is pretty generic and ought to apply to 
much more than just core2. 

To really look at object you might want to get ndisasm. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1143 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-05 05:48:43 +00:00
Stefan Reinauer
10c8cd84b2 Trivial patch to make v3 compile too.
Signed-off-by: Ronald Hoogenboom <hoogenboom30@zonnet.nl>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1142 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-01 19:23:02 +00:00
Stefan Reinauer
be57458c77 This patch contains the necessary changes to util/x86emu of the v3 tree to use
it in the v2 tree as well. Requires the yabel-prereq.diff patch in order to
work in v2.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Joseph Smith <joe@settoplinux.org>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1141 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-03-01 10:08:06 +00:00
Myles Watson
cc295dd73a This patch removes all *_PLUGIN_SUPPORT options and replaces most
*_SUPPORT options with NO_*_SUPPORT options.  This means that you have
to specify that you want a smaller BIOS, otherwise you get full
functionality.

HyperTransport is the only exception for a couple of reasons.  HT
requires a mainboard.h file which not all mainboards have, and it's
less likely to be "plugged in" to a board that doesn't have some
onboard HT.

It also fixes a trivial typo in Kconfig (paylaod -> payload)

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1140 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-25 17:50:38 +00:00
Ronald G. Minnich
52bdacea13 Again, this probably won't work but I want to make the code visible so
people can suggest what's wrong. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1139 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-24 03:38:37 +00:00
Mart Raudsepp
bee5429ba6 cs5536: Make NAND code optional and implement timing setting
The reset value for NAND timings is the slowest possible for Flash interface.
Implement optionally setting it to a different value inside the NAND device.
Set it to appropriate values for Artec Group DBE61 and DBE62.
This results in a roughly two times quicker read time as measured by hdparm
for these boards.

Because we can not cast to southbridge_amd_cs5536_nand_config if the board dts
does not have an entry for the NAND device, this change proposes a method for
reasonably clean way to only optionally compile in support for certain devices:
If a board wants to support an optional device, its Kconfig entry can select
that configuration. If it's optional even across the same board, it can expose
a subconfig option of the board, that describes it and if chosen selects the
device config. The source code for that device is conditionally compiled only
if the Kconfig option gets enabled by the configuration for the board.
A requirement is that if the board configuration can enable a device, it is
contained in the boards dts file as well.

A perhaps better long-term alternative for this could be making dtc generate
preprocessor definitions for each device_configuration struct that it creates.
Then the source code file is always enabled, but that file can be wrapped
around a simple #ifdef check in its entirety.

Conversion to the alternative approach from the short-term Kconfig approach
proposed here should be relatively easy, as to not block inclusion of the
Kconfig approach in the short term.

Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Acked-by: Marc Jones <marcj303@gmail.com>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1138 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-23 18:42:44 +00:00
Ronald G. Minnich
509ab45a81 This is a trivial commit and I want to get other people to look at the code.
I can still get to linux but core1 is not working.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>




git-svn-id: svn://coreboot.org/repository/coreboot-v3@1137 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-21 17:28:24 +00:00
Ronald G. Minnich
5f27d204bc This patch extends core2 smp support to v3. It is an
adaption of the v2 code, with significant cleanup and 
simplification. It also works in CAR mode, and has no .bss or .data
usage. It provides for a way to provide AP POST codes to the BSP. 

Since one common file with amd changed (lapic.h) I have build-tested this
against serengeti and it is fine.


It builds and I'll be testing it as soon as I can find the power supply for 
the kontron (it got "borrowed"). 
Index: arch/x86/intel/core2/init_cpus.c

new file. Basically an adaptation of the v2 code to v3. All global variables
removed. One big change to note: there is a stack struct, and the 
parameters to the secondary_start are struct members. Thus the BSP 
can watch the AP, and, neater, the AP can POST to a shared variable
and the BSP can see how far it got. 

Index: arch/x86/secondary.S
.S startup for AP. 
Index: arch/x86/Kconfig
Delete a dependency. 
Index: northbridge/intel/i945/reset_test.c
Add real cold boot detection. 

Index: mainboard/kontron/986lcd-m/Makefile
Add some new build files. 

Index: mainboard/kontron/986lcd-m/stage1.c

Get rid of ' in #warning that confused some tool. 

Index: mainboard/kontron/986lcd-m/initram.c
Call init_cpus. 

Index: mainboard/kontron/Kconfig
Turn off SMM for now. 

Index: include/arch/x86/lapic.h
Correct a static inline declaration. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>




git-svn-id: svn://coreboot.org/repository/coreboot-v3@1136 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-21 00:05:20 +00:00
Ronald G. Minnich
41bb62d112 The initram build allows you to -fcombine the source. But if you put a
.S into the source file list, for reasons unknown, gcc only builds a .o 
with the .S symbols/code in it; all the .c bits disappear. 

So, a few changes:
1. add a rule for secondary.o, we're going to need it. 

I like the fact that adding a .S file is inconvenient. Good. 
Adding assembly should be hard. 

2. Make two steps to initram .o building: first, the .c files, then any 
    extra .o files as specified by the mainboard Makefile

I realize this is a bit ugly, if there is a better solution, I'll take it.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>

Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1135 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-19 23:50:38 +00:00
Ronald G. Minnich
2fe48ba7d5 Add this file from v2. Not build tested, just want to get it in.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1134 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-18 21:17:22 +00:00
Marc Jones
b6c89edb04 Improve the setup of MTRRs in stage1 to handle alignment and power of
2 size calculations.

Signed-off-by: Marc Jones <marcj303@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@1133 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-15 18:12:34 +00:00
Carl-Daniel Hailfinger
54d59cf82c Fix missing indirection for CONFIG_PCI_64BIT_PREF_MEM. That config still
does not compile, but this needed fixing anyway.

Signed-off-by: Ronald Hoogenboom <hoogenboom30@zonnet.nl>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1132 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-13 11:00:21 +00:00
Myles Watson
9d6d811dd1 This patch converts __FUNCTION__ to __func__, since __func__ is standard.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1131 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-12 21:15:34 +00:00
Myles Watson
52e3eecb8a Convert \r\n to \n in v3.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Corey Osgood <corey.osgood@gmail.com>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1130 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-02-12 19:41:05 +00:00