pico-imx6ul: Improve default DFU settings
This rework the DFU settings so it supports the SPL and U-Boot image,
as well as the single partition layout we are using by default.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h
index 9905b1e..535f0b2 100644
--- a/include/configs/pico-imx6ul.h
+++ b/include/configs/pico-imx6ul.h
@@ -44,11 +44,12 @@
#define DFU_DEFAULT_POLL_TIMEOUT 300
#define CONFIG_DFU_ENV_SETTINGS \
- "dfu_alt_info=uboot raw 0x2 0x400 mmcpart 1;" \
- "boot part 0 1;" \
- "/zImage ext4 0 1;" \
- "/imx6ul-pico-hobbit.dtb ext4 0 1;" \
- "rootfs part 0 2\0" \
+ "dfu_alt_info=" \
+ "spl raw 0x2 0x400 mmcpart 1;" \
+ "u-boot raw 0x8a 0x400 mmcpart 1;" \
+ "/boot/zImage ext4 0 1;" \
+ "/boot/imx6ul-pico-hobbit.dtb ext4 0 1;" \
+ "rootfs part 0 1\0" \
#define BOOTMENU_ENV \
"bootmenu_0=Boot using PICO-Hobbit baseboard=" \