#!/bin/sh
global.bootm.image="/dev/nor0.update"
dtb=/dev/nor0.dtb
filetype -s t ${dtb}
if [ "$t" = dtb ]; then
global.bootm.oftree="${dtb}"
fi