aboutsummaryrefslogtreecommitdiff
path: root/include/configs/am57xx_evm.h
diff options
context:
space:
mode:
authorBin Liu <b-liu@ti.com>2019-02-08 11:01:37 -0600
committerTom Rini <trini@konsulko.com>2019-02-19 08:55:43 -0500
commit8502fe84a4fc1eb5610b1dbb102ff11b02aee25f (patch)
tree27b2cc0eb2142df7b2e12a0bd755a710533a6558 /include/configs/am57xx_evm.h
parent44ac80e7e90ff1c6630b64b3babe03cc6bdef46a (diff)
downloadu-boot-8502fe84a4fc1eb5610b1dbb102ff11b02aee25f.zip
u-boot-8502fe84a4fc1eb5610b1dbb102ff11b02aee25f.tar.gz
u-boot-8502fe84a4fc1eb5610b1dbb102ff11b02aee25f.tar.bz2
configs: am57xx_evm: define CONFIG_SPL_LOAD_FIT_ADDRESS for SPL-DFU
Define CONFIG_SPL_LOAD_FIT_ADDRESS to enable SPL-DFU for am57x platform. Signed-off-by: Bin Liu <b-liu@ti.com>
Diffstat (limited to 'include/configs/am57xx_evm.h')
-rw-r--r--include/configs/am57xx_evm.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index d61fdf9..70aa425 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -35,11 +35,22 @@
#define CONFIG_SYS_OMAP_ABE_SYSCK
+#ifdef CONFIG_SPL_DFU
+#ifndef CONFIG_SPL_BUILD
#define DFUARGS \
"dfu_bufsiz=0x10000\0" \
DFU_ALT_INFO_MMC \
DFU_ALT_INFO_EMMC \
DFU_ALT_INFO_RAM \
+ DFU_ALT_INFO_QSPI
+#else
+#undef CONFIG_CMD_BOOTD
+#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000
+#define DFUARGS \
+ "dfu_bufsiz=0x10000\0" \
+ DFU_ALT_INFO_RAM
+#endif
+#endif
#include <configs/ti_omap5_common.h>