arm: socfpga: misc: Export bootmode into environment variable
authorMarek Vasut <marex@denx.de>
Wed, 22 Jul 2015 03:40:12 +0000 (05:40 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:08 +0000 (14:14 +0200)
commit9ec7414e29a1ae9c89bd9ab1c3dd12d0f53f6f4c
treefcafa62b01297e2d70af88c0cb985e7791511100
parentd85e311e7f1aa11ae168754c253b25e5d64ed123
arm: socfpga: misc: Export bootmode into environment variable

setenv an environment variable called "bootmode" , which contains the
board boot mode. This can be in turn used in scripts to determine from
where to load kernel and such.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/mach-socfpga/misc.c
include/configs/socfpga_common.h