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