summaryrefslogtreecommitdiff
path: root/include/part.h
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 /include/part.h
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 'include/part.h')
-rw-r--r--include/part.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h
index 8407aa0..cb1b758 100644
--- a/include/part.h
+++ b/include/part.h
@@ -49,6 +49,7 @@ typedef struct block_dev_desc {
unsigned long start,
lbaint_t blkcnt,
const void *buffer);
+ void *priv; /* driver private struct pointer */
}block_dev_desc_t;
/* Interface types: */
@@ -60,6 +61,7 @@ typedef struct block_dev_desc {
#define IF_TYPE_DOC 5
#define IF_TYPE_MMC 6
#define IF_TYPE_SD 7
+#define IF_TYPE_SATA 8
/* Part types */
#define PART_TYPE_UNKNOWN 0x00
@@ -92,6 +94,7 @@ typedef struct disk_partition {
/* Misc _get_dev functions */
block_dev_desc_t* get_dev(char* ifname, int dev);
block_dev_desc_t* ide_get_dev(int dev);
+block_dev_desc_t* sata_get_dev(int dev);
block_dev_desc_t* scsi_get_dev(int dev);
block_dev_desc_t* usb_stor_get_dev(int dev);
block_dev_desc_t* mmc_get_dev(int dev);