diff options
-rw-r--r-- | arch/arm/mm/mm-armv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mm/mm-armv.c b/arch/arm/mm/mm-armv.c index b19f00e99a21..e33fe4229d05 100644 --- a/arch/arm/mm/mm-armv.c +++ b/arch/arm/mm/mm-armv.c | |||
@@ -425,6 +425,9 @@ static void __init build_mem_type_table(void) | |||
425 | mem_types[MT_ROM].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; | 425 | mem_types[MT_ROM].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; |
426 | mem_types[MT_MINICLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; | 426 | mem_types[MT_MINICLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; |
427 | mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; | 427 | mem_types[MT_CACHECLEAN].prot_sect |= PMD_SECT_APX|PMD_SECT_AP_WRITE; |
428 | |||
429 | mem_types[MT_DEVICE].prot_pte |= L_PTE_BUFFERABLE; | ||
430 | mem_types[MT_DEVICE].prot_sect |= PMD_SECT_BUFFERED; | ||
428 | } | 431 | } |
429 | 432 | ||
430 | cp = &cache_policies[cachepolicy]; | 433 | cp = &cache_policies[cachepolicy]; |