diff options
author | B, Ravi <ravibabu@ti.com> | 2016-07-28 17:39:17 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-09-27 23:30:20 +0200 |
commit | 6f8387f120362bfa62d7b99760881736162b57da (patch) | |
tree | 093c0a5be4799e29701b1289374774019f06e0eb /arch/arm/cpu/armv7/omap-common/boot-common.c | |
parent | 52f2acc5e065b52499ee4a8e6baf886b8f5fa6da (diff) | |
download | u-boot-imx-6f8387f120362bfa62d7b99760881736162b57da.zip u-boot-imx-6f8387f120362bfa62d7b99760881736162b57da.tar.gz u-boot-imx-6f8387f120362bfa62d7b99760881736162b57da.tar.bz2 |
dra7x: boot: add dfu bootmode support
This patch enables the DFU boot mode support
for dra7x platform.
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/boot-common.c')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/boot-common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/boot-common.c b/arch/arm/cpu/armv7/omap-common/boot-common.c index 60c367a..385310b 100644 --- a/arch/arm/cpu/armv7/omap-common/boot-common.c +++ b/arch/arm/cpu/armv7/omap-common/boot-common.c @@ -91,6 +91,11 @@ void save_omap_boot_params(void) sys_boot_device = 1; break; #endif +#if defined(BOOT_DEVICE_DFU) && !defined(CONFIG_SPL_DFU_SUPPORT) + case BOOT_DEVICE_DFU: + sys_boot_device = 1; + break; +#endif } if (sys_boot_device) { |