[PATCH v2 2/6] treewide: bcb: move ab_select command to bcb subcommands

Simon Glass sjg at chromium.org
Thu Sep 12 03:00:27 CEST 2024


On Wed, 11 Sept 2024 at 15:49, Dmitry Rokosov
<ddrokosov at salutedevices.com> wrote:
>
> To enhance code organization, it is beneficial to consolidate all A/B
> BCB management routines into a single super-command.
> The 'bcb' command is an excellent candidate for this purpose.
>
> This patch integrates the separate 'ab_select' command into the 'bcb'
> group as the 'ab_select' subcommand, maintaining the same parameter list
> for consistency.
>
> Signed-off-by: Dmitry Rokosov <ddrokosov at salutedevices.com>
> ---
>  MAINTAINERS                               |  1 -
>  cmd/Kconfig                               | 15 +----
>  cmd/Makefile                              |  1 -
>  cmd/ab_select.c                           | 66 --------------------
>  cmd/bcb.c                                 | 73 +++++++++++++++++++----
>  configs/am57xx_hs_evm_usb_defconfig       |  1 -
>  configs/khadas-vim3_android_ab_defconfig  |  1 -
>  configs/khadas-vim3l_android_ab_defconfig |  1 -
>  configs/sandbox64_defconfig               |  4 +-
>  configs/sandbox_defconfig                 |  4 +-
>  doc/android/ab.rst                        | 12 ++--
>  include/configs/khadas-vim3_android.h     |  2 +-
>  include/configs/khadas-vim3l_android.h    |  2 +-
>  include/configs/meson64_android.h         |  4 +-
>  include/configs/ti_omap5_common.h         |  4 +-
>  test/py/tests/test_android/test_ab.py     |  8 +--
>  16 files changed, 84 insertions(+), 115 deletions(-)
>  delete mode 100644 cmd/ab_select.c
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list