diff --git a/arch/xtensa/src/esp32/esp32_psram.c b/arch/xtensa/src/esp32/esp32_psram.c index 3898a67c72..d3c3455fd8 100644 --- a/arch/xtensa/src/esp32/esp32_psram.c +++ b/arch/xtensa/src/esp32/esp32_psram.c @@ -594,7 +594,7 @@ static void IRAM_ATTR } } - /* use Dram1 to visit ext sram. */ + /* use DRAM1 to visit ext sram. */ modifyreg32(DPORT_PRO_CACHE_CTRL1_REG, DPORT_PRO_CACHE_MASK_DRAM1 | DPORT_PRO_CACHE_MASK_OPSDRAM, 0); @@ -602,7 +602,7 @@ static void IRAM_ATTR /* cache page mode : * 1 -->16k * 4 -->2k - * 0 -->32k,(accord with the settings in cache_sram_mmu_set) + * 0 -->32k, (accord with the settings in cache_sram_mmu_set) */ /* get into unknown exception if not comment */ @@ -615,8 +615,7 @@ static void IRAM_ATTR /* use DRAM1 to visit ext sram. */ modifyreg32(DPORT_APP_CACHE_CTRL1_REG, - DPORT_APP_CACHE_MASK_DRAM1 | - DPORT_APP_CACHE_MASK_OPSDRAM, 0); + DPORT_APP_CACHE_MASK_DRAM1 | DPORT_APP_CACHE_MASK_OPSDRAM, 0); /* cache page mode : * 1 -->16k