system/sleep: further fix spi flash/ram current leakage

This commit is contained in:
Jing Li
2022-07-21 19:14:26 +08:00
committed by Jiang Jiang Jian
parent 3c2c9206dd
commit 66395a5c00
15 changed files with 242 additions and 77 deletions
+12 -13
View File
@@ -1,16 +1,8 @@
// Copyright 2021 Espressif Systems (Shanghai) CO LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "esp_rom_efuse.h"
@@ -49,6 +41,13 @@ uint32_t esp_rom_efuse_get_flash_wp_gpio(void)
return 0;
}
#if SOC_SPI_MEM_SUPPORT_OPI_MODE
uint32_t esp_rom_efuse_get_opiconfig(void)
{
return 0;
}
#endif // SOC_SPI_MEM_SUPPORT_OPI_MODE
bool esp_rom_efuse_is_secure_boot_enabled(void)
{
return false;