summaryrefslogtreecommitdiff
path: root/include/asm-mips/io.h
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2008-06-05 22:29:00 +0900
committerShinya Kuribayashi <shinya.kuribayashi@necel.com>2008-06-05 22:29:00 +0900
commit7daf2ebe9196dd67131a06d85049c3a8a08ca413 (patch)
tree971e897a7f47762e1d4029780ebd059330d94fc2 /include/asm-mips/io.h
parentf0d5a6f060d00358b85c62a921a423ea8df71184 (diff)
downloadu-boot-imx-7daf2ebe9196dd67131a06d85049c3a8a08ca413.zip
u-boot-imx-7daf2ebe9196dd67131a06d85049c3a8a08ca413.tar.gz
u-boot-imx-7daf2ebe9196dd67131a06d85049c3a8a08ca413.tar.bz2
[MIPS] Update <asm/addrspace.h> header
- Fix traditional KSEG names - Replace PHYSADDR with CPHYSADDR Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'include/asm-mips/io.h')
-rw-r--r--include/asm-mips/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h
index 7137072..3a0f33f 100644
--- a/include/asm-mips/io.h
+++ b/include/asm-mips/io.h
@@ -120,7 +120,7 @@ static inline void set_io_port_base(unsigned long base)
*/
extern inline unsigned long virt_to_phys(volatile void * address)
{
- return PHYSADDR(address);
+ return CPHYSADDR(address);
}
extern inline void * phys_to_virt(unsigned long address)
@@ -133,7 +133,7 @@ extern inline void * phys_to_virt(unsigned long address)
*/
extern inline unsigned long virt_to_bus(volatile void * address)
{
- return PHYSADDR(address);
+ return CPHYSADDR(address);
}
extern inline void * bus_to_virt(unsigned long address)