Re: [U-Boot] [PATCH v2 2/3] x86: zImage: add Intel MID platforms support

2017-02-20 Thread Bin Meng
On Fri, Feb 17, 2017 at 9:48 PM, Andy Shevchenko
 wrote:
> From: Vincent Tinelli 
>
> Intel MID platform boards have special treatment, such as boot parameter
> setting.
>
> Assign hardware_subarch accordingly if CONFIG_INTEL_MID is set.
>
> Reviewed-by: Bin Meng 
> Reviewed-by: Simon Glass 
> Signed-off-by: Vincent Tinelli 
> Signed-off-by: Andy Shevchenko 
> ---
>  arch/x86/lib/zimage.c | 4 
>  1 file changed, 4 insertions(+)
>

applied to u-boot-x86, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v2 2/3] x86: zImage: add Intel MID platforms support

2017-02-17 Thread Andy Shevchenko
From: Vincent Tinelli 

Intel MID platform boards have special treatment, such as boot parameter
setting.

Assign hardware_subarch accordingly if CONFIG_INTEL_MID is set.

Reviewed-by: Bin Meng 
Reviewed-by: Simon Glass 
Signed-off-by: Vincent Tinelli 
Signed-off-by: Andy Shevchenko 
---
 arch/x86/lib/zimage.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c
index b6b0f2beb3..aafbeb01f9 100644
--- a/arch/x86/lib/zimage.c
+++ b/arch/x86/lib/zimage.c
@@ -246,6 +246,10 @@ int setup_zimage(struct boot_params *setup_base, char 
*cmd_line, int auto_boot,
hdr->setup_move_size = 0x9100;
}
 
+#if defined(CONFIG_INTEL_MID)
+   hdr->hardware_subarch = X86_SUBARCH_INTEL_MID;
+#endif
+
/* build command line at COMMAND_LINE_OFFSET */
build_command_line(cmd_line, auto_boot);
}
-- 
2.11.0

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot