]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit35955808e23d23fbb5cde926e6af11b40b905f1b
tree216e4e0136e1dc446e257f4f98baaa08c894e5e3
parentfd98ce8d4ce9dd9d207879a140909ca8bc26f26a
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