mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Subject: Re: [PATCH] make dos partition support default yes if we have disk partition support
Date: Wed, 7 Dec 2011 11:14:03 +0100	[thread overview]
Message-ID: <201112071114.03921.jbe@pengutronix.de> (raw)
In-Reply-To: <1323251318-9824-1-git-send-email-s.hauer@pengutronix.de>

Sascha Hauer wrote:
> DOS partitions are the only partitions we handle at the moment
> and without it most MMC/SD enabled configs are useless, so make
> it default yes. Also, use 'depends on' instead of 'if'
>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> Cc: Juergen Beisert <jbe@pengutronix.de>

Acked-by: Juergen Beisert <jbe@pengutronix.de>

> ---
>  common/Kconfig |   10 +++-------
>  1 files changed, 3 insertions(+), 7 deletions(-)
>
> diff --git a/common/Kconfig b/common/Kconfig
> index 1318e7d..27464d1 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -406,24 +406,20 @@ config PARTITION
>  	bool
>  	prompt "Enable Partitions"
>
> -if PARTITION
> -
>  config PARTITION_DISK
> +	depends on PARTITION
>  	bool "DISK partition support"
>  	help
>  	  Add support for handling common partition tables on all kind of disk
>  	  like devices (harddisks, CF cards, SD cards and so on)
>
> -if PARTITION_DISK
> -
>  config PARTITION_DISK_DOS
> +	depends on PARTITION_DISK
> +	default y
>  	bool "DOS partition support"
>  	help
>  	  Add support to handle partitions in DOS style.
>
> -endif
> -endif
> -
>  config DEFAULT_ENVIRONMENT
>  	bool
>  	default y

The "if PARTITION_DISK" was only for future updates to add more partition 
table support than the old DOS type. World domination...you know? ;-)

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2011-12-07 10:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07  9:48 Sascha Hauer
2011-12-07 10:14 ` Juergen Beisert [this message]

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=201112071114.03921.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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