1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Generic SRAM Driver Interface */
3 #ifndef __LINUX_SRAM_H__
4 #define __LINUX_SRAM_H__
8 #ifdef CONFIG_SRAM_EXEC
9 void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size);
11 static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src,
16 #endif /* CONFIG_SRAM_EXEC */
17 #endif /* __LINUX_SRAM_H__ */