firmware_update: cleanup error and logging
authorSven Rademakers <sven.rademakers@gmail.com>
Wed, 18 Oct 2023 12:11:32 +0000 (13:11 +0100)
committerSven Rademakers <sven.rademakers@gmail.com>
Thu, 19 Oct 2023 11:13:42 +0000 (12:13 +0100)
commitd83c7272cf1f78bd9146760d30a26a3956dc2723
tree7592b4b7de92e014832da39b654eecae1c5a4ce2
parenta28a98107f871d7e746071e5e5e4d8326544e691
firmware_update: cleanup error and logging

* Cleaned up the async logging/state component. Error information should
  flow back via `FwUdateError`.
* Flattened the `SUPPORTED_DEVICES` and `SUPPORTED_MSD_DEVICES`. All
  official supported devices need to be able to run as MSD. If
  there are any technical reasons why this is not feasible an appropriate
  error response is sufficient to differentiate between supported and
  not supported MSD devices.
src/api/legacy.rs
src/api/streaming_data_service.rs
src/app/bmc_application.rs
src/app/firmware_runner.rs
src/firmware_update/mod.rs
src/firmware_update/rockusb_fwudate.rs
src/firmware_update/rpi_fwupdate.rs
src/firmware_update/transport.rs
src/hal/usbboot.rs
src/utils/mod.rs