[U-Boot] [PATCH v1 1/2] x86: zImage: Move subarch assignment out of cmd_line check

Bin Meng bmeng.cn at gmail.com
Fri Jan 12 09:00:51 UTC 2018


On Thu, Jan 11, 2018 at 1:40 AM, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> The commit
>
>   20bfac0599bd ("x86: zImage: add Intel MID platforms support")
>
> introduced an assignment of subarch field in boot parameters, though
> missed the right place of doing that. It doesn't matter if we have or
> not a kernel command line supplied, we just set that field. Although
> guard it by protocol version which supports it.
>
> Fixes: 20bfac0599bd ("x86: zImage: add Intel MID platforms support")
> Cc: Vincent Tinelli <vincent.tinelli at intel.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
>  arch/x86/lib/zimage.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>

Good catch!

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list