u-boot-brain/include/asm-avr32
Haavard Skinnemoen 4d7d6936eb Introduce map_physmem() and unmap_physmem()
map_physmem() returns a virtual address which can be used to access a
given physical address without involving the cache. unmap_physmem()
should be called when the virtual address returned by map_physmem() is
no longer needed.

This patch adds a stub implementation which simply returns the
physical address cast to a uchar * for all architectures except AVR32,
which converts the physical address to an uncached virtual mapping.
unmap_physmem() is a no-op on all architectures, but if any
architecture needs to do such mappings through the TLB, this is the
hook where those TLB entries can be invalidated.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-13 13:15:16 +01:00
..
arch-at32ap7000 Merge with /home/wd/git/u-boot/custodian/u-boot-avr32; code cleanup. 2007-04-18 16:53:52 +02:00
addrspace.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
bitops.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
byteorder.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
cacheflush.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
dma-mapping.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
errno.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
global_data.h AVR32: Use initdram() instead of board_init_memories() 2007-04-14 15:20:27 +02:00
initcalls.h AVR32: Use initdram() instead of board_init_memories() 2007-04-14 15:20:27 +02:00
io.h Introduce map_physmem() and unmap_physmem() 2007-12-13 13:15:16 +01:00
posix_types.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
processor.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
ptrace.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
sdram.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
sections.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
setup.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
string.h AVR32: Change prototype of memset 2007-08-27 14:56:29 +02:00
sysreg.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
types.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
u-boot.h Add AVR32 architecture support 2006-10-24 14:21:16 +02:00