summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-06-29 21:19:09 +0300
committerStefano Babic <sbabic@denx.de>2018-07-23 11:59:48 +0300
commit0676b6948d31607f208650cd9c1359f6210f55c3 (patch)
tree3305384d2ca46bd8d2f3315ce4948ff42fc0303a /include/configs
parent4242de43bb386199c705271dfbb19ccf4b3c281f (diff)
downloadu-boot-0676b6948d31607f208650cd9c1359f6210f55c3.tar.xz
pico-imx7d: Add default DFU targets
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/pico-imx7d.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index 9746caae91..23ac103f13 100644
--- a/include/configs/pico-imx7d.h
+++ b/include/configs/pico-imx7d.h
@@ -32,6 +32,12 @@
/* MMC Config */
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
+#define CONFIG_DFU_ENV_SETTINGS \
+ "dfu_alt_info=u-boot raw 0x2 0x400 mmcpart 1;" \
+ "/boot/zImage ext4 0 1;" \
+ "/boot/imx7d-pico-pi.dtb ext4 0 1;" \
+ "rootfs part 0 1\0" \
+
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
@@ -49,6 +55,7 @@
"ramdisk_addr_r=0x83000000\0" \
"ramdiskaddr=0x83000000\0" \
"scriptaddr=" __stringify(CONFIG_LOADADDR) "\0" \
+ CONFIG_DFU_ENV_SETTINGS \
"finduuid=part uuid mmc 0:1 uuid\0" \
"partitions=" \
"uuid_disk=${uuid_gpt_disk};" \