aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/am43xx_evm.h')
-rw-r--r--include/configs/am43xx_evm.h35
1 files changed, 2 insertions, 33 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index f805c21f26..10458d07b8 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -15,6 +15,7 @@
15#define CONFIG_MAX_RAM_BANK_SIZE (1024 << 21) /* 2GB */ 15#define CONFIG_MAX_RAM_BANK_SIZE (1024 << 21) /* 2GB */
16#define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */ 16#define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */
17 17
18#include <environment/ti/dfu.h>
18#include <asm/arch/omap.h> 19#include <asm/arch/omap.h>
19 20
20/* NS16550 Configuration */ 21/* NS16550 Configuration */
@@ -154,46 +155,14 @@
154/* USB Device Firmware Update support */ 155/* USB Device Firmware Update support */
155#define CONFIG_USB_FUNCTION_DFU 156#define CONFIG_USB_FUNCTION_DFU
156#define CONFIG_DFU_RAM 157#define CONFIG_DFU_RAM
157
158#define CONFIG_DFU_MMC 158#define CONFIG_DFU_MMC
159#define DFU_ALT_INFO_MMC \
160 "dfu_alt_info_mmc=" \
161 "boot part 0 1;" \
162 "rootfs part 0 2;" \
163 "MLO fat 0 1;" \
164 "spl-os-args fat 0 1;" \
165 "spl-os-image fat 0 1;" \
166 "u-boot.img fat 0 1;" \
167 "uEnv.txt fat 0 1\0"
168
169#define DFU_ALT_INFO_EMMC \
170 "dfu_alt_info_emmc=" \
171 "MLO raw 0x100 0x100 mmcpart 0;" \
172 "u-boot.img raw 0x300 0x1000 mmcpart 0\0"
173
174#define CONFIG_DFU_RAM
175#define DFU_ALT_INFO_RAM \
176 "dfu_alt_info_ram=" \
177 "kernel ram 0x80200000 0x4000000;" \
178 "fdt ram 0x80f80000 0x80000;" \
179 "ramdisk ram 0x81000000 0x4000000\0"
180
181#define CONFIG_DFU_SF 159#define CONFIG_DFU_SF
182#define DFU_ALT_INFO_QSPI \
183 "dfu_alt_info_qspi=" \
184 "u-boot.bin raw 0x0 0x080000;" \
185 "u-boot.backup raw 0x080000 0x080000;" \
186 "u-boot-spl-os raw 0x100000 0x010000;" \
187 "u-boot-env raw 0x110000 0x010000;" \
188 "u-boot-env.backup raw 0x120000 0x010000;" \
189 "kernel raw 0x130000 0x800000\0"
190
191#define DFUARGS \ 160#define DFUARGS \
192 "dfu_bufsiz=0x10000\0" \ 161 "dfu_bufsiz=0x10000\0" \
193 DFU_ALT_INFO_MMC \ 162 DFU_ALT_INFO_MMC \
194 DFU_ALT_INFO_EMMC \ 163 DFU_ALT_INFO_EMMC \
195 DFU_ALT_INFO_RAM \ 164 DFU_ALT_INFO_RAM \
196 DFU_ALT_INFO_QSPI 165 DFU_ALT_INFO_QSPI_XIP
197#else 166#else
198#define DFUARGS 167#define DFUARGS
199#endif 168#endif