summaryrefslogtreecommitdiffstats
path: root/lib/lz4
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-04-14 16:48:14 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-14 14:04:36 -0700
commit652d3be21dc838f526c01837cbc837894f9c7bc1 (patch)
tree2742e439bbdff1657270ef5dc1d5656980205e1a /lib/lz4
parentace8d281aa71ef785d7b58e9c6b0fcc198103606 (diff)
downloadlinux-652d3be21dc838f526c01837cbc837894f9c7bc1.tar.bz2
net: enetc: fetch MAC address from device tree
Normally, the bootloader will already initialize the MAC address registers of the ENETC and the driver will just use them or generate a random one, if it is not initialized. Add a new way to provide the MAC address: via device tree. Besides the usual 'mac-address' property, there is also the possibility to fetch it via a NVMEM provider. The sl28 board stores the MAC address in the SPI NOR flash OTP region. Having this will allow linux to fetch the MAC address from there without being dependent on the bootloader. No in-tree boards have the device tree properties set, thus for these, this is a no-op. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/lz4')
0 files changed, 0 insertions, 0 deletions