summaryrefslogtreecommitdiff
path: root/include/configs/am57xx_evm.h
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2020-01-10 16:11:30 +0300
committerLokesh Vutla <lokeshvutla@ti.com>2020-01-20 07:40:28 +0300
commita5396a87fd8288d94c83a1602f3a2ae1ff3fe03f (patch)
tree80febfbd5db6808918e9fc416fdbdbbe2f8cd120 /include/configs/am57xx_evm.h
parent57a088a0f06aafae64d36241b3d5f05d01e442b1 (diff)
downloadu-boot-a5396a87fd8288d94c83a1602f3a2ae1ff3fe03f.tar.xz
arm: am57xx: env: Fix DFU variables
Commit 8502fe84a4fc ("configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU") implements incorrect ifdef logic, which leads to DFU variables absence in non-SPL environment. Fix that in order to bring back DFU variables, by reflecting the logic in include/configs/dra7xx_evm.h. Fixes: 8502fe84a4fc ("configs: am57xx_evm: define CONFIG_SPL_LOAD_F...") Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/configs/am57xx_evm.h')
-rw-r--r--include/configs/am57xx_evm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index 75e7292ef5..fea9300a67 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -32,7 +32,6 @@
#define CONFIG_SYS_OMAP_ABE_SYSCK
-#ifdef CONFIG_SPL_DFU
#ifndef CONFIG_SPL_BUILD
#define DFUARGS \
"dfu_bufsiz=0x10000\0" \
@@ -42,6 +41,7 @@
DFU_ALT_INFO_QSPI
#else
#undef CONFIG_CMD_BOOTD
+#ifdef CONFIG_SPL_DFU
#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000
#define DFUARGS \
"dfu_bufsiz=0x10000\0" \