pico-imx7d: Add PICO-Hobbit baseboard support
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 14 Sep 2018 18:53:35 +0000 (15:53 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 18 Sep 2018 14:55:21 +0000 (16:55 +0200)
This adds the device tree to the DFU and bootmenu environment setting.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/pico-imx7d.h

index 4cc84ff5d44d1edfd51cff200c4bb8c4a98fbe1f..0e770bf41f24aa6c38eeb7629c77adec6608dac5 100644 (file)
                "spl raw 0x2 0x400 mmcpart 1;" \
                "u-boot raw 0x8a 0x400 mmcpart 1;" \
                "/boot/zImage ext4 0 1;" \
+               "/boot/imx7d-pico-hobbit.dtb ext4 0 1;" \
                "/boot/imx7d-pico-pi.dtb ext4 0 1;" \
                "rootfs part 0 1\0" \
 
 #define BOOTMENU_ENV \
-       "bootmenu_0=Boot using PICO-PI baseboard=" \
+       "bootmenu_0=Boot using PICO-Hobbit baseboard=" \
+               "setenv fdtfile imx7d-pico-hobbit.dtb\0" \
+       "bootmenu_1=Boot using PICO-Pi baseboard=" \
                "setenv fdtfile imx7d-pico-pi.dtb\0" \
 
 #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */