summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam Protsenko <[email protected]>2017-12-12 20:07:41 +0200
committerTom Rini <[email protected]>2017-12-18 13:06:30 -0500
commitdd0829f6c3938dd1bebd86ec5b790fc9b53db8f0 (patch)
tree0d58c80937ce3dc6095b0c9cf72677ce4e697f9e /include
parent30cbb524bca7c92ab7661de96839c54d794cb3cd (diff)
am335x_evm: Fix DFU for eMMC
Use dfu_alt_info_emmc variable from include/environment/ti/dfu.h file. It was probably overlooked when extracting DFU variables to mentioned file. This patch fixes DFU on BeagleBone Black, so that we can use commands like ones below to upgrade various images on eMMC: => setenv dfu_alt_info $dfu_alt_info_emmc => dfu 0 mmc 1 $ dfu-util -D MLO -a MLO.raw $ dfu-util -D u-boot.img -a u-boot.img.raw Without this patch, the user is forced to assign the value to dfu_alt_info_emmc manually, which contradicts with instructions [1]. [1] http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Lokesh Vutla <[email protected]> Reviewed-by: Lukasz Majewski <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am335x_evm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 5ad03667305..856c546fc10 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -255,7 +255,7 @@
/* USB Device Firmware Update support */
#ifndef CONFIG_SPL_BUILD
#define DFUARGS \
- "dfu_alt_info_emmc=rawemmc raw 0 3751936\0" \
+ DFU_ALT_INFO_EMMC \
DFU_ALT_INFO_MMC \
DFU_ALT_INFO_RAM \
DFU_ALT_INFO_NAND