
From: Marek Vasut marex@denx.de Sent: Sunday, December 1, 2024 7:21 PM
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@dh-electronics.com
Cc: "NXP i.MX U-Boot Team" uboot-imx@nxp.com Cc: Marek Vasut marex@denx.de Cc: Fabio Estevam festevam@gmail.com Cc: Stefano Babic sbabic@denx.de Cc: Tom Rini trini@konsulko.com Cc: u-boot@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.
OK, I will change the order of the last two patches in V5.
Thanks and regards Christoph