summaryrefslogtreecommitdiff
path: root/disk/part.c
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-12-17 18:53:56 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 16:14:06 +0200
commit7fac3f69e9f05c5e5326681976c35d129324c4de (patch)
treebd8599f7db0811d0a0ec33f3e7cefe4021ff6847 /disk/part.c
parent9a24f477a1ed5bb0f74377c985d754ebbfa44872 (diff)
Enable partition support with MMC
Include implementations of init_part() and get_partition_info() when CONFIG_MMC is set. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'disk/part.c')
-rw-r--r--disk/part.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk/part.c b/disk/part.c
index 9e8bd4fb889..acc1a748e44 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -179,6 +179,7 @@ void dev_print (block_dev_desc_t *dev_desc)
#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
(CONFIG_COMMANDS & CFG_CMD_SCSI) || \
(CONFIG_COMMANDS & CFG_CMD_USB) || \
+ defined(CONFIG_MMC) || \
defined(CONFIG_SYSTEMACE) )
#if defined(CONFIG_MAC_PARTITION) || \