forked from espressif/esp-idf
change(soc): remove no longer used mmu.h on p4
This commit is contained in:
@@ -504,7 +504,7 @@ void IRAM_ATTR call_start_cpu0(void)
|
|||||||
esp_restart();
|
esp_restart();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE
|
#if ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE
|
||||||
#if CONFIG_APP_BUILD_TYPE_ELF_RAM
|
#if CONFIG_APP_BUILD_TYPE_ELF_RAM
|
||||||
// For RAM loadable ELF case, we don't need to reserve IROM/DROM as instructions and data
|
// For RAM loadable ELF case, we don't need to reserve IROM/DROM as instructions and data
|
||||||
// are all in internal RAM. If the RAM loadable ELF has any requirement to memory map the
|
// are all in internal RAM. If the RAM loadable ELF has any requirement to memory map the
|
||||||
@@ -521,7 +521,7 @@ void IRAM_ATTR call_start_cpu0(void)
|
|||||||
|
|
||||||
/* Configure the Cache MMU size for instruction and rodata in flash. */
|
/* Configure the Cache MMU size for instruction and rodata in flash. */
|
||||||
Cache_Set_IDROM_MMU_Size(cache_mmu_irom_size, CACHE_DROM_MMU_MAX_END - cache_mmu_irom_size);
|
Cache_Set_IDROM_MMU_Size(cache_mmu_irom_size, CACHE_DROM_MMU_MAX_END - cache_mmu_irom_size);
|
||||||
#endif // CONFIG_ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE
|
#endif // ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE
|
||||||
|
|
||||||
#if CONFIG_ESPTOOLPY_OCT_FLASH && !CONFIG_ESPTOOLPY_FLASH_MODE_AUTO_DETECT
|
#if CONFIG_ESPTOOLPY_OCT_FLASH && !CONFIG_ESPTOOLPY_FLASH_MODE_AUTO_DETECT
|
||||||
bool efuse_opflash_en = efuse_ll_get_flash_type();
|
bool efuse_opflash_en = efuse_ll_get_flash_type();
|
||||||
|
@@ -1,21 +0,0 @@
|
|||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
#include "soc/ext_mem_defs.h"
|
|
||||||
#include "soc/soc.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//To delete this file
|
|
||||||
//TODO: IDF-7686
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
@@ -12,10 +12,13 @@
|
|||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#include "esp_attr.h"
|
#include "esp_attr.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
#include "esp_rom_caps.h"
|
||||||
#include "hal/mmu_ll.h"
|
#include "hal/mmu_ll.h"
|
||||||
#include "hal/mmu_hal.h"
|
#include "hal/mmu_hal.h"
|
||||||
#include "hal/cache_hal.h"
|
#include "hal/cache_hal.h"
|
||||||
|
#if ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE
|
||||||
#include "soc/mmu.h"
|
#include "soc/mmu.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "esp_private/esp_mmu_map_private.h"
|
#include "esp_private/esp_mmu_map_private.h"
|
||||||
#include "esp_mmu_map.h"
|
#include "esp_mmu_map.h"
|
||||||
|
@@ -256,7 +256,6 @@ components/soc/esp32c6/include/soc/mmu.h
|
|||||||
components/soc/esp32h2/include/soc/ext_mem_defs.h
|
components/soc/esp32h2/include/soc/ext_mem_defs.h
|
||||||
components/soc/esp32h2/include/soc/mmu.h
|
components/soc/esp32h2/include/soc/mmu.h
|
||||||
components/soc/esp32p4/include/soc/ext_mem_defs.h
|
components/soc/esp32p4/include/soc/ext_mem_defs.h
|
||||||
components/soc/esp32p4/include/soc/mmu.h
|
|
||||||
components/spi_flash/include/esp_private/spi_flash_os.h
|
components/spi_flash/include/esp_private/spi_flash_os.h
|
||||||
|
|
||||||
### To be fixed: files which don't compile for esp32s2 target:
|
### To be fixed: files which don't compile for esp32s2 target:
|
||||||
|
Reference in New Issue
Block a user