summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig4
-rw-r--r--common/Makefile2
2 files changed, 5 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 234b91f426..c0112a54e2 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -261,6 +261,10 @@ config OF_FLAT_TREE
bool
prompt "Open Firmware flat device tree support"
+config PARTITION
+ bool
+ prompt "Enable Partitions"
+
config DEFAULT_ENVIRONMENT
bool
default y
diff --git a/common/Makefile b/common/Makefile
index 7aeba86c57..c5b47ea74d 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -11,7 +11,7 @@ obj-y += dlmalloc.o
obj-y += clock.o
obj-y += command.o
obj-y += console.o
-obj-y += partition.o
+obj-$(CONFIG_PARTITION) += partition.o
obj-y += env.o
obj-y += startup.o
obj-y += misc.o