distro_bootcmd: set devtype for dhcp boot
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Thu, 29 Oct 2020 10:59:19 +0000 (12:59 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 15 Dec 2020 18:56:50 +0000 (13:56 -0500)
commitc9cb6a6002fc91b045ac84b6d8fe0b34213dd320
treefb71208230a06ccf830f5bb2f9955a5164c2e694
parent56f02f0ae85da8bb2dca66c7816dbb1429f92072
distro_bootcmd: set devtype for dhcp boot

Set $devtype for DHCP boot, which can be handy for the boot.scr
for detection of devtype used (for example, when the same boot.scr is
used for both mmc/dhcp boot):

if test ${devtype} = "dhcp"; then
...
fi

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
include/config_distro_bootcmd.h