geam6ul: Add modeboot env via board_late_init
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 6 May 2017 21:13:02 +0000 (02:43 +0530)
committerStefano Babic <sbabic@denx.de>
Thu, 18 May 2017 09:23:31 +0000 (11:23 +0200)
commit9786496cdc6fd6c31a16f2b8e8d7570c01e69de5
tree6f2a901cdc20121ad7d7fad3da6071f974af66b7
parent4bbd40596b52203158333cfcd56f64f92b04a7f3
geam6ul: Add modeboot env via board_late_init

Add runtime, modeboot env which is setting mmcboot, or
nandboot based on the bootdevice so-that conditional
macros b/w MMC and NAND for CONFIG_BOOTCOMMAND should
be avoided in config files.

Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/cpu/armv7/mx6/Kconfig
board/engicam/geam6ul/geam6ul.c
include/configs/imx6ul_geam.h