[PATCH V4 3/4] board: dhelectronics: Sync env variable dh_som_serial_number with SN

Marek Vasut marex at denx.de
Sun Dec 1 19:20:31 CET 2024


On 11/28/24 3:20 PM, Christoph Niedermaier wrote:
> The env variable "SN" is used to store the serial number on DH electronics
> SoMs. New SoMs will use the variable "dh_som_serial_number". To ensure
> compatibility, these env variables are synchronized. This is achieved
> using callback functions.
> 
> Signed-off-by: Christoph Niedermaier <cniedermaier at dh-electronics.com>
> ---
> Cc: "NXP i.MX U-Boot Team" <uboot-imx at nxp.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: u-boot at dh-electronics.com
> ---
> V3: - Add this patch to the series
> V4: - Remove the recursion prevention from the callback functions
>        => The recursion prevention will be generally solved in the
>           callback function call in a separate patch
This has to be the last patch because it only works correctly with the 
last patch applied. If the ordering is not correct, git bisect will not 
work correctly either.


More information about the U-Boot mailing list