aboutsummaryrefslogtreecommitdiff
path: root/include/asm-blackfin/io.h
AgeCommit message (Collapse)AuthorFilesLines
2010-04-13Move architecture-specific includes to arch/$ARCH/include/asmPeter Tyser1-227/+0
This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-01-17Blackfin: pull io funcs from linuxMike Frysinger1-43/+116
Some common code uses more of the io.h funcs than we currently provide, so pull in all of the ones from the linux kernel. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: section off the CF/IDE io.h hacksMike Frysinger1-12/+15
These need to be rethought, but until that happens, isolate the hack so that we can extend the common code without breaking things. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-17Blackfin: drop unused funcs from io.hMike Frysinger1-38/+0
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-12-15Introduce virt_to_phys()Kumar Gala1-0/+5
virt_to_phys() returns the physical address given a virtual. In most cases this will be just the input value as the vast majority of systems run in a 1:1 mode. However in systems that are not running this way it should report the physical address or ~0 if no mapping exists for the given virtual address. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-13Introduce phys_size_t and move phys_addr_t into asm/types.hKumar Gala1-2/+0
Also add CONFIG_PHYS_64BIT on powerpc to deal with 32-bit ppc's that have larger physical addresses like 44x, 85xx, and 86xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-02-04punt Blackfin VDSP headers and import sanitized/auto-generated onesMike Frysinger1-35/+64
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-02-04add missing __raw versions of Blackfin read/write io functionsMike Frysinger1-0/+6
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2007-12-13Introduce map_physmem() and unmap_physmem()Haavard Skinnemoen1-0/+26
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-04-05[Blackfin][PATCH] Fix copyright and update licenseAubrey Li1-3/+3
2007-04-05[Blackfin][PATCH] call real the system synchronize instructionAubrey Li1-0/+1
2007-03-09[Blackfin]PATCH-1/2]: Remove obsolete blackfin port and add bf533 platform ↵Aubrey.Li1-9/+6
support
2007-02-21[PATCH v3] Add sync to ensure flash_write_cmd is fully finishedHaiying Wang1-0/+5
Some CPUs like PPC, BLACKFIN need sync() to ensure cfi flash write command is fully finished. The sync() is defined in each CPU's io.h file. For those CPUs which do not need sync for now, a dummy sync() is defined in their io.h as well. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2006-03-12Add missing Blackfin files.Wolfgang Denk1-0/+122