X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=inline;f=include%2Fasm-microblaze%2Fio.h;h=7e190d15c60e98be1b2a68f191e33f19b5ed42d8;hb=9c06071a6077ba95e9d43226156e39567d5d064a;hp=8804724bff2c043a8dc6605438c37fee9b614179;hpb=ab06bddb04ed4be50a8f9ad5f94fa23953a734e3;p=u-boot diff --git a/include/asm-microblaze/io.h b/include/asm-microblaze/io.h index 8804724bff..7e190d15c6 100644 --- a/include/asm-microblaze/io.h +++ b/include/asm-microblaze/io.h @@ -155,4 +155,9 @@ 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 /* __MICROBLAZE_IO_H__ */