]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pico-imx7d: Add support for update SPL using DFU
authorFabio Berton <fabio.berton@ossystems.com.br>
Fri, 29 Jun 2018 18:19:12 +0000 (15:19 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 23 Jul 2018 08:59:48 +0000 (10:59 +0200)
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>
include/configs/pico-imx7d.h

index 80abcb4d7b8ee670d29aa99c24c2c3e7d839958c..f974b79b3b1fe3180397384260bde354103d6f20 100644 (file)
@@ -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" \