if itest.s x6SX == "x${cpu}" || itest.s x7D == "x${cpu}"; then
if itest.s "x1" == "x$m4enabled" ; then
setenv initrd_high 0xffffffff
if itest.s "x" == "x${dtbname}" ; then
if itest.s x6SOLO == "x${cpu}" ; then
dtbname=imx6dl-${board}.dtb;
elif itest.s x6DL == "x${cpu}" ; then
dtbname=imx6dl-${board}.dtb;
elif itest.s x6QP == "x${cpu}" ; then
dtbname=imx6qp-${board}.dtb;
elif itest.s x6SX == "x${cpu}" ; then
dtbname=imx6sx-${board}${m4}.dtb;
elif itest.s x7D == "x${cpu}" ; then
dtbname=imx7d-${board}${m4}.dtb;
dtbname=imx6q-${board}.dtb;
if load ${dtype} ${disk}:1 ${a_script} uEnv.txt ; then
env import -t ${a_script} ${filesize}
if itest.s x == x${bootdir} ; then
if itest.s x${bootpart} == x ; then
if load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname} ; then
setenv fdt_high 0xffffffff
echo "!!!! Error loading ${bootdir}${dtbname}";
if itest.s "x" != "x${cmd_custom}" ; then
if itest.s "x" != "x${cmd_hdmi}" ; then