162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef BOOT_COMPRESSED_DECOMPRESSOR_H
362306a36Sopenharmony_ci#define BOOT_COMPRESSED_DECOMPRESSOR_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#ifdef CONFIG_KERNEL_UNCOMPRESSED
662306a36Sopenharmony_cistatic inline void *decompress_kernel(void) { return NULL; }
762306a36Sopenharmony_ci#else
862306a36Sopenharmony_civoid *decompress_kernel(void);
962306a36Sopenharmony_ci#endif
1062306a36Sopenharmony_ciunsigned long mem_safe_offset(void);
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#endif /* BOOT_COMPRESSED_DECOMPRESSOR_H */
13