#
# U-Boot bootscript for NAND images created by Yocto.
#
if test "${board}" = "ccimx6ulsbc"; then
	setenv fdt_file imx6ul-ccimx6ulsbcpro.dtb
else
	setenv fdt_file imx6ul-ccimx6ulsbcexpress.dtb
fi

if test "${mtdbootpart}" = "recovery"; then
	setenv boot_initrd true
	setenv initrd_file uramdisk-recovery.img
else
	true
fi
dboot linux nand ${mtdbootpart}
