[U-Boot] [PATCH 2/3] rockchip: firefly-rk3399: enable EFUSE driver
Kever Yang
kever.yang at rock-chips.com
Thu Jul 27 12:38:51 UTC 2017
Enable the EFUSE driver for get the cpuid and serial.
Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---
configs/firefly-rk3399_defconfig | 2 ++
include/configs/evb_rk3399.h | 3 +++
2 files changed, 5 insertions(+)
diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig
index 0a4d005..90a6172 100644
--- a/configs/firefly-rk3399_defconfig
+++ b/configs/firefly-rk3399_defconfig
@@ -31,6 +31,8 @@ CONFIG_CLK=y
CONFIG_SPL_CLK=y
CONFIG_ROCKCHIP_GPIO=y
CONFIG_SYS_I2C_ROCKCHIP=y
+CONFIG_MISC=y
+CONFIG_ROCKCHIP_EFUSE=y
CONFIG_MMC_DW=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_ROCKCHIP=y
diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h
index b9fd5b4..6140b43 100644
--- a/include/configs/evb_rk3399.h
+++ b/include/configs/evb_rk3399.h
@@ -19,5 +19,8 @@
#define CONFIG_ENV_OFFSET (96 * 1024)
#define SDRAM_BANK_SIZE (2UL << 30)
+#define CONFIG_MISC_INIT_R
+#define CONFIG_SERIAL_TAG
+#define CONFIG_ENV_OVERWRITE
#endif
--
1.9.1
More information about the U-Boot
mailing list