summaryrefslogtreecommitdiff
path: root/disk/part_iso.c
diff options
context:
space:
mode:
authorDave Liu <r63238@freescale.com>2008-03-26 22:49:44 +0800
committerWolfgang Denk <wd@denx.de>2008-03-26 23:38:51 +0100
commitc7057b529c3c3cb9c0ac9060686a4068f1491bbe (patch)
tree8525c3cd0fabf30fe590d91cfb1902519191993b /disk/part_iso.c
parent83c7f470a4ce94f33600f11ae85ce4dcf00aa90c (diff)
downloadu-boot-imx-c7057b529c3c3cb9c0ac9060686a4068f1491bbe.zip
u-boot-imx-c7057b529c3c3cb9c0ac9060686a4068f1491bbe.tar.gz
u-boot-imx-c7057b529c3c3cb9c0ac9060686a4068f1491bbe.tar.bz2
ata: add the support for SATA framework
- add the SATA framework - add the SATA command line Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'disk/part_iso.c')
-rw-r--r--disk/part_iso.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/disk/part_iso.c b/disk/part_iso.c
index 06dd75e..4894630 100644
--- a/disk/part_iso.c
+++ b/disk/part_iso.c
@@ -27,6 +27,7 @@
#if (defined(CONFIG_CMD_IDE) || \
defined(CONFIG_CMD_SCSI) || \
+ defined(CONFIG_CMD_SATA) || \
defined(CONFIG_CMD_USB) || \
defined(CONFIG_MMC) || \
defined(CONFIG_SYSTEMACE) ) && defined(CONFIG_ISO_PARTITION)
@@ -157,6 +158,7 @@ int get_partition_info_iso_verb(block_dev_desc_t * dev_desc, int part_num, disk_
sprintf ((char *)info->type, "U-Boot");
switch(dev_desc->if_type) {
case IF_TYPE_IDE:
+ case IF_TYPE_SATA:
case IF_TYPE_ATAPI:
sprintf ((char *)info->name, "hd%c%d\n", 'a' + dev_desc->dev, part_num);
break;