u-boot/arch/arm/include/asm/arch-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
..
boot0.h rockchip: boot0: update CONFIG_ROCKCHIP_SPL_RESERVE_IRAM for SPL only 2019-05-08 17:34:12 +08:00
boot_mode.h rockchip: add support for enter to bootrom download mode 2017-11-21 23:57:23 +01:00
bootrom.h rockchip: declear boot_devices in bootrom.h 2019-07-26 17:30:26 +08:00
clock.h ARM: rockchip: rv1108: Sync clock with vendor tree 2018-11-30 21:56:44 +01:00
cru_rk322x.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cru_rk3036.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cru_rk3128.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cru_rk3188.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cru_rk3288.h rockchip: rk3288: Add i2s pinctrl and clock support 2019-02-01 16:59:10 +01:00
cru_rk3328.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cru_rk3368.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cru_rk3399.h rockchip: rk3399: Initialize CPU B clock. 2018-11-30 21:56:45 +01:00
cru_rv1108.h ARM: rockchip: rv1108: Sync clock with vendor tree 2018-11-30 21:56:44 +01:00
ddr_rk3188.h rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
ddr_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr_rk3368.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
edp_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
f_rockusb.h usb: rockchip: implement K_FW_LBA_ERASE_10 command 2018-08-08 22:22:07 +02:00
gpio.h rockchip: Implement spl_gpio in the GPIO driver 2019-02-01 16:59:13 +01:00
grf_rk322x.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
grf_rk3036.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
grf_rk3128.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
grf_rk3188.h rockchip: rk3188: add support for usb-uart functionality 2018-11-30 19:03:16 +01:00
grf_rk3288.h rockchip: Move pull-up/down enum into a common file 2019-02-01 16:59:13 +01:00
grf_rk3328.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
grf_rk3368.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
grf_rk3399.h rockchip: pinctrl: rk3399: Add support for UART3. 2019-05-30 18:22:35 +08:00
grf_rv1108.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
hardware.h rockchip: arm: remove no use macro 2019-05-01 00:00:05 +02:00
i2c.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lvds_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc.h rockchip: rk3399: derive ethaddr from cpuid 2019-08-23 18:15:31 +08:00
periph.h rockchip: rk3288: Add i2s pinctrl and clock support 2019-02-01 16:59:10 +01:00
pmu_rk3188.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmu_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmu_rk3399.h arm: include: rockchip: Add rk3399 pmu file 2019-07-21 00:00:13 +08:00
pwm.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
qos_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rockchip_mipi_dsi.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sdram.h arm: include: rockchip: Move dramtypes to common header 2019-07-19 11:11:09 +08:00
sdram_common.h ram: rk3399: Add ddr version enc macro 2019-07-20 23:59:44 +08:00
sdram_rk322x.h arm: include: rockchip: Move dramtypes to common header 2019-07-19 11:11:09 +08:00
sdram_rk3036.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sdram_rk3328.h rockchip: ram: add full feature rk3328 DRAM driver 2019-08-05 21:14:45 +08:00
sdram_rk3399.h ram: rk3399: Add DdrMode 2019-07-20 23:59:44 +08:00
sys_proto.h rockchip: rk3399: move chromebook bob specific flow to its board file 2019-07-29 10:25:27 +08:00
timer.h rockchip: remove rk_timer 2019-07-20 23:59:44 +08:00
uart.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vop_rk3288.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00