Skip to content
Snippets Groups Projects
Commit 20bfac05 authored by Vincent Tinelli's avatar Vincent Tinelli Committed by Bin Meng
Browse files

x86: zImage: add Intel MID platforms support


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

Assign hardware_subarch accordingly if CONFIG_INTEL_MID is set.

Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarVincent Tinelli <vincent.tinelli@intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 7a96fd8e
No related branches found
No related tags found
No related merge requests found
...@@ -246,6 +246,10 @@ int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot, ...@@ -246,6 +246,10 @@ int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot,
hdr->setup_move_size = 0x9100; 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 at COMMAND_LINE_OFFSET */
build_command_line(cmd_line, auto_boot); build_command_line(cmd_line, auto_boot);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment