From 63edf76c36fd2fb8ebcbf0d90f5157453112f64f Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Wed, 16 Feb 2022 10:21:09 +0800 Subject: [PATCH] soc: remove sigma delta and DS caps from soc_caps.h These two peripherals do not exist on C2 --- .../esp32c2/include/soc/Kconfig.soc_caps.in | 20 ------------------- components/soc/esp32c2/include/soc/soc_caps.h | 16 --------------- 2 files changed, 36 deletions(-) diff --git a/components/soc/esp32c2/include/soc/Kconfig.soc_caps.in b/components/soc/esp32c2/include/soc/Kconfig.soc_caps.in index 9d84e886f0..751eed8737 100644 --- a/components/soc/esp32c2/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32c2/include/soc/Kconfig.soc_caps.in @@ -159,18 +159,6 @@ config SOC_CPU_WATCHPOINT_SIZE hex default 0x80000000 -config SOC_DS_SIGNATURE_MAX_BIT_LEN - int - default 3072 - -config SOC_DS_KEY_PARAM_MD_IV_LENGTH - int - default 16 - -config SOC_DS_KEY_CHECK_MAX_WAIT_US - int - default 1100 - config SOC_GDMA_GROUPS int default 1 @@ -327,14 +315,6 @@ config SOC_SHA_SUPPORT_SHA256 bool default y -config SOC_SIGMADELTA_NUM - int - default 1 - -config SOC_SIGMADELTA_CHANNEL_NUM - int - default 4 - config SOC_SPI_PERIPH_NUM int default 2 diff --git a/components/soc/esp32c2/include/soc/soc_caps.h b/components/soc/esp32c2/include/soc/soc_caps.h index 0d9c7562a3..6de911aa78 100644 --- a/components/soc/esp32c2/include/soc/soc_caps.h +++ b/components/soc/esp32c2/include/soc/soc_caps.h @@ -85,18 +85,6 @@ #define SOC_CPU_WATCHPOINT_SIZE 0x80000000 // bytes -/*-------------------------- DIGITAL SIGNATURE CAPS ----------------------------------------*/ -/** The maximum length of a Digital Signature in bits. */ -#define SOC_DS_SIGNATURE_MAX_BIT_LEN (3072) - -/** Initialization vector (IV) length for the RSA key parameter message digest (MD) in bytes. */ -#define SOC_DS_KEY_PARAM_MD_IV_LENGTH (16) - - -/** Maximum wait time for DS parameter decryption key. If overdue, then key error. - See TRM DS chapter for more details */ -#define SOC_DS_KEY_CHECK_MAX_WAIT_US (1100) - /*-------------------------- GDMA CAPS -------------------------------------*/ #define SOC_GDMA_GROUPS (1U) // Number of GDMA groups #define SOC_GDMA_PAIRS_PER_GROUP (1U) // Number of GDMA pairs in each group @@ -188,10 +176,6 @@ #define SOC_SHA_SUPPORT_SHA224 (1) #define SOC_SHA_SUPPORT_SHA256 (1) -/*-------------------------- SIGMA DELTA CAPS --------------------------------*/ -#define SOC_SIGMADELTA_NUM (1U) // 1 sigma-delta peripheral -#define SOC_SIGMADELTA_CHANNEL_NUM (4) // 4 channels - /*-------------------------- SPI CAPS ----------------------------------------*/ #define SOC_SPI_PERIPH_NUM 2 #define SOC_SPI_PERIPH_CS_NUM(i) 6