1/*
2 * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include "sdkconfig.h"
8
9/* CPU instruction prefetch padding size for flash mmap scenario */
10_esp_flash_mmap_prefetch_pad_size = 16;
11
12/* CPU instruction prefetch padding size for memory protection scenario */
13#ifdef CONFIG_ESP_SYSTEM_MEMPROT_CPU_PREFETCH_PAD_SIZE
14_esp_memprot_prefetch_pad_size = CONFIG_ESP_SYSTEM_MEMPROT_CPU_PREFETCH_PAD_SIZE;
15#else
16_esp_memprot_prefetch_pad_size = 0;
17#endif
18
19/* Memory alignment size for PMS */
20#ifdef CONFIG_ESP_SYSTEM_MEMPROT_MEM_ALIGN_SIZE
21_esp_memprot_align_size = CONFIG_ESP_SYSTEM_MEMPROT_MEM_ALIGN_SIZE;
22#else
23_esp_memprot_align_size = 0;
24#endif
25