Skip to content

Commit b6537f2

Browse files
committed
Fix CI.
1 parent 45822f4 commit b6537f2

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

hw/bsp/imxrt/family.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#endif
4848

4949
/* --- Note about USB buffer RAM ---
50-
For M7 core it's recommanded to put USB buffer in DTCM for better performance (flexspi_nor linker default)
50+
For M7 core it's recommended to put USB buffer in DTCM for better performance (flexspi_nor linker default)
5151
Otherwise you have to put the buffer in a non-cacheable section by configurate MPU manually or using BOARD_ConfigMPU():
5252
- Define CFG_TUSB_MEM_SECTION=__attribute__((section("NonCacheable")))
5353
- (IAR only) Change __NCACHE_REGION_SIZE in linker script to cover the size of non-cacheable section, multiple of 2^N
@@ -266,7 +266,7 @@ static void BOARD_ConfigMPU(void) {
266266
MPU->RBAR = ARM_MPU_RBAR(6, 0x20200000U);
267267
MPU->RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 0, 0, 1, 0, 0, ARM_MPU_REGION_SIZE_1MB);
268268

269-
/* Region 7 setting: Memory with Normal type, not shareable, write trough */
269+
/* Region 7 setting: Memory with Normal type, not shareable, write through */
270270
MPU->RBAR = ARM_MPU_RBAR(7, 0x20300000U);
271271
MPU->RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 0, 0, 1, 0, 0, ARM_MPU_REGION_SIZE_512KB);
272272
#else
@@ -287,7 +287,7 @@ static void BOARD_ConfigMPU(void) {
287287

288288
#ifdef USE_SDRAM
289289
#if defined(CACHE_MODE_WRITE_THROUGH) && CACHE_MODE_WRITE_THROUGH
290-
/* Region 9 setting: Memory with Normal type, not shareable, write trough */
290+
/* Region 9 setting: Memory with Normal type, not shareable, write through */
291291
MPU->RBAR = ARM_MPU_RBAR(9, 0x80000000U);
292292
MPU->RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 0, 0, 1, 0, 0, ARM_MPU_REGION_SIZE_64MB);
293293
#else
@@ -418,7 +418,7 @@ void BOARD_ConfigMPU(void) {
418418
ARM_MPU_Disable();
419419

420420
#if defined(CACHE_MODE_WRITE_THROUGH) && CACHE_MODE_WRITE_THROUGH
421-
/* Region 0 setting: Memory with Normal type, not shareable, write trough */
421+
/* Region 0 setting: Memory with Normal type, not shareable, write through */
422422
MPU->RBAR = ARM_MPU_RBAR(0, 0x20200000U);
423423
MPU->RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 0, 0, 1, 0, 0, ARM_MPU_REGION_SIZE_1MB);
424424

src/portable/chipidea/ci_hs/hcd_ci_hs.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,6 @@
4242

4343
#include "ci_hs_imxrt.h"
4444

45-
bool hcd_dcache_clean(void const* addr, uint32_t data_size) {
46-
return imxrt_dcache_clean(addr, data_size);
47-
}
48-
49-
bool hcd_dcache_invalidate(void const* addr, uint32_t data_size) {
50-
return imxrt_dcache_invalidate(addr, data_size);
51-
}
52-
53-
bool hcd_dcache_clean_invalidate(void const* addr, uint32_t data_size) {
54-
return imxrt_dcache_clean_invalidate(addr, data_size);
55-
}
56-
5745
#elif TU_CHECK_MCU(OPT_MCU_LPC18XX, OPT_MCU_LPC43XX)
5846

5947
#include "ci_hs_lpc18_43.h"

0 commit comments

Comments
 (0)