imx-common: wrap boot_mode_apply with CONFIG_CMD_BMODE
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 15 Sep 2015 06:05:06 +0000 (14:05 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 24 Sep 2015 09:31:58 +0000 (11:31 +0200)
commit4406da0f49dd6aa96c297884911094ff903a8f77
treeaab65a12307605d2b19af3728baf34ecbea60772
parentd449701b83fa8e541c90dfd20898a602dc7d1fc2
imx-common: wrap boot_mode_apply with CONFIG_CMD_BMODE

boot_mode_apply should be applied only with CONFIG_CMD_BMODE enabled.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/imx-common/init.c