summaryrefslogtreecommitdiff
path: root/drivers/adc
diff options
context:
space:
mode:
authorKlaus Goger <klaus.goger@theobroma-systems.com>2017-05-05 19:21:40 +0200
committerSimon Glass <sjg@chromium.org>2017-06-07 07:29:18 -0600
commit8adc9d18a8344cba01bcaa13318ca8cf1afac312 (patch)
treecc91fba6245a3216cd7df720822214334afd5645 /drivers/adc
parent9415b9a7d85c6c77698a551c47765720c2caef91 (diff)
rockchip: board: puma_rk3399: derive ethaddr from cpuid
Generate a MAC address based on the cpuid available in the efuse block: Use the first 6 byte of the cpuid's SHA256 hash and set the locally administered bits. Also ensure that the multicast bit is cleared. The MAC address is only generated and set if there is no ethaddr present in the saved environment. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/adc')
0 files changed, 0 insertions, 0 deletions