VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Daniel Thompson <daniel.thompson@linaro.org> 2017-05-08 15:56:57 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2017-05-08 17:15:12 -0700 commit: cff75e0b6fe835800f8e08a32d731119cd9e3b79 parent: da5e108b0288d390dae40f51c09bbb30358bf7a7
Commit Summary:
initramfs: provide a way to ignore image provided by bootloader
Diffstat:
1 file changed, 10 insertions, 0 deletions
diff --git a/usr/Kconfig b/usr/Kconfig
index 6278f135256d..c0c48507e44e 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -21,6 +21,16 @@ config INITRAMFS_SOURCE
 
 	  If you are not sure, leave it blank.
 
+config INITRAMFS_FORCE
+	bool "Ignore the initramfs passed by the bootloader"
+	depends on CMDLINE_EXTEND || CMDLINE_FORCE
+	help
+	  This option causes the kernel to ignore the initramfs image
+	  (or initrd image) passed to it by the bootloader. This is
+	  analogous to CMDLINE_FORCE, which is found on some architectures,
+	  and is useful if you cannot or don't want to change the image
+	  your bootloader passes to the kernel.
+
 config INITRAMFS_ROOT_UID
 	int "User ID to map to 0 (user root)"
 	depends on INITRAMFS_SOURCE!=""