From 113e4dc5201909fdfd93daf7440a39b866d1920d Mon Sep 17 00:00:00 2001 From: Xiao Xufeng Date: Tue, 7 Mar 2023 11:12:10 +0800 Subject: [PATCH] bootloader: removed unavailable rtc features --- .../bootloader_support/src/esp32/bootloader_soc.c | 12 ++---------- .../bootloader_support/src/esp32s2/bootloader_soc.c | 12 ++---------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/components/bootloader_support/src/esp32/bootloader_soc.c b/components/bootloader_support/src/esp32/bootloader_soc.c index 242a575508..31525ef277 100644 --- a/components/bootloader_support/src/esp32/bootloader_soc.c +++ b/components/bootloader_support/src/esp32/bootloader_soc.c @@ -3,18 +3,10 @@ * * SPDX-License-Identifier: Apache-2.0 */ + #include -void bootloader_ana_super_wdt_reset_config(bool enable) -{ - (void)enable; -} - -void bootloader_ana_bod_reset_config(bool enable) -{ - (void)enable; -} - +//Not supported but common bootloader calls the function. Do nothing void bootloader_ana_clock_glitch_reset_config(bool enable) { (void)enable; diff --git a/components/bootloader_support/src/esp32s2/bootloader_soc.c b/components/bootloader_support/src/esp32s2/bootloader_soc.c index 242a575508..31525ef277 100644 --- a/components/bootloader_support/src/esp32s2/bootloader_soc.c +++ b/components/bootloader_support/src/esp32s2/bootloader_soc.c @@ -3,18 +3,10 @@ * * SPDX-License-Identifier: Apache-2.0 */ + #include -void bootloader_ana_super_wdt_reset_config(bool enable) -{ - (void)enable; -} - -void bootloader_ana_bod_reset_config(bool enable) -{ - (void)enable; -} - +//Not supported but common bootloader calls the function. Do nothing void bootloader_ana_clock_glitch_reset_config(bool enable) { (void)enable;