diff options
author | Paul HENRYS <paul.henrys_ext@softathome.com> | 2025-02-24 22:20:51 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-28 16:51:01 -0600 |
commit | 47f9186a3e1cf8a18a94feda362025c40ce690cd (patch) | |
tree | e6761855175dfe014d1b3d88acce4ef9b78fea6e | |
parent | 942c8c8e669739d2e8dec67a7ed90158defc93ed (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.h | 4 |
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; |