From d82023bf06ec36d58f8e70ff1146455dff26f29e Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Mon, 19 Nov 2018 11:39:41 +0800 Subject: [PATCH] soc: Add support efuse --- components/soc/CMakeLists.txt | 2 +- components/soc/esp32/include/soc/efuse_reg.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/soc/CMakeLists.txt b/components/soc/CMakeLists.txt index ec532ad872..551063b39c 100644 --- a/components/soc/CMakeLists.txt +++ b/components/soc/CMakeLists.txt @@ -13,6 +13,6 @@ list(APPEND COMPONENT_SRCS "src/memory_layout_utils.c") set(COMPONENT_ADD_LDFRAGMENTS linker.lf) -set(COMPONENT_REQUIRES) +set(COMPONENT_REQUIRES efuse) register_component() diff --git a/components/soc/esp32/include/soc/efuse_reg.h b/components/soc/esp32/include/soc/efuse_reg.h index ee404d22e6..e3f660496e 100644 --- a/components/soc/esp32/include/soc/efuse_reg.h +++ b/components/soc/esp32/include/soc/efuse_reg.h @@ -316,6 +316,7 @@ #define EFUSE_CODING_SCHEME_VAL_NONE 0x0 #define EFUSE_CODING_SCHEME_VAL_34 0x1 +#define EFUSE_CODING_SCHEME_VAL_REPEAT 0x2 #define EFUSE_BLK0_WDATA0_REG (DR_REG_EFUSE_BASE + 0x01c) /* EFUSE_FLASH_CRYPT_CNT : R/W ;bitpos:[27:20] ;default: 8'b0 ; */ -- 2.40.0