]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: zImage: Move subarch assignment out of cmd_line check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 10 Jan 2018 17:40:14 +0000 (19:40 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 30 Jan 2018 06:29:07 +0000 (14:29 +0800)
commit378960d8c2c72c5b6be2a6cd7787cab8c3ba5abc
tree5b407110626cadb5a861d3ca5d9435ccf292157f
parent7b36dbdec725d507e4af64eb06a166be82e51324
x86: zImage: Move subarch assignment out of cmd_line check

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@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/zimage.c