[PATCH v3] toradex: tdx-cfg-block: rework modules pid4 handling

Francesco Dolcini francesco at dolcini.it
Tue Nov 26 11:50:58 CET 2024


+Fabio

On Mon, Nov 25, 2024 at 05:49:10PM +0000, Vitor Soares wrote:
> From: Vitor Soares <vitor.soares at toradex.com>
> 
> The module pid4 currently corresponds to the index of the toradex_module
> array. If a new pid4 is introduced that does not follow the sequence of
> the previous entries, it will create a gap in the array.
> 
> To address this, embed pid4 within the toradex_som structure and
> implement a function to retrieve the index corresponding to pid4.
> 
> Signed-off-by: Vitor Soares <vitor.soares at toradex.com>

Acked-by: Francesco Dolcini <francesco.dolcini at toradex.com>

Francesco


More information about the U-Boot mailing list