Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e2ceac6 authored by Joel Stein's avatar Joel Stein Committed by ssizon
Browse files

Add option to allow ignoring skip_initramfs command-line argument

On the Fairphone 3 the bootloader sets this flag even when booting
with fastboot boot.
Enabling CONFIG_FORCE_INTRAMFS allows us to actually boot TWRP.
parent 10fa4c98
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -611,6 +611,9 @@ static int __initdata do_skip_initramfs;

static int __init skip_initramfs_param(char *str)
{
#ifdef CONFIG_FORCE_INITRAMFS
	return 0;
#endif
	if (*str)
		return 0;
	do_skip_initramfs = 1;
+8 −0
Original line number Diff line number Diff line
@@ -98,3 +98,11 @@ config RD_LZ4
	help
	  Support loading of a LZ4 encoded initial ramdisk or cpio buffer
	  If unsure, say N.

config FORCE_INITRAMFS
	bool "Ignore skip_initramfs commandline"
	help
	  This option will make the kernel ignore skip_initramfs command
          line argument.
	  If unsure, say N.