am335x_evm: Make SPL_OS also check the boot_os variable for falcon mode
authorTom Rini <trini@ti.com>
Fri, 28 Mar 2014 16:03:38 +0000 (12:03 -0400)
committerTom Rini <trini@ti.com>
Thu, 17 Apr 2014 18:39:54 +0000 (14:39 -0400)
commitba9a6708ec51c294a9674d6901a8be7c3ef76f57
tree7037ca283fa8d5056449a41bbeb0d5a3c85c01b2
parentdb605806496cea6d6a82032b2f9ae1628ae7778d
am335x_evm: Make SPL_OS also check the boot_os variable for falcon mode

We use the same variable as a3m071 in the environment to determine if we
should boot into Linux or U-Boot.  This is useful on boards like
Beaglebone Black or AM335x GP EVM where we have persistent storage for
the environment.

Signed-off-by: Tom Rini <trini@ti.com>
board/ti/am335x/board.c