[U-Boot] [PATCH ] MMC: add MMC_VERSION_5_0

From: Markus Niebel Markus.Niebel@tq-group.com
Signed-off-by: Markus Niebel Markus.Niebel@tq-group.com --- drivers/mmc/mmc.c | 3 +++ include/mmc.h | 1 + 2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 24b0989..144c7f7 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1001,6 +1001,9 @@ static int mmc_startup(struct mmc *mmc) case 6: mmc->version = MMC_VERSION_4_5; break; + case 7: + mmc->version = MMC_VERSION_5_0; + break; }
/* diff --git a/include/mmc.h b/include/mmc.h index cb91565..51ee24b 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -31,6 +31,7 @@ #define MMC_VERSION_4_3 (MMC_VERSION_MMC | 0x403) #define MMC_VERSION_4_41 (MMC_VERSION_MMC | 0x429) #define MMC_VERSION_4_5 (MMC_VERSION_MMC | 0x405) +#define MMC_VERSION_5_0 (MMC_VERSION_MMC | 0x500)
#define MMC_MODE_HS (1 << 0) #define MMC_MODE_HS_52MHz (1 << 1)

Acked-by: Jaehoon Chung jh80.chung@samsung.com
On 11/18/2014 11:13 PM, Markus Niebel wrote:
From: Markus Niebel Markus.Niebel@tq-group.com
Signed-off-by: Markus Niebel Markus.Niebel@tq-group.com
drivers/mmc/mmc.c | 3 +++ include/mmc.h | 1 + 2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 24b0989..144c7f7 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1001,6 +1001,9 @@ static int mmc_startup(struct mmc *mmc) case 6: mmc->version = MMC_VERSION_4_5; break;
case 7:
mmc->version = MMC_VERSION_5_0;
break;
}
/*
diff --git a/include/mmc.h b/include/mmc.h index cb91565..51ee24b 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -31,6 +31,7 @@ #define MMC_VERSION_4_3 (MMC_VERSION_MMC | 0x403) #define MMC_VERSION_4_41 (MMC_VERSION_MMC | 0x429) #define MMC_VERSION_4_5 (MMC_VERSION_MMC | 0x405) +#define MMC_VERSION_5_0 (MMC_VERSION_MMC | 0x500)
#define MMC_MODE_HS (1 << 0) #define MMC_MODE_HS_52MHz (1 << 1)

Am 18.11.2014 um 15:13 schrieb Markus Niebel:
Ping - any comments?
From: Markus Niebel Markus.Niebel@tq-group.com
Signed-off-by: Markus Niebel Markus.Niebel@tq-group.com
drivers/mmc/mmc.c | 3 +++ include/mmc.h | 1 + 2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 24b0989..144c7f7 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1001,6 +1001,9 @@ static int mmc_startup(struct mmc *mmc) case 6: mmc->version = MMC_VERSION_4_5; break;
case 7:
mmc->version = MMC_VERSION_5_0;
break;
}
/*
diff --git a/include/mmc.h b/include/mmc.h index cb91565..51ee24b 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -31,6 +31,7 @@ #define MMC_VERSION_4_3 (MMC_VERSION_MMC | 0x403) #define MMC_VERSION_4_41 (MMC_VERSION_MMC | 0x429) #define MMC_VERSION_4_5 (MMC_VERSION_MMC | 0x405) +#define MMC_VERSION_5_0 (MMC_VERSION_MMC | 0x500)
#define MMC_MODE_HS (1 << 0) #define MMC_MODE_HS_52MHz (1 << 1)

Hi Markus,
On Nov 18, 2014, at 16:13 , Markus Niebel list-09_u-boot@tqsc.de wrote:
From: Markus Niebel Markus.Niebel@tq-group.com
Signed-off-by: Markus Niebel Markus.Niebel@tq-group.com
drivers/mmc/mmc.c | 3 +++ include/mmc.h | 1 + 2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 24b0989..144c7f7 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1001,6 +1001,9 @@ static int mmc_startup(struct mmc *mmc) case 6: mmc->version = MMC_VERSION_4_5; break;
case 7:
mmc->version = MMC_VERSION_5_0;
break;
}
/*
diff --git a/include/mmc.h b/include/mmc.h index cb91565..51ee24b 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -31,6 +31,7 @@ #define MMC_VERSION_4_3 (MMC_VERSION_MMC | 0x403) #define MMC_VERSION_4_41 (MMC_VERSION_MMC | 0x429) #define MMC_VERSION_4_5 (MMC_VERSION_MMC | 0x405) +#define MMC_VERSION_5_0 (MMC_VERSION_MMC | 0x500)
#define MMC_MODE_HS (1 << 0)
#define MMC_MODE_HS_52MHz (1 << 1)
2.1.1
Applied, thanks.
— Pantelis
participants (4)
-
Jaehoon Chung
-
Markus Niebel
-
Markus Niebel
-
Pantelis Antoniou