[U-Boot-Users] [PATCH 2/2] AT572D940HF-EB Support v2 (SDHC support part 2)

Antonio R. Costa costa.antonior at gmail.com
Thu Jun 12 16:14:57 CEST 2008


Introduced IF_TYPE_SDHC to distinguish between SD and SDHC.
Maybe this is not the best method since struct block_dev_descr.priv
could point to a structure describing card properties but it was
the quickest one and I had no time to spend.

Signed-off-by: Antonio R. Costa <antonio.costa at atmel.com>

diff --git a/include/part.h b/include/part.h
index b22a637..1bf4a24 100644
--- a/include/part.h
+++ b/include/part.h
@@ -62,6 +62,7 @@ typedef struct block_dev_desc {
 #define IF_TYPE_MMC		6
 #define IF_TYPE_SD		7
 #define IF_TYPE_SATA		8
+#define IF_TYPE_SDHC		9
 
 /* Part types */
 #define PART_TYPE_UNKNOWN	0x00
-- 
1.5.4.3





More information about the U-Boot mailing list