]> Git Repo - J-u-boot.git/blobdiff - include/asm-sh/io.h
85xx: Introduce CONFIG_SYS_PCI*_MEM_VIRT for FSL boards
[J-u-boot.git] / include / asm-sh / io.h
index adc3f81ed677f097417d3e4c2e9b599040f3d753..ca598a60f384b9928288a43441593cba7784c60d 100644 (file)
@@ -261,5 +261,10 @@ static inline void unmap_physmem(void *vaddr, unsigned long flags)
 
 }
 
+static inline phys_addr_t virt_to_phys(void * vaddr)
+{
+       return (phys_addr_t)(vaddr);
+}
+
 #endif /* __KERNEL__ */
 #endif /* __ASM_SH_IO_H */
This page took 0.026543 seconds and 4 git commands to generate.