]> git.dujemihanovic.xyz Git - u-boot.git/commit
smegw01: Read the second MAC address
authorFabio Estevam <festevam@denx.de>
Wed, 26 Apr 2023 16:04:58 +0000 (13:04 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 2 May 2023 08:57:32 +0000 (10:57 +0200)
commitea99d227f95f6849d5523e8d327b1805bb828254
tree74d8d39456f3dc884aa64e056b8623a036d4e0f5
parenta1bc4f1937a04e70f45f3ac87aee0f168b5e7bef
smegw01: Read the second MAC address

Currently, only the first MAC address is read from the fuses.

The second MAC address is not read and Linux assigns a random one.

To prevent this behavior, read the second MAC address from the fuses
and store it into the eth1addr environment variable so that it
can be passed to Linux.

Signed-off-by: Fabio Estevam <festevam@denx.de>
board/storopack/smegw01/smegw01.c