summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul HENRYS <paul.henrys_ext@softathome.com>2025-02-12 10:31:22 +0100
committerTom Rini <trini@konsulko.com>2025-02-21 08:34:21 -0600
commita85a67a16075f3515d8c4d6b909d7895ce136178 (patch)
treedfb558f5b31e783a7618101df607cc97654a7ea7
parent77718437862ee849bd8818c482208aaa92363c8d (diff)
image: Add an inline declaration of unmap_sysmem()
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>
-rw-r--r--tools/mkimage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/mkimage.h b/tools/mkimage.h
index 15741f250fd..5d6bcc9301a 100644
--- 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;