decompressor.h 339 B

123456789101112
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef BOOT_COMPRESSED_DECOMPRESSOR_H
  3. #define BOOT_COMPRESSED_DECOMPRESSOR_H
  4. #ifdef CONFIG_KERNEL_UNCOMPRESSED
  5. static inline void *decompress_kernel(void) { return NULL; }
  6. #else
  7. void *decompress_kernel(void);
  8. #endif
  9. unsigned long mem_safe_offset(void);
  10. #endif /* BOOT_COMPRESSED_DECOMPRESSOR_H */