]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fastboot: ARM: OMAP5: Enable reboot-bootloader
authorDileep Katta <dileep.katta@linaro.org>
Fri, 27 Mar 2015 17:36:57 +0000 (23:06 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:31:11 +0000 (22:31 +0200)
commit7e98b658c4ba2578d61badc99cdac01d6d9df168
treebd3686d224b4feb02c2c3118dc66835c1bc07e74
parentc78d100db2fc3bc1fe76301f214a509f993c59e6
fastboot: ARM: OMAP5: Enable reboot-bootloader

Implemented fb_set_reboot_flag() for OMAP5 to set
an environment variable 'dofastboot' when reboot-bootloader called.

This environment variable will be checked in boot command and fastboot
will be called if the variable is set.
If the bootcmd env variable of OMAP5 common is overwritten with board-specific
command, then these changes will not apply.

This was originally intended for DRA7 platform, but now applies to all OMAP5.

Ref:
http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=19da2e436e9806259cf1f4988b9e046ab256bf2c

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Dileep Katta <dileep.katta@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
[trini: Make it check for !CONFIG_ENV_IS_NOWHERE as we can't saveenv()
in that case]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/boot-common.c
include/configs/ti_omap5_common.h