summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-07 10:46:23 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-07 17:46:17 +0100
commit083b3bd52aaaa20d90c825d8b606280e977a51de (patch)
tree1aee9dc44d970e731fa3ea5f035382f59498d1d5
parent377577f3bfcf952bc1ad7dece0922a01344cd0da (diff)
downloadbarebox-083b3bd52aaaa20d90c825d8b606280e977a51de.tar.gz
barebox-083b3bd52aaaa20d90c825d8b606280e977a51de.tar.xz
make dos partition support default yes if we have disk partition support
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> Acked-by: Juergen Beisert <jbe@pengutronix.de>
-rw-r--r--common/Kconfig10
1 files changed, 3 insertions, 7 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 1318e7d747..27464d15e4 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