X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fasm-blackfin%2Fio.h;h=68064949834636a82e505f711bc92bd51305210a;hb=e08dbb4f203b7fd4311378c894c9924941666002;hp=da58914987c2241a369752da3fc5c35e72489db7;hpb=e99ccb488181d012248c6be30b2093e950319fc5;p=oweals%2Fu-boot.git diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h index da58914987..6806494983 100644 --- a/include/asm-blackfin/io.h +++ b/include/asm-blackfin/io.h @@ -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