commit | 9ed319e411915e882bb4ed99be3ae78667a70022 | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <rafal@milecki.pl> | Thu Dec 23 13:27:47 2021 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 29 11:32:58 2021 +0000 |
tree | 86d3dd383f24874ffec5736536e8f8b6c0d58f63 | |
parent | 271d3be1c3b6b0be083a99254a0ecac41789929b [diff] |
of: net: support NVMEM cells with MAC in text format Some NVMEM devices have text based cells. In such cases MAC is stored in a XX:XX:XX:XX:XX:XX format. Use mac_pton() to parse such data and support those NVMEM cells. This is required to support e.g. a very popular U-Boot and its environment variables. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: David S. Miller <davem@davemloft.net>