Quellcode durchsuchen

bootloader: removed unavailable rtc features

Xiao Xufeng vor 3 Jahren
Ursprung
Commit
8a926c5b37

+ 2 - 10
components/bootloader_support/src/esp32/bootloader_soc.c

@@ -3,18 +3,10 @@
  *
  * SPDX-License-Identifier: Apache-2.0
  */
-#include <stdbool.h>
-
-void bootloader_ana_super_wdt_reset_config(bool enable)
-{
-    (void)enable;
-}
 
-void bootloader_ana_bod_reset_config(bool enable)
-{
-    (void)enable;
-}
+#include <stdbool.h>
 
+//Not supported but common bootloader calls the function. Do nothing
 void bootloader_ana_clock_glitch_reset_config(bool enable)
 {
     (void)enable;

+ 2 - 10
components/bootloader_support/src/esp32s2/bootloader_soc.c

@@ -3,18 +3,10 @@
  *
  * SPDX-License-Identifier: Apache-2.0
  */
-#include <stdbool.h>
-
-void bootloader_ana_super_wdt_reset_config(bool enable)
-{
-    (void)enable;
-}
 
-void bootloader_ana_bod_reset_config(bool enable)
-{
-    (void)enable;
-}
+#include <stdbool.h>
 
+//Not supported but common bootloader calls the function. Do nothing
 void bootloader_ana_clock_glitch_reset_config(bool enable)
 {
     (void)enable;