
The motivation behind the 'bcb' command is largely explained in the second patch. The other patch performs polishing of https://patchwork.ozlabs.org/patch/1099689/, which is a hard prerequisite for this series.
v2: - [Heinrich Schuchardt] Implement sub-commands via U_BOOT_CMD_MKENT. - Polished the code. Ensured no warnings returned by sparse, smatch, `cppcheck --force --enable=all --inconclusive`, make W=1. - Tested on R-Car-H3-ES20 ULCB-KF.
v1: - https://patchwork.ozlabs.org/cover/1080393/
Eugeniu Rosca (2): include: android_bootloader_message.h: Minimize the diff to AOSP cmd: Add 'bcb' command to read/modify/write BCB fields
cmd/Kconfig | 17 ++ cmd/Makefile | 1 + cmd/bcb.c | 330 +++++++++++++++++++++++++++ include/android_bootloader_message.h | 126 +++++----- 4 files changed, 416 insertions(+), 58 deletions(-) create mode 100644 cmd/bcb.c