]> git.baikalelectronics.ru Git - uboot.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)
commita3bf03445a2917b861b939a923792781dc0c234f
tree5b407110626cadb5a861d3ca5d9435ccf292157f
parentc7332abefd81159132536894f1d56898118f74fa
x86: zImage: Move subarch assignment out of cmd_line check

The commit

  5ad2b61c051d ("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: 5ad2b61c051d ("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