From 675731bf427e007b1c42988270bdda2db63cf72a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 25 Nov 2008 23:10:24 +0000 Subject: [PATCH] hack to make v3 rom access a lot faster. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/coreboot-v3@1056 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/Kconfig | 2 +- arch/x86/intel/core2/stage0.S | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 988fcc99fd..3a167583d9 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -176,7 +176,7 @@ config CARBASE default 0x80000 if CPU_AMD_GEODELX default 0xc8000 if CPU_AMD_K8 default 0xffef0000 if CPU_VIA_C7 - default 0xffef0000 if CPU_INTEL_CORE2 + default 0xffdf8000 if CPU_INTEL_CORE2 help This option sets the base address of the area used for CAR. diff --git a/arch/x86/intel/core2/stage0.S b/arch/x86/intel/core2/stage0.S index 41a4f19f44..c2ed2e7671 100644 --- a/arch/x86/intel/core2/stage0.S +++ b/arch/x86/intel/core2/stage0.S @@ -22,6 +22,9 @@ #define CACHE_AS_RAM_SIZE CONFIG_CARSIZE #define CACHE_AS_RAM_BASE CONFIG_CARBASE +#define XIP_ROM_BASE 0xfff00000 +#define XIP_ROM_SIZE 0x00100000 + #include #include