cfi_flash: Use map_physmem() and unmap_physmem()
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 13 Dec 2007 11:56:34 +0000 (12:56 +0100)
committerStefan Roese <sr@denx.de>
Thu, 13 Dec 2007 12:15:22 +0000 (13:15 +0100)
commit12d30aa79779c2aa7a998bbae4c075f822a53004
tree9d1e3d0ab9f6b51c74c72c80a7e8ebbd60ff5dda
parent4d7d6936eb29af7cca330937808312aa5f61454d
cfi_flash: Use map_physmem() and unmap_physmem()

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.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
drivers/mtd/cfi_flash.c