public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] mtd: Drop duplicate MTD_PARTITIONS Kconfig option
Date: Wed, 31 Oct 2018 11:07:36 +0100	[thread overview]
Message-ID: <20181031100736.3067-4-boris.brezillon@bootlin.com> (raw)
In-Reply-To: <20181031100736.3067-1-boris.brezillon@bootlin.com>

Commit 9c5b00973bce ("Convert CONFIG_MTD_PARTITIONS et al to Kconfig")
introduced a publicly visible Kconfig entry for the
CONFIG_MTD_PARTITIONS option, while the rework on MTD partitioning
was in progress, and we somehow did not notice that the same Kconfig
entry was added by commit 4048a5c519a8 ("mtd: declare MTD_PARTITIONS
symbol in Kconfig"), but this time as an invisible entry (this can
only be selected by other options).

Keep the non-visible version of this symbol, since MTD_PARTITIONS is
not something the user should be able to enable/disable directly.

Fixes: 4048a5c519a8 ("mtd: declare MTD_PARTITIONS symbol in Kconfig")
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
---
 drivers/mtd/Kconfig | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 11cf12bb5599..0050fb2b9bf1 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -22,12 +22,6 @@ config MTD_DEVICE
 	  Adds the MTD device infrastructure from the Linux kernel.
 	  Needed for mtdparts command support.
 
-config MTD_PARTITIONS
-	bool "Add MTD Partioning infrastructure"
-	help
-	  Adds the MTD partitioning infrastructure from the Linux
-	  kernel. Needed for UBI support.
-
 config FLASH_CFI_DRIVER
 	bool "Enable CFI Flash driver"
 	help
-- 
2.17.1

  parent reply	other threads:[~2018-10-31 10:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-31 10:07 [U-Boot] [PATCH 0/3] mtd: Fix partition handling code Boris Brezillon
2018-10-31 10:07 ` [U-Boot] [PATCH 1/3] mtd: Use default mtdparts/mtids when not defined in the environment Boris Brezillon
2018-10-31 10:07 ` [U-Boot] [PATCH 2/3] cmd: ubi: Remove useless call to mtdparts_init() Boris Brezillon
2018-10-31 10:07 ` Boris Brezillon [this message]
2018-10-31 10:43 ` [U-Boot] [PATCH 0/3] mtd: Fix partition handling code Miquel Raynal
2018-11-05  8:37 ` Jagan Teki
2018-11-10  9:32   ` Jagan Teki
2018-11-10 11:23     ` Boris Brezillon
2018-11-10 11:27       ` Jagan Teki
2018-11-10 11:33         ` Boris Brezillon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181031100736.3067-4-boris.brezillon@bootlin.com \
    --to=boris.brezillon@bootlin.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox