]> git.sur5r.net Git - u-boot/blobdiff - include/asm-mips/io.h
change mvBL-M7 default env and move to vendor subdir
[u-boot] / include / asm-mips / io.h
index 7137072ce459f76e29ca579ada27c0fbe5bd775b..3a0f33f204d11c4ff18c180d128e9ad062624d58 100644 (file)
@@ -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)