git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7771843
)
image: Add an inline declaration of unmap_sysmem()
author
Paul HENRYS
<paul.henrys_ext@softathome.com>
Wed, 12 Feb 2025 09:31:22 +0000
(10:31 +0100)
committer
Tom Rini
<trini@konsulko.com>
Fri, 21 Feb 2025 14:34:21 +0000
(08:34 -0600)
Add an empty inline declaration when compiling tools for a host where
unmap_sysmem() is not defined.
Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
tools/mkimage.h
patch
|
blob
|
history
diff --git
a/tools/mkimage.h
b/tools/mkimage.h
index
15741f2
..
5d6bcc9
100644
(file)
--- a/
tools/mkimage.h
+++ b/
tools/mkimage.h
@@
-37,6
+37,10
@@
static inline void *map_sysmem(ulong paddr, unsigned long len)
return (void *)(uintptr_t)paddr;
}
+static inline void unmap_sysmem(const void *vaddr)
+{
+}
+
static inline ulong map_to_sysmem(const void *ptr)
{
return (ulong)(uintptr_t)ptr;