You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
803 B
26 lines
803 B
5 years ago
|
From a30d7b7a036c49c4112469eb4368747b2b2a62ef Mon Sep 17 00:00:00 2001
|
||
|
From: gdhan <gdhan@dev3>
|
||
|
Date: Wed, 3 Jun 2015 19:06:32 +0900
|
||
|
Subject: [PATCH] rpmb not alloc
|
||
|
|
||
|
---
|
||
|
drivers/mmc/card/block.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
|
||
|
index 7b5424f..c8e79fb 100644
|
||
|
--- a/drivers/mmc/card/block.c
|
||
|
+++ b/drivers/mmc/card/block.c
|
||
|
@@ -2206,7 +2206,7 @@ static int mmc_blk_alloc_parts(struct mmc_card *card, struct mmc_blk_data *md)
|
||
|
return 0;
|
||
|
|
||
|
for (idx = 0; idx < card->nr_parts; idx++) {
|
||
|
- if (card->part[idx].size) {
|
||
|
+ if (card->part[idx].size && !(card->part[idx].area_type & MMC_BLK_DATA_AREA_RPMB)) {
|
||
|
ret = mmc_blk_alloc_part(card, md,
|
||
|
card->part[idx].part_cfg,
|
||
|
card->part[idx].size >> 9,
|
||
|
--
|
||
|
2.3.5
|
||
|
|