summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2007-06-14 19:56:58 -0500
committerKim Phillips <kim.phillips@freescale.com>2007-06-14 19:56:58 -0500
commitb721ff745d3e5b4fe6bb8db430553d54dba4bd17 (patch)
tree8f267466c28352bac8e2f59358411d0860bb0bcf /disk
parent5b1313fb2758ffce8b624457f777d8cc6709608d (diff)
parent9912121f7ed804ea58fd62f3f230b5dcfc357d88 (diff)
downloadu-boot-imx-b721ff745d3e5b4fe6bb8db430553d54dba4bd17.zip
u-boot-imx-b721ff745d3e5b4fe6bb8db430553d54dba4bd17.tar.gz
u-boot-imx-b721ff745d3e5b4fe6bb8db430553d54dba4bd17.tar.bz2
Merge git://www.denx.de/git/u-boot
Diffstat (limited to 'disk')
-rwxr-xr-x[-rw-r--r--]disk/part.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/disk/part.c b/disk/part.c
index acc1a74..255b140 100644..100755
--- a/disk/part.c
+++ b/disk/part.c
@@ -180,6 +180,7 @@ void dev_print (block_dev_desc_t *dev_desc)
(CONFIG_COMMANDS & CFG_CMD_SCSI) || \
(CONFIG_COMMANDS & CFG_CMD_USB) || \
defined(CONFIG_MMC) || \
+ (defined(CONFIG_MMC) && defined(CONFIG_LPC2292)) || \
defined(CONFIG_SYSTEMACE) )
#if defined(CONFIG_MAC_PARTITION) || \
@@ -219,7 +220,8 @@ void init_part (block_dev_desc_t * dev_desc)
}
-int get_partition_info (block_dev_desc_t *dev_desc, int part, disk_partition_t *info)
+int get_partition_info (block_dev_desc_t *dev_desc, int part
+ , disk_partition_t *info)
{
switch (dev_desc->part_type) {
#ifdef CONFIG_MAC_PARTITION
@@ -325,7 +327,8 @@ void print_part (block_dev_desc_t * dev_desc)
#else /* neither MAC nor DOS nor ISO partition configured */
-# error neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION nor CONFIG_ISO_PARTITION configured!
+# error neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION
+# error nor CONFIG_ISO_PARTITION configured!
#endif
#endif /* (CONFIG_COMMANDS & CFG_CMD_IDE) || CONFIG_COMMANDS & CFG_CMD_SCSI) */