aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-05-03 23:10:00 +0000
committerStefan Reinauer <stepan@openbios.org>2006-05-03 23:10:00 +0000
commit4c475321341e16250cdc7b6eb1183e1a3cf62c74 (patch)
treea841bbff8ce330ae04ed1afaff0541cfb0eb49d6 /src
parentc01fe5d1b674231546c070f035b0ab3c2d8ba3f5 (diff)
oops! Slap me on the head for this one. Quick fix for ward until
YhLu's suggestions are all there.. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2291 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/cpu/amd/car/copy_and_run.c4
-rw-r--r--src/cpu/x86/car/copy_and_run.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/amd/car/copy_and_run.c b/src/cpu/amd/car/copy_and_run.c
index 44c3bf24fc..341c66e910 100644
--- a/src/cpu/amd/car/copy_and_run.c
+++ b/src/cpu/amd/car/copy_and_run.c
@@ -37,8 +37,8 @@ static void copy_and_run(void)
#else
__asm__ volatile (
- "leal 4+_liseg, %0\n\t"
- "leal _iseg, %1\n\t"
+ "leal _liseg, %0\n\t"
+ "leal _iseg, %1\n\t"
: "=a" (src) , "=b" (dst)
);
diff --git a/src/cpu/x86/car/copy_and_run.c b/src/cpu/x86/car/copy_and_run.c
index 4954e43841..98a47c9bc6 100644
--- a/src/cpu/x86/car/copy_and_run.c
+++ b/src/cpu/x86/car/copy_and_run.c
@@ -29,8 +29,8 @@ static void copy_and_run(unsigned cpu_reset)
#else
__asm__ volatile (
- "leal 4+_liseg, %0\n\t"
- "leal _iseg, %1\n\t"
+ "leal _liseg, %0\n\t"
+ "leal _iseg, %1\n\t"
: "=a" (src) , "=b" (dst)
);