summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorKlaus Goger <[email protected]>2017-05-05 19:21:40 +0200
committerSimon Glass <[email protected]>2017-06-07 07:29:18 -0600
commit8adc9d18a8344cba01bcaa13318ca8cf1afac312 (patch)
treecc91fba6245a3216cd7df720822214334afd5645 /scripts/checkpatch.pl
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 <[email protected]> Signed-off-by: Philipp Tomsich <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions