1 /*
2  * include/linux/initramfs.h
3  *
4  * Copyright (C) 2015, Google
5  * Rom Lemarchand <romlem@android.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; version 2 of the License.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 #ifndef LINUX_INITRAMFS_H
22 #define LINUX_INITRAMFS_H
23 
24 #include <linux/kconfig.h>
25 
26 #if IS_BUILTIN(CONFIG_BLK_DEV_INITRD)
27 
28 int __init default_rootfs(void);
29 
30 #endif
31 
32 #if defined(CONFIG_ROCKCHIP_HW_DECOMPRESS)
33 void __init wait_initrd_hw_decom_done(void);
34 #endif
35 
36 #if defined(CONFIG_ROCKCHIP_THUNDER_BOOT_CRYPTO)
37 int __init rk_tb_crypto_sha256_wait_compare_done(void);
38 #endif
39 extern char __initramfs_start[];
40 extern unsigned long __initramfs_size;
41 
42 #endif /* _LINUX_INITRAMFS_H */
43