aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/amd/model_lx/syspreinit.c
diff options
context:
space:
mode:
authorMarc Jones <marc.jones@amd.com>2007-05-04 18:24:55 +0000
committerStefan Reinauer <stepan@openbios.org>2007-05-04 18:24:55 +0000
commitbc8176c5526ec9124aa99559f9432210be364dfe (patch)
treef4855271c5e16a2b9fba7d558a965c497a60e0cc /src/cpu/amd/model_lx/syspreinit.c
parent5941c25fe8e2118c93ef695ea3b30b65e016cdc1 (diff)
This patch adds support for the AMD Geode LX CPU. (rediffed)
Signed-off-by: Marc Jones <marc.jones@amd.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2628 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_lx/syspreinit.c')
-rw-r--r--src/cpu/amd/model_lx/syspreinit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/amd/model_lx/syspreinit.c b/src/cpu/amd/model_lx/syspreinit.c
index d2e4cf11da..4bc362c52c 100644
--- a/src/cpu/amd/model_lx/syspreinit.c
+++ b/src/cpu/amd/model_lx/syspreinit.c
@@ -21,8 +21,6 @@
*/
/* ***************************************************************************/
-
-/* ***************************************************************************/
/* **/
/* * StartTimer1*/
/* **/
@@ -41,6 +39,8 @@ void
SystemPreInit(void){
/* they want a jump ... */
- __asm__("jmp .+2\ninvd\njmp.+2\n");
+#ifndef USE_DCACHE_RAM
+ __asm__ __volatile__("jmp .+2\ninvd\njmp .+2\n");
+#endif
StartTimer1();
}