summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2017-05-02 18:27:43 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-29 17:30:49 (GMT)
commitcdc12eed1f5a67f64230ab36985eaab970d1854e (patch)
treec1dc176c4e0a27fef5c3eead8a5d43bd613981e8 /include/configs
parent52a557d64c999400971419aed511b831c6a09ab9 (diff)
downloadu-boot-fsl-qoriq-cdc12eed1f5a67f64230ab36985eaab970d1854e.tar.xz
ARM: at91: ma5d4: Enable DFU and UMS
Enable DFU and USB mass storage support for the DENX MA5D4 SoM. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ma5d4evk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ma5d4evk.h b/include/configs/ma5d4evk.h
index f55d81f..4bcbf2c 100644
--- a/include/configs/ma5d4evk.h
+++ b/include/configs/ma5d4evk.h
@@ -103,6 +103,9 @@
#define CONFIG_USB_ETHER
#define CONFIG_USB_ETH_RNDIS
#define CONFIG_USBNET_MANUFACTURER "AriesEmbedded"
+#define CONFIG_USB_FUNCTION_MASS_STORAGE
+#define CONFIG_SYS_DFU_DATA_BUF_SIZE (1 * 1024 * 1024)
+#define DFU_DEFAULT_POLL_TIMEOUT 300
#endif
/*
@@ -131,6 +134,7 @@
"bootpart=1:1\0" \
"rootdev=/dev/mmcblk1p2\0" \
"netdev=eth0\0" \
+ "dfu_alt_info=mmc raw 0 3867148288\0" \
"kernel_addr_r=0x22000000\0" \
"update_spi_firmware_spl_addr=0x21000000\0" \
"update_spi_firmware_spl_filename=boot.bin\0" \