From: Fabio Berton <fabio.berton@ossystems.com.br>
Date: Fri, 29 Jun 2018 18:19:12 +0000 (-0300)
Subject: pico-imx7d: Add support for update SPL using DFU
X-Git-Tag: v2025.01-rc5-pxa1908~3900^2~17
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/gitweb.css?a=commitdiff_plain;h=1e646426949a4205ae973c4a7ff7f2aea9f6d9bd;p=u-boot.git

pico-imx7d: Add support for update SPL using DFU

Add spl entry on dfu_alt_info to be able to update U-Boot with SPL
for pico imx7d board.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index 80abcb4d7b..f974b79b3b 100644
--- a/include/configs/pico-imx7d.h
+++ b/include/configs/pico-imx7d.h
@@ -33,7 +33,9 @@
 #define CONFIG_SYS_FSL_ESDHC_ADDR	0
 
 #define CONFIG_DFU_ENV_SETTINGS \
-	"dfu_alt_info=u-boot raw 0x2 0x400 mmcpart 1;" \
+	"dfu_alt_info=" \
+		"spl raw 0x2 0x400 mmcpart 1;" \
+		"u-boot raw 0x8a 0x400 mmcpart 1;" \
 		"/boot/zImage ext4 0 1;" \
 		"/boot/imx7d-pico-pi.dtb ext4 0 1;" \
 		"rootfs part 0 1\0" \