[U-Boot-Users] [PATCH 6/6] cfi_flash: Use map_physmem() and unmap_physmem()

Haavard Skinnemoen hskinnemoen at atmel.com
Tue Dec 11 16:43:56 CET 2007


On Tue, 11 Dec 2007 09:36:50 -0600
Kumar Gala <galak at kernel.crashing.org> wrote:

> On Dec 11, 2007, at 9:28 AM, Haavard Skinnemoen wrote:
> 
> > Use map_physmem() and unmap_physmem() to convert from physical to
> > virtual addresses. This gives the arch a chance to provide an uncached
> > mapping for flash accesses.  
> 
> Just to clarify, would we have two mappings? one cacheable for normal  
> read operations and one non-cacheable for control access?

Yeah, that would probably make sense. Should we have different
functions for them or add a "flags" parameter (which could also be used
to turn on more "advanced" options like write-combining)?

Haavard




More information about the U-Boot mailing list