xtensa:mpu:use WRITEBACK attribute for intsram & extsram

Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
zhuyanlin 2021-11-11 16:04:54 +08:00 committed by Xiang Xiao
parent fed7808d80
commit c6c534f27b

View File

@ -294,7 +294,7 @@ void mpu_configure_region(uintptr_t base, size_t size,
/* The configure the region */ \
mpu_configure_region(base, size,\
MPU_AR_RWX, \
MPU_MEM_WRITETHRU);\
MPU_MEM_WRITEBACK);\
} while (0)
/****************************************************************************
@ -311,7 +311,7 @@ void mpu_configure_region(uintptr_t base, size_t size,
/* The configure the region */ \
mpu_configure_region(base, size, \
MPU_AR_RWXrwx, \
MPU_MEM_WRITETHRU);\
MPU_MEM_WRITEBACK);\
} while (0)
/****************************************************************************
@ -328,7 +328,7 @@ void mpu_configure_region(uintptr_t base, size_t size,
/* The configure the region */ \
mpu_configure_region(base, size, \
MPU_AR_RWX, \
MPU_MEM_WRITETHRU);\
MPU_MEM_WRITEBACK);\
} while (0)
/****************************************************************************