bootstd: USB devtype detection for script boot
authorJohn Clark <inindev@gmail.com>
Fri, 30 Jun 2023 17:12:14 +0000 (13:12 -0400)
committerSimon Glass <sjg@chromium.org>
Thu, 20 Jul 2023 20:10:57 +0000 (14:10 -0600)
commit7dde5620ecff8fee0dd4e29631ba299b0c43d9b8
tree216e4e0136e1dc446e257f4f98baaa08c894e5e3
parent338b67f76cc37c78b2b25f3531924d1bce359aea
bootstd: USB devtype detection for script boot

Change the device type from "usb_mass_storage" to "usb" when
booting a script.

Before this change:
   => printenv devtype
   devtype=usb_mass_storage

After this change:
   => printenv devtype
   devtype=usb

Signed-off-by: John Clark <inindev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_script.c