fastboot: implement "getvar all"

This commit implements "fastboot getvar all" listing
by iterating the existing dispatchers that don't require
parameters (as we pass NULL), uses fastboot multiresponse.

Signed-off-by: Ion Agorria <ion@agorria.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20240105072212.6615-3-clamor95@gmail.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
This commit is contained in:
Ion Agorria
2024-01-05 09:22:07 +02:00
committed by Mattijs Korpershoek
parent 85fcd69dc2
commit 475aa9aabe
4 changed files with 77 additions and 13 deletions

View File

@@ -173,6 +173,9 @@ The various currently defined names are::
bootloader requiring a signature before
it will install or boot images.
all Provides all info from commands above as
they were called one by one
Names starting with a lowercase character are reserved by this
specification. OEM-specific names should not start with lowercase
characters.