TI DaVinci: DM646x: Initial Support for DM646x SOC
[oweals/u-boot.git] / include / asm-blackfin / io.h
index da58914987c2241a369752da3fc5c35e72489db7..68064949834636a82e505f711bc92bd51305210a 100644 (file)
@@ -64,6 +64,11 @@ 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);
+}
+
 /*
  * These are for ISA/PCI shared memory _only_ and should never be used
  * on any other type of memory, including Zorro memory. They are meant to