From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=F6rg?= Krause Date: Tue, 30 May 2017 09:39:57 +0200 Subject: [U-Boot] [PATCH v5 5/16] cmd: Add Kconfig option for CMD_MTDPARTS and related options In-Reply-To: <1bdf2d72d782d9ee61d8f5564b7018b6b8a2817b.1488215509.git-series.maxime.ripard@free-electrons.com> References: <1bdf2d72d782d9ee61d8f5564b7018b6b8a2817b.1488215509.git-series.maxime.ripard@free-electrons.com> Message-ID: <1496129997.6302.7.camel@embedded.rocks> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi Maxime, On Mon, 2017-02-27 at 18:22 +0100, Maxime Ripard wrote: > CMD_MTDPARTS is something the user might or might not want to select, > and > might depends on (or be selected by) other options too. >=20 > This is even truer for the MTDIDS_DEFAULT and MTDPARTS_DEFAULT > options that > might change from one board to another, or from one user to the > other, > depending on what it expects and what storage devices are available. >=20 > In order to ease that configuration, add those options to Kconfig. >=20 > Signed-off-by: Maxime Ripard > Reviewed-by: Tom Rini > --- > cmd/Kconfig | 20 ++++++++++++++++++++ > cmd/mtdparts.c | 8 ++++++++ > 2 files changed, 28 insertions(+), 0 deletions(-) >=20 > diff --git a/cmd/Kconfig b/cmd/Kconfig > index ef5315631476..0734d669dbd7 100644 > --- a/cmd/Kconfig > +++ b/cmd/Kconfig > @@ -801,6 +801,26 @@ config CMD_FS_GENERIC > help > Enables filesystem commands (e.g. load, ls) that work for > multiple > fs types. > + > +config CMD_MTDPARTS > + depends on ARCH_SUNXI Is there any reason to limit the command for the sunxi arch only? Best regards J=C3=B6rg Krause