summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/x86
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2017-02-07 18:59:27 +0100
committerMartin Roth <martinroth@google.com>2017-02-15 21:55:21 +0100
commitd42c38b93cbfd93426a7789af6a0e03479c692e8 (patch)
tree2a9a66c11b441fccd1970ae22bb7aa9c717bc210 /payloads/libpayload/arch/x86
parent6abdbcd4dc19f3fc2344ffcd9e3790e2a708d6b2 (diff)
libpayload: x86/exec - fix libpayload API magic value
According to coreboot’s payload API [1] the magic value passed to the payload should be 0x12345678, not 12345678. Fix that. [1] https://www.coreboot.org/Payload_API Change-Id: I10a7f7b1a4aec100416c5e7e4ba7f8add10ef5c5 Signed-off-by: Mathias Krause <minipli@googlemail.com> Reviewed-on: https://review.coreboot.org/18331 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'payloads/libpayload/arch/x86')
-rw-r--r--payloads/libpayload/arch/x86/exec.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/arch/x86/exec.S b/payloads/libpayload/arch/x86/exec.S
index b632a558c6..c7595e979c 100644
--- a/payloads/libpayload/arch/x86/exec.S
+++ b/payloads/libpayload/arch/x86/exec.S
@@ -66,7 +66,7 @@ i386_do_exec:
* and argv are sane
*/
- movl $12345678, %ecx
+ movl $0x12345678, %ecx
pushl %ecx
/* Jump to the code */