switch-coreboot/arch/x86
Carl-Daniel Hailfinger e4d46b9e90 early_mtrr_init() nukes all MTRRs including those which we use for CAR.
That means if it ever gets called while CAR is active, our stack will be
dropped and mayhem will ensue.
Besides that, it just replicated stage0.S functionality which already
nukes all MTRRs before enabling CAR.

We could move XIP ROM caching from stage0.S to early_mtrr_init(). It
would probably slow down booting a bit, but the amount of asm code would
be reduced.

Thanks to Corey for telling me that early_mtrr_init() broke booting for
him.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1067 f3766cd6-281f-0410-b1cd-43a5c92072e9
2008-12-10 18:34:16 +00:00
..
amd Update K8 FID/VID setup to match coreboot v2. Add support for 100MHz FIDs 2008-11-04 17:00:07 +00:00
geodelx Right now we face the problem that we can't support processors which 2008-10-16 03:00:28 +00:00
i586 Right now we face the problem that we can't support processors which 2008-10-16 03:00:28 +00:00
intel/core2 back out until this issue is really fixed. 2008-11-26 09:17:29 +00:00
via Add core2 stage1.c dependency 2008-11-14 05:05:24 +00:00
archelfboot.c Move include/console/console.h to include/console.h in order to 2007-05-05 20:18:28 +00:00
archtables.c This patch adds explicit casts to remove some compiler warnings. 2008-10-23 16:47:42 +00:00
coreboot_table.c Not a single file is being rebuilt in v3 if build.h changes. That means 2008-11-16 22:59:52 +00:00
i8259.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
isa-dma.c Ron's arch code., slightly changed. Another one will follow 2007-06-27 21:01:01 +00:00
Kconfig Add support for creating an smm top-level object. 2008-12-06 03:59:24 +00:00
keyboard.c The current parameter situation of post_code() is rather mixed between 2008-01-07 16:34:34 +00:00
ldscript.ld Cover for unknown strange thing that just happened in svn. 2008-10-06 23:20:41 +00:00
Makefile Add support for creating an smm top-level object. 2008-12-06 03:59:24 +00:00
mc146818rtc.c We're getting closer. It has been pointed out that this code is not pretty. I agree. Get 2008-08-03 22:42:01 +00:00
multiboot.c This patch adds explicit casts to remove some compiler warnings. 2008-10-23 16:47:42 +00:00
pci_ops_auto.c This patch removes code related to PCI type 2 configuration cycles (gone as of 2008-11-05 22:18:53 +00:00
pci_ops_conf1.c Fix a bunch of Doxygen warnings in v3 (trivial). 2008-10-23 18:55:01 +00:00
pci_ops_mmconf.c Constify structs which can be const. 2007-11-26 13:28:52 +00:00
pirq_routing.c Minor cosmetic and/or license header fixes (trivial). 2008-08-11 21:01:54 +00:00
post_code.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
resourcemap.c The change to Kconfig is self-acked. 2008-08-13 02:44:46 +00:00
serial.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
speaker.c Remove superfluous checks for boolean CONFIG_* variables where we tested 2008-02-14 22:34:40 +00:00
stage0_common.S Document unexpected clobbering of stage0 code. 2008-12-03 23:39:49 +00:00
stage1.c Experimental backout of the critical code parts in r1057 as requested 2008-11-26 02:16:37 +00:00
stage1_mtrr.c early_mtrr_init() nukes all MTRRs including those which we use for CAR. 2008-12-10 18:34:16 +00:00
udelay_io.c Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00