Skip to content

Commit be1859b

Browse files
committed
initramfs: remove redundant dependency on BLK_DEV_INITRD
init/Kconfig includes usr/Kconfig inside the "if BLK_DEV_INITRD" ... "endif" block: if BLK_DEV_INITRD source "usr/Kconfig" endif Hence, all the defines in usr/Kconfig depend on BLK_DEV_INITRD. Remove the redundant "depends on BLK_DEV_INITRD". Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Greg Thelen <[email protected]>
1 parent 80e715a commit be1859b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

usr/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ config INITRAMFS_ROOT_GID
5454

5555
config RD_GZIP
5656
bool "Support initial ramdisk/ramfs compressed using gzip"
57-
depends on BLK_DEV_INITRD
5857
default y
5958
select DECOMPRESS_GZIP
6059
help
@@ -64,7 +63,6 @@ config RD_GZIP
6463
config RD_BZIP2
6564
bool "Support initial ramdisk/ramfs compressed using bzip2"
6665
default y
67-
depends on BLK_DEV_INITRD
6866
select DECOMPRESS_BZIP2
6967
help
7068
Support loading of a bzip2 encoded initial ramdisk or cpio buffer
@@ -73,15 +71,13 @@ config RD_BZIP2
7371
config RD_LZMA
7472
bool "Support initial ramdisk/ramfs compressed using LZMA"
7573
default y
76-
depends on BLK_DEV_INITRD
7774
select DECOMPRESS_LZMA
7875
help
7976
Support loading of a LZMA encoded initial ramdisk or cpio buffer
8077
If unsure, say N.
8178

8279
config RD_XZ
8380
bool "Support initial ramdisk/ramfs compressed using XZ"
84-
depends on BLK_DEV_INITRD
8581
default y
8682
select DECOMPRESS_XZ
8783
help
@@ -91,7 +87,6 @@ config RD_XZ
9187
config RD_LZO
9288
bool "Support initial ramdisk/ramfs compressed using LZO"
9389
default y
94-
depends on BLK_DEV_INITRD
9590
select DECOMPRESS_LZO
9691
help
9792
Support loading of a LZO encoded initial ramdisk or cpio buffer
@@ -100,7 +95,6 @@ config RD_LZO
10095
config RD_LZ4
10196
bool "Support initial ramdisk/ramfs compressed using LZ4"
10297
default y
103-
depends on BLK_DEV_INITRD
10498
select DECOMPRESS_LZ4
10599
help
106100
Support loading of a LZ4 encoded initial ramdisk or cpio buffer

0 commit comments

Comments
 (0)