mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 06:57:50 +00:00
u-boot: rockchip: fix mac address generation from efuse for RK3288
For RK3288 CONFIG_SHA256 has to be selected seperatly in vendor u-boot for the mac-address calculation to work - otherwise it will silently fail.
This commit is contained in:
parent
4935aaecf3
commit
ba907f5d28
@ -1,13 +1,13 @@
|
||||
From 050dd4323a9fe8515259fe855c31da6d1ad459e2 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Jonas Karlman <jonas@kwiboo.se>
|
||||
Date: Sun, 5 Aug 2018 20:58:54 +0200
|
||||
Subject: [PATCH] rockchip: rk3288: get serial and ethaddr from efuse
|
||||
|
||||
---
|
||||
arch/arm/dts/rk3288.dtsi | 5 ++---
|
||||
configs/miqi-rk3288_defconfig | 2 ++
|
||||
configs/tinker-rk3288_defconfig | 1 +
|
||||
3 files changed, 5 insertions(+), 3 deletions(-)
|
||||
configs/miqi-rk3288_defconfig | 3 +++
|
||||
configs/tinker-rk3288_defconfig | 2 ++
|
||||
3 files changed, 7 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi
|
||||
index 20adb0dece..8b085ee6dc 100644
|
||||
@ -26,27 +26,29 @@ index 20adb0dece..8b085ee6dc 100644
|
||||
|
||||
gic: interrupt-controller@ffc01000 {
|
||||
diff --git a/configs/miqi-rk3288_defconfig b/configs/miqi-rk3288_defconfig
|
||||
index 09d5979dff..ffbe701cfd 100644
|
||||
index 09d5979dff..77d8f7dffc 100644
|
||||
--- a/configs/miqi-rk3288_defconfig
|
||||
+++ b/configs/miqi-rk3288_defconfig
|
||||
@@ -48,6 +48,8 @@ CONFIG_ROCKCHIP_GPIO=y
|
||||
@@ -48,6 +48,9 @@ CONFIG_ROCKCHIP_GPIO=y
|
||||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_DM_KEY=y
|
||||
CONFIG_ADC_KEY=y
|
||||
+CONFIG_MISC=y
|
||||
+CONFIG_ROCKCHIP_EFUSE=y
|
||||
+CONFIG_SHA256=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_ROCKCHIP=y
|
||||
CONFIG_DM_ETH=y
|
||||
diff --git a/configs/tinker-rk3288_defconfig b/configs/tinker-rk3288_defconfig
|
||||
index 3abf7c1088..0afc0a35e1 100644
|
||||
index 3abf7c1088..52196194c9 100644
|
||||
--- a/configs/tinker-rk3288_defconfig
|
||||
+++ b/configs/tinker-rk3288_defconfig
|
||||
@@ -46,6 +46,7 @@ CONFIG_SPL_CLK=y
|
||||
@@ -46,6 +46,8 @@ CONFIG_SPL_CLK=y
|
||||
CONFIG_ROCKCHIP_GPIO=y
|
||||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_MISC=y
|
||||
+CONFIG_ROCKCHIP_EFUSE=y
|
||||
+CONFIG_SHA256=y
|
||||
CONFIG_I2C_EEPROM=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_ROCKCHIP=y
|
||||
|
Loading…
x
Reference in New Issue
Block a user