[PATCH] ARM: mx6: Add function to read UNIQUE_ID

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Feb 4 22:46:00 CET 2021


On 2/4/21 10:09 PM, Tom Rini wrote:
> On Thu, Feb 04, 2021 at 03:56:23PM -0500, Sean Anderson wrote:
>>
>>
>> On 2/4/21 3:52 PM, Heinrich Schuchardt wrote:
>>> On 2/4/21 9:29 PM, Sean Anderson wrote:
>>>> This is almost identical to the imx7 version, except that the register
>>>> names are different.
>>>>
>>>> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
>>>
>>> Hello Sean,
>>>
>>> I tried to understand where this serial number is ending up.
>
> See common/fdt_support.c and fdt_root().  That's the common use and way
> it's populated and passed on.

This is where the environment variable serial# ends up. But
get_board_serial() which Sean is implementing does not populate serial#.
That is why I asked.

Best regards

Heinrich


More information about the U-Boot mailing list