ubi: Kconfig: Fix MTD_UBI selection dependency
Subsystems (2)
PATCH 1/5 ubi: Kconfig: Fix MTD_UBI selection dependency
From: Karl Beldan <[email protected]>
Remove the ARCH_SUNXI dependency on selection of RBTREE.
--- drivers/mtd/ubi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/ubi/Kconfig +1 -1
@@ -3,7 +3,7 @@ menu "UBI support" config MTD_UBI bool "Enable UBI - Unsorted block images" select CRC32 - select RBTREE if ARCH_SUNXI + select RBTREE help UBI is a software layer above MTD layer which admits of LVM-like logical volumes on top of MTD devices, hides some complexities of
Signature · 1 line
2.13.0
PATCH 2/5 cmd: Kconfig: Fix a dependency of CMD_MTDPARTS
From: Karl Beldan <[email protected]>
Remove the ARCH_SUNXI dependency.
--- cmd/Kconfig | 1 - 1 file changed, 1 deletion(-)
cmd/Kconfig +0 -1
@@ -1196,7 +1196,6 @@ config CMD_JFFS2 filesystem information. config CMD_MTDPARTS - depends on ARCH_SUNXI bool "MTD partition support" help MTD partition support
Signature · 1 line
2.13.0
PATCH 2/5 cmd: Kconfig: Fix a dependency of CMD_MTDPARTS
Quoted 7 lines · Karl Beldan
From: Karl Beldan <[email protected]>
Remove the
ARCH_SUNXIdependency.Cc Maxime Ripard <[email protected]>Cc Jagan Teki <[email protected]>Signed-off-by Karl Beldan <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170712/70ed7af3/attachment.sig>
PATCH 2/5 cmd: Kconfig: Fix a dependency of CMD_MTDPARTS
In reply to Karl BeldanQuoted 8 lines · karl beldan
From: Karl Beldan <[email protected]>
Remove the
ARCH_SUNXIdependency.Cc Maxime Ripard <[email protected]>Cc Jagan Teki <[email protected]>Signed-off-by Karl Beldan <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/62bc0589/attachment.sig>
PATCH 3/5 ubi: Kconfig: Make MTD_UBI select MTD_PARTITIONS
In reply to Karl BeldanFrom: Karl Beldan <[email protected]>
This missing dependency has probably remained under the radar because MTD_PARTITIONS is still whitelisted.
--- drivers/mtd/ubi/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/mtd/ubi/Kconfig +1 -0
@@ -4,6 +4,7 @@ config MTD_UBI bool "Enable UBI - Unsorted block images" select CRC32 select RBTREE + select MTD_PARTITIONS help UBI is a software layer above MTD layer which admits of LVM-like logical volumes on top of MTD devices, hides some complexities of
Signature · 1 line
2.13.0
PATCH 3/5 ubi: Kconfig: Make MTD_UBI select MTD_PARTITIONS
Quoted 6 lines · Karl Beldan
From: Karl Beldan <[email protected]>
This missing dependency has probably remained under the radar because
MTD_PARTITIONSis still whitelisted.Signed-off-by Karl Beldan <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170712/d8a8d4b7/attachment.sig>
PATCH 3/5 ubi: Kconfig: Make MTD_UBI select MTD_PARTITIONS
In reply to Karl BeldanQuoted 7 lines · karl beldan
From: Karl Beldan <[email protected]>
This missing dependency has probably remained under the radar because
MTD_PARTITIONSis still whitelisted.Signed-off-by Karl Beldan <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/4cd72cc5/attachment.sig>
PATCH 4/5 cmd: Kconfig: Make CMD_UBI select CMD_MTDPARTS
In reply to Karl BeldanFrom: Karl Beldan <[email protected]>
Many configs still define CMD_MTDPARTS in their non-Kconfig but CMD_MTDPARTS has now moved to Kconfig.
--- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+)
cmd/Kconfig +1 -0
@@ -1255,6 +1255,7 @@ config CMD_UBI tristate "Enable UBI - Unsorted block images commands" select CRC32 select MTD_UBI + select CMD_MTDPARTS default y if NAND_SUNXI help UBI is a software layer above MTD layer which admits use of LVM-like
Signature · 1 line
2.13.0
PATCH 4/5 cmd: Kconfig: Make CMD_UBI select CMD_MTDPARTS
Quoted 6 lines · Karl Beldan
From: Karl Beldan <[email protected]>
Many configs still define
CMD_MTDPARTSin their non-Kconfig butCMD_MTDPARTShas now moved toKconfig.Signed-off-by Karl Beldan <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170712/414483f8/attachment.sig>
PATCH 4/5 cmd: Kconfig: Make CMD_UBI select CMD_MTDPARTS
In reply to Karl BeldanQuoted 7 lines · karl beldan
From: Karl Beldan <[email protected]>
Many configs still define
CMD_MTDPARTSin their non-Kconfig butCMD_MTDPARTShas now moved toKconfig.Signed-off-by Karl Beldan <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/a5e5f472/attachment.sig>
PATCH 5/5 cmd: Kconfig: Fix CMD_UBIFS dependencies
In reply to Karl BeldanFrom: Karl Beldan <[email protected]>
Remove the ARCH_SUNXI and RBTREE dependencies.CMD_UBIFS already gets RBTREE from CMD_UBI (from MTD_UBI), and should the first become independant from the latter, there would likely be a dependency on MTD_UBI anyway.
--- cmd/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
cmd/Kconfig +1 -2
@@ -1269,8 +1269,7 @@ config CMD_UBIFS tristate "Enable UBIFS - Unsorted block images filesystem commands" depends on CMD_UBI select CRC32 - select RBTREE if ARCH_SUNXI - select LZO if ARCH_SUNXI + select LZO default y if NAND_SUNXI help UBIFS is a file system for flash devices which works on top of UBI.
Signature · 1 line
2.13.0
PATCH 5/5 cmd: Kconfig: Fix CMD_UBIFS dependencies
Quoted 10 lines · Karl Beldan
From: Karl Beldan <[email protected]>
Remove the
ARCH_SUNXIand RBTREE dependencies.CMD_UBIFSalready gets RBTREE fromCMD_UBI(fromMTD_UBI), and should the first become independant from the latter, there would likely be a dependency onMTD_UBIanyway.Cc Boris Brezillon <[email protected]>Cc Jagan Teki <[email protected]>Signed-off-by Karl Beldan <[email protected]>
That said, we should move on to also having a populated fs/ubifs/Kconfig that controls fs/ubifs/ and CMD_UBIFS should depend on that (and we also need the same for ubi, and in turn, correct dependencies between ubi and ubifs. Your patch moves things in the right direction, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170712/847eadeb/attachment.sig>
PATCH 5/5 cmd: Kconfig: Fix CMD_UBIFS dependencies
In reply to Karl BeldanQuoted 11 lines · karl beldan
From: Karl Beldan <[email protected]>
Remove the
ARCH_SUNXIand RBTREE dependencies.CMD_UBIFSalready gets RBTREE fromCMD_UBI(fromMTD_UBI), and should the first become independant from the latter, there would likely be a dependency onMTD_UBIanyway.Cc Boris Brezillon <[email protected]>Cc Jagan Teki <[email protected]>Signed-off-by Karl Beldan <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/81e19479/attachment.sig>
PATCH 1/5 ubi: Kconfig: Fix MTD_UBI selection dependency
In reply to Karl BeldanQuoted 8 lines · Karl Beldan
From: Karl Beldan <[email protected]>
Remove the
ARCH_SUNXIdependency on selection of RBTREE.Cc Boris Brezillon <[email protected]>Cc Maxime Ripard <[email protected]>Cc Jagan Teki <[email protected]>Signed-off-by Karl Beldan <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170712/6d2baf2d/attachment.sig>
PATCH 1/5 ubi: Kconfig: Fix MTD_UBI selection dependency
In reply to Karl BeldanQuoted 9 lines · karl beldan
From: Karl Beldan <[email protected]>
Remove the
ARCH_SUNXIdependency on selection of RBTREE.Cc Boris Brezillon <[email protected]>Cc Maxime Ripard <[email protected]>Cc Jagan Teki <[email protected]>Signed-off-by Karl Beldan <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/88de17f3/attachment.sig>