arm:vm map free running clock uncached.

This commit is contained in:
Kees Jongenburger 2013-09-10 11:29:19 +02:00 committed by Gerrit Code Review
parent a88bc73e4c
commit b98441772c

View File

@ -741,11 +741,10 @@ int arch_phys_map(const int index,
*addr = AM335X_DMTIMER7_BASE; *addr = AM335X_DMTIMER7_BASE;
#endif #endif
*len = ARM_PAGE_SIZE; *len = ARM_PAGE_SIZE;
*flags = VMMF_USER; *flags = VMMF_UNCACHED | VMMF_USER;
return OK; return OK;
} }
/* if this all fails loop over the maps */ /* if this all fails loop over the maps */
/* list over the maps and index them */
phys_maps = kern_phys_map_head; phys_maps = kern_phys_map_head;
while(phys_maps != NULL){ while(phys_maps != NULL){
if(phys_maps->index == index){ if(phys_maps->index == index){