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

Haavard Skinnemoen
2007-12-11T15:43:56Z

On Tue, 11 Dec 2007 09:36:50 -0600
Kumar Gala <galak@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