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>
This commit is contained in:
Paul HENRYS
2025-02-24 22:20:51 +01:00
committed by Tom Rini
parent 942c8c8e66
commit 47f9186a3e

View File

@@ -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;