[PATCH 3/5] boards: siemens: iot2050: Unify PG1 and PG2/M.2 configurations again

Simon Glass sjg at google.com
Fri Jul 28 03:52:02 CEST 2023


On Wed, 26 Jul 2023 at 22:35, Jan Kiszka <jan.kiszka at siemens.com> wrote:
>
> From: Jan Kiszka <jan.kiszka at siemens.com>
>
> This avoids having to maintain to defconfigs that are 99% equivalent.
> The approach is to use binman to generate two flash images,
> flash-pg1.bin and flash-pg2.bin. With the help of a template dtsi, we
> can avoid duplicating the common binman image definitions.
>
> Suggested-by: Andrew Davis <afd at ti.com>
> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
>
> ---
> CC: Andrew Davis <afd at ti.com>
> ---
>  arch/arm/dts/k3-am65-iot2050-boot-image.dtsi  | 155 +++++++++++-------
>  board/siemens/iot2050/Kconfig                 |  30 +---
>  board/siemens/iot2050/MAINTAINERS             |   3 +-
>  board/siemens/iot2050/board.c                 |  25 ++-
>  ...ot2050_pg1_defconfig => iot2050_defconfig} |   3 +-
>  configs/iot2050_pg2_defconfig                 | 151 -----------------
>  doc/board/siemens/iot2050.rst                 |  27 ++-
>  tools/iot2050-sign-fw.sh                      |   6 +-
>  8 files changed, 138 insertions(+), 262 deletions(-)
>  rename configs/{iot2050_pg1_defconfig => iot2050_defconfig} (97%)
>  delete mode 100644 configs/iot2050_pg2_defconfig

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


More information about the U-Boot mailing list