mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
device: notify before booting the board
Transfering the image to cdba server takes time (especially when working with over the network). Notify users before actually booting the board to ease detecting early boot issues. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
This commit is contained in:
committed by
Bjorn Andersson
parent
6fbc50ca58
commit
961792677a
1
device.c
1
device.c
@@ -256,6 +256,7 @@ void device_fastboot_flash_reboot(struct device *device)
|
||||
|
||||
void device_boot(struct device *device, const void *data, size_t len)
|
||||
{
|
||||
warnx("booting the board...");
|
||||
if (device->set_active)
|
||||
fastboot_set_active(device->fastboot, "a");
|
||||
fastboot_download(device->fastboot, data, len);
|
||||
|
||||
Reference in New Issue
Block a user