u-boot/arch
Rohan Garg 0482538499 rockchip: 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.

This is based off of Klaus Goger's work in 8adc9d

Signed-off-by: Rohan Garg <rohan.garg@collabora.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2019-08-23 18:15:31 +08:00
..
arc CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
arm rockchip: rk3399: derive ethaddr from cpuid 2019-08-23 18:15:31 +08:00
m68k env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
microblaze env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
mips env: Move env_init() to env.h 2019-08-11 16:43:41 -04:00
nds32 env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
nios2
powerpc Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell 2019-08-12 23:03:44 -04:00
riscv riscv: Access CSRs using CSR numbers 2019-08-15 13:42:28 +08:00
sandbox sysreset: switch to using SYSRESET_POWER_OFF for poweroff 2019-08-19 12:43:26 +08:00
sh sh: r0p7734: Remove the board 2019-06-14 12:42:06 +02:00
x86 x86: Remove x86 specific GD flags as they are not referenced at all 2019-08-18 21:54:10 +08:00
xtensa env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
.gitignore
Kconfig sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass 2019-08-19 12:43:26 +08:00