From d42c38b93cbfd93426a7789af6a0e03479c692e8 Mon Sep 17 00:00:00 2001 From: Mathias Krause Date: Tue, 7 Feb 2017 18:59:27 +0100 Subject: libpayload: x86/exec - fix libpayload API magic value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/18331 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- payloads/libpayload/arch/x86/exec.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'payloads') 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 */ -- cgit v1.2.3