From: Stefan Roese Date: Thu, 29 Sep 2016 11:34:08 +0200 Subject: [U-Boot] [PATCH] x86: Fix Linux v4.7+ zimage booting (update bootparam.h) Message-ID: <20160929093408.22765-1-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Booting Linux kernel v4.7+ does not work since commit 974f221c "x86/boot: Move compressed kernel to the end of the decompression buffer". This patch adds the latest version of the setup_header struct, adding "init_size" which is needed since this commit referenced above. With this patch, booting Linux v4.8-rc8 does work again on x86 boards. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- arch/x86/include/asm/bootparam.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/include/asm/bootparam.h b/arch/x86/include/asm/bootparam.h index 1400951..a373a79 100644 --- a/arch/x86/include/asm/bootparam.h +++ b/arch/x86/include/asm/bootparam.h @@ -63,6 +63,9 @@ struct setup_header { __u32 payload_offset; __u32 payload_length; __u64 setup_data; + __u64 pref_address; + __u32 init_size; + __u32 handover_offset; } __attribute__((packed)); struct sys_desc_table { -- 2.9.3