]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: bcb: extend BCB C API to allow read/write the fields
authorDmitrii Merkurev <dimorinny@google.com>
Fri, 10 Nov 2023 05:59:55 +0000 (05:59 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 23:59:58 +0000 (18:59 -0500)
commitdfeb4f0d79351dc0256b45c7a9f26c752c4e0e09
tree64b1b7600b2c053188b7aa7f9eea75547c78491a
parenta654369b4923781059032b7c7ba68f4c5195d93f
cmd: bcb: extend BCB C API to allow read/write the fields

Currently BCB C API only allows to modify 'command' BCB field.
Extend it so that we can also read and modify all the available
BCB fields (command, status, recovery, stage).

Co-developed-by: Cody Schuffelen <schuffelen@google.com>
Signed-off-by: Cody Schuffelen <schuffelen@google.com>
Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Cc: Sean Anderson <sean.anderson@seco.com>
Cc: Cody Schuffelen <schuffelen@google.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # on vim3
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
cmd/bcb.c
drivers/fastboot/fb_common.c
include/bcb.h