projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: DaVinci: Adding Support for DaVinci DM365 EVM
[oweals/u-boot.git]
/
include
/
asm-blackfin
/
io.h
diff --git
a/include/asm-blackfin/io.h
b/include/asm-blackfin/io.h
index da58914987c2241a369752da3fc5c35e72489db7..68064949834636a82e505f711bc92bd51305210a 100644
(file)
--- 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