change: remove has clock bug macro for esp32h2

This commit is contained in:
cjin 2023-09-21 11:31:53 +08:00
parent 7b176501e3
commit 40996f804a
3 changed files with 4 additions and 9 deletions

View File

@ -22,11 +22,11 @@ static uint8_t s_btbb_access_ref = 0;
#include "btbb_retention_reg.h"
static const char* TAG = "btbb_init";
// #if SOC_PM_RETENTION_HAS_CLOCK_BUG
// #define BTBB_LINK_OWNER ENTRY(3)
// #else
#if SOC_PM_RETENTION_HAS_CLOCK_BUG
#define BTBB_LINK_OWNER ENTRY(3)
#else
#define BTBB_LINK_OWNER ENTRY(0) | ENTRY(2)
// #endif // SOC_PM_RETENTION_HAS_CLOCK_BUG
#endif // SOC_PM_RETENTION_HAS_CLOCK_BUG
static esp_err_t btbb_sleep_retention_init(void)
{

View File

@ -1183,10 +1183,6 @@ config SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG
bool
default y
config SOC_PM_RETENTION_HAS_CLOCK_BUG
bool
default y
config SOC_CLK_RC_FAST_SUPPORT_CALIBRATION
bool
default y

View File

@ -487,7 +487,6 @@
#define SOC_PM_MODEM_RETENTION_BY_REGDMA (1)
#define SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY (1) /*!<Supports CRC only the stub code in RTC memory */
#define SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG (1)
#define SOC_PM_RETENTION_HAS_CLOCK_BUG (1)
/*-------------------------- CLOCK SUBSYSTEM CAPS ----------------------------------------*/
#define SOC_CLK_RC_FAST_SUPPORT_CALIBRATION (1)