mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
12bf38fe2c
Add a skip_initramfs option to allow choosing whether to boot using the initramfs or not at runtime. Change-Id: If30428fa748c1d4d3d7b9d97c1f781de5e4558c3 Signed-off-by: Rom Lemarchand <romlem@google.com> Git-commit: 6f36227aa43c9e4b17a2dcda6a38e79d1b00d1b5 Git-repo: https://android.googlesource.com/kernel/common.git Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
32 lines
970 B
C
32 lines
970 B
C
/*
|
|
* include/linux/initramfs.h
|
|
*
|
|
* Copyright (C) 2015, Google
|
|
* Rom Lemarchand <romlem@android.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef _LINUX_INITRAMFS_H
|
|
#define _LINUX_INITRAMFS_H
|
|
|
|
#include <linux/kconfig.h>
|
|
|
|
#if IS_BUILTIN(CONFIG_BLK_DEV_INITRD)
|
|
|
|
int __init default_rootfs(void);
|
|
|
|
#endif
|
|
|
|
#endif /* _LINUX_INITRAMFS_H */
|