u-boot/arch/arm/mach-rockchip
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
..
rk322x rockchip: rk322x: move SoC setting into arch_cpu_init() 2019-07-29 10:26:41 +08:00
rk3036 rockchip: rk3036: move dram_init() into soc file 2019-07-29 10:26:41 +08:00
rk3128 rockchip: sdram_common: add common dram_init_banksize 2019-07-29 10:26:28 +08:00
rk3188 rockchip: rk3188: Move SoC one time setting into arch_cpu_init() 2019-07-29 10:26:41 +08:00
rk3288 rockchip: rk3288: remove fennec board support 2019-08-23 15:27:40 +08:00
rk3328 rockchip: Kconfig: enable TPL support for rk3328 2019-08-05 21:16:52 +08:00
rk3368 rockchip: sdram_common: add common dram_init_banksize 2019-07-29 10:26:28 +08:00
rk3399 rockchip: sdram_common: add common dram_init_banksize 2019-07-29 10:26:28 +08:00
rv1108 rockchip: rv1108: Migrate to use common board file 2019-07-29 10:27:48 +08:00
board.c rockchip: rk3399: derive ethaddr from cpuid 2019-08-23 18:15:31 +08:00
boot_mode.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
bootrom.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
fit_spl_optee.its rockchip: fit_spl_optee: rockchip: fix warning unit_address_vs_reg 2019-07-29 10:25:27 +08:00
Kconfig rockchip: Kconfig: enable TPL support for rk3328 2019-08-05 21:16:52 +08:00
make_fit_atf.py rockchip: make_fit_atf.py: Eliminate pyelftools dependency 2019-07-20 23:59:44 +08:00
Makefile rockchip: rk3399: derive ethaddr from cpuid 2019-08-23 18:15:31 +08:00
misc.c rockchip: rk3399: derive ethaddr from cpuid 2019-08-23 18:15:31 +08:00
rk3036-board-spl.c rockchip: rk3036: use ARM arch timer instead of rk_timer 2019-07-20 23:59:44 +08:00
sdram_common.c rockchip: sdram_common: add common dram_init_banksize 2019-07-29 10:26:28 +08:00
spl-boot-order.c rockchip: spl-boot-order: update dependency to OF_LIBFDT 2019-07-20 23:59:44 +08:00
spl.c rockchip: add common spl board file 2019-07-29 10:25:27 +08:00
tpl.c rockchip: TPL banner should depend on CONFIG_TPL_BANNER_PRINT 2019-07-22 21:52:59 +08:00
u-boot-tpl-v8.lds rockchip: add u-boot-tpl-v8.lds 2019-05-08 17:34:12 +08:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00