[PATCH v1 0/8] board: toradex: Refactor config block handling and cleanup

Marcel Ziswiler marcel.ziswiler at toradex.com
Fri Jul 22 10:35:23 CEST 2022


On Thu, 2022-07-21 at 15:17 +0200, Francesco Dolcini wrote:
> Hi all,
> this series introduces some cleanup in the board/toradex common code, mainly
> around the config block handling and related informations.
> 
> The main change is a major rework of the interactive block creation function
> (used to re-create production data information, e.g. serial# and SKU number) to
> select the product ID from a short list instead of a long y/n question/answer
> list that was deciding the exact product ID depending on the answer. This code
> was getting too complex and not possible to maintain anymore.
> 
> This change is build on top of `toradex: tdx-cfg-block: add 0068 i.mx 8m mini
> sku` from Philippe that is not yet applied to u-boot/master, for simplicity it
> is now integrated into this series.
> 
> All the other changes are small cleanups on the board info prints (product id
> is now printed), the product names are now the official Toradex products names
> and a couple of other trivial improvements I did while working on this.
> 
> 
> Francesco Dolcini (7):
>   toradex: common: Remove stale comments about modules availability
>   toradex: common: Use ARRAY_SIZE macro
>   toradex: tdx-cfg-block: Cleanup interactive cfg block creation
>   toradex: common: Remove stale function declaration
>   toradex: common: Remove #ifdef usage for 2nd ethaddr
>   toradex: tdx-cfg-block: Use official SKU names
>   toradex: common: Improve product/serial print during boot
> 
> Philippe Schenker (1):
>   toradex: tdx-cfg-block: add 0068 i.mx 8m mini sku

Entire series:

Acked-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>

>  board/toradex/common/tdx-cfg-block.c        | 350 +++++---------------
>  board/toradex/common/tdx-cfg-block.h        |  12 +-
>  board/toradex/common/tdx-common.c           |  14 +-
>  board/toradex/common/tdx-common.h           |   4 -
>  board/toradex/verdin-imx8mm/verdin-imx8mm.c |   3 +-
>  5 files changed, 105 insertions(+), 278 deletions(-)


More information about the U-Boot mailing list