summaryrefslogtreecommitdiff
path: root/include/asm-sh/io.h
Commit message (Collapse)AuthorAgeLines
* Introduce virt_to_phys()Kumar Gala2008-12-15-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>
* sh: Fix compile warningNobuhiro Iwamatsu2008-09-19-50/+59
| | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* Introduce phys_size_t and move phys_addr_t into asm/types.hKumar Gala2008-04-13-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>
* sh: Add support of map_physmem() and unmap_physmem() to SuperHNobuhiro Iwamatsu2008-01-15-0/+27
| | | | | | | This patch add the support of map_physmem() and unmap_physmem() used with Common Flash Interface(CFI) driver. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* sh: Update core code of SuperH.Nobuhiro Iwamatsu2007-09-23-82/+21
| | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* sh: First support code of SuperH.Nobuhiro Iwamatsu2007-05-13-0/+292
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>