summaryrefslogtreecommitdiff
path: root/include/configs/dra7xx_evm.h
diff options
context:
space:
mode:
authorB, Ravi <ravibabu@ti.com>2016-07-28 12:09:18 (GMT)
committerMarek Vasut <marex@denx.de>2016-09-27 21:30:21 (GMT)
commitcdb1808aefbc7173d687cb03de15b8ee3a671743 (patch)
tree6a45b222885ffad5c9162009ff286975cdd47674 /include/configs/dra7xx_evm.h
parent6f8387f120362bfa62d7b99760881736162b57da (diff)
downloadu-boot-cdb1808aefbc7173d687cb03de15b8ee3a671743.tar.xz
dra7x: configs: enable SPL-DFU support
This patch enables the SPL-DFU support for dra7x platform. Signed-off-by: Ravi Babu <ravibabu@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/dra7xx_evm.h')
-rw-r--r--include/configs/dra7xx_evm.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 194804c..0726875 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -132,6 +132,23 @@
#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1
#endif
+#ifdef CONFIG_SPL_BUILD
+#undef CONFIG_CMD_BOOTD
+#ifdef CONFIG_SPL_DFU_SUPPORT
+#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000
+#define CONFIG_SPL_ENV_SUPPORT
+#define CONFIG_SPL_HASH_SUPPORT
+#define DFU_ALT_INFO_RAM \
+ "dfu_alt_info_ram=" \
+ "kernel ram 0x80200000 0x4000000;" \
+ "fdt ram 0x80f80000 0x80000;" \
+ "ramdisk ram 0x81000000 0x4000000\0"
+#define DFUARGS \
+ "dfu_bufsiz=0x10000\0" \
+ DFU_ALT_INFO_RAM
+#endif
+#endif
+
#include <configs/ti_omap5_common.h>
/* Enhance our eMMC support / experience. */
@@ -209,9 +226,10 @@
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_RAM
+#ifndef CONFIG_SPL_BUILD
#define CONFIG_DFU_MMC
-#define CONFIG_DFU_RAM
#define CONFIG_DFU_SF
+#endif
/* SATA */
#define CONFIG_BOARD_LATE_INIT