summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)
);