projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a96fd8
)
x86: zImage: add Intel MID platforms support
author
Vincent Tinelli
<
[email protected]
>
Fri, 17 Feb 2017 13:48:59 +0000
(16:48 +0300)
committer
Bin Meng
<
[email protected]
>
Tue, 21 Feb 2017 07:10:50 +0000
(15:10 +0800)
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 <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Signed-off-by: Vincent Tinelli <
[email protected]
>
Signed-off-by: Andy Shevchenko <
[email protected]
>
arch/x86/lib/zimage.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/zimage.c
b/arch/x86/lib/zimage.c
index b6b0f2beb3a16469449ba7d5664f8d80f20e89d1..aafbeb01f907ea4d49a9f343085b6d3e9f491d1b 100644
(file)
--- 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);
}