Searched hist:"8 adc9d18" (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/ |
H A D | puma-rk3399.c | 8adc9d18 Fri May 05 12:21:40 CDT 2017 Klaus Goger <klaus.goger@theobroma-systems.com> 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>
|