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

Christoph Niedermaier cniedermaier at dh-electronics.com
Mon Dec 2 18:19:25 CET 2024


From: Marek Vasut <marex at 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 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.

OK, I will change the order of the last two patches in V5.

Thanks and regards
Christoph


More information about the U-Boot mailing list