13d0407baSopenharmony_ci/* 23d0407baSopenharmony_ci * include/linux/initramfs.h 33d0407baSopenharmony_ci * 43d0407baSopenharmony_ci * Copyright (C) 2015, Google 53d0407baSopenharmony_ci * Rom Lemarchand <romlem@android.com> 63d0407baSopenharmony_ci * 73d0407baSopenharmony_ci * This program is free software; you can redistribute it and/or modify 83d0407baSopenharmony_ci * it under the terms of the GNU General Public License as published by 93d0407baSopenharmony_ci * the Free Software Foundation; version 2 of the License. 103d0407baSopenharmony_ci * 113d0407baSopenharmony_ci * This program is distributed in the hope that it will be useful, 123d0407baSopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 133d0407baSopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 143d0407baSopenharmony_ci * GNU General Public License for more details. 153d0407baSopenharmony_ci * 163d0407baSopenharmony_ci * You should have received a copy of the GNU General Public License 173d0407baSopenharmony_ci * along with this program; if not, write to the Free Software 183d0407baSopenharmony_ci * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 193d0407baSopenharmony_ci */ 203d0407baSopenharmony_ci 213d0407baSopenharmony_ci#ifndef LINUX_INITRAMFS_H 223d0407baSopenharmony_ci#define LINUX_INITRAMFS_H 233d0407baSopenharmony_ci 243d0407baSopenharmony_ci#include <linux/kconfig.h> 253d0407baSopenharmony_ci 263d0407baSopenharmony_ci#if IS_BUILTIN(CONFIG_BLK_DEV_INITRD) 273d0407baSopenharmony_ci 283d0407baSopenharmony_ciint __init default_rootfs(void); 293d0407baSopenharmony_ci 303d0407baSopenharmony_ci#endif 313d0407baSopenharmony_ci 323d0407baSopenharmony_ci#if defined(CONFIG_ROCKCHIP_HW_DECOMPRESS) 333d0407baSopenharmony_civoid __init wait_initrd_hw_decom_done(void); 343d0407baSopenharmony_ci#endif 353d0407baSopenharmony_ci 363d0407baSopenharmony_ci#if defined(CONFIG_ROCKCHIP_THUNDER_BOOT_CRYPTO) 373d0407baSopenharmony_ciint __init rk_tb_crypto_sha256_wait_compare_done(void); 383d0407baSopenharmony_ci#endif 393d0407baSopenharmony_ciextern char __initramfs_start[]; 403d0407baSopenharmony_ciextern unsigned long __initramfs_size; 413d0407baSopenharmony_ci 423d0407baSopenharmony_ci#endif /* _LINUX_INITRAMFS_H */ 43