9
0
Fork 0
barebox/arch/arm/boards/versatile/env/boot/nor-update

10 lines
146 B
Bash

#!/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