aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRavi Babu <ravibabu@ti.com>2016-11-17 13:24:26 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2016-11-24 14:00:46 +0530
commitde66166d09bc2ddb7bdf18e5a86bcbfb8925eed9 (patch)
treea44b5a3b39a524e47e992c15c25b3c3ceb4057d9
parent0be728c0ddec0057f56a7b03573d1bfa4a3d0c2a (diff)
downloadjacinto6evm-de66166d09bc2ddb7bdf18e5a86bcbfb8925eed9.tar.gz
spl: usb: dfu: adding configuration for non-FIT image
When CONFIG_SPL_LOAD_FIT is not selected, the image load address shall be CONFIG_SYS_TEXT_BASE. Adding saperate dfu_alt_info configuration for non-FIT images with correct load address. Signed-off-by: Ravi Babu <ravibabu@ti.com>
-rw-r--r--include/configs/dra7xx_evm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index cda7830309..bbca4bfbbc 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -134,6 +134,8 @@
#define CONFIG_SPL_LOAD_FIT_ADDRESS 0x80200000
#define CONFIG_SPL_ENV_SUPPORT
#define CONFIG_SPL_HASH_SUPPORT
+
+#ifdef CONFIG_SPL_LOAD_FIT
#define DFU_ALT_INFO_RAM \
"dfu_alt_info_ram=" \
"kernel ram 0x80200000 0x4000000;" \
@@ -142,6 +144,16 @@
#define DFUARGS \
"dfu_bufsiz=0x10000\0" \
DFU_ALT_INFO_RAM
+#else
+#define DFU_ALT_INFO_RAM \
+ "dfu_alt_info_ram=" \
+ "kernel ram 0x807fffc0 0x4000000;" \
+ "fdt ram 0x80f80000 0x80000;" \
+ "ramdisk ram 0x81000000 0x4000000\0"
+#define DFUARGS \
+ "dfu_bufsiz=0x10000\0" \
+ DFU_ALT_INFO_RAM
+#endif
#endif
#endif