mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 07:01:39 +00:00
mmc: set rca to 1 for MMC cards
U-Boot currently sets MMC cards' RCA register to 0. This value is reserved according to the specification. Use a value of 1 instead, just like the Linux kernel. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
This commit is contained in:
parent
dbf3de2dd2
commit
def816a2ba
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ int mmc_complete_op_cond(struct mmc *mmc)
|
|||
mmc->ocr = cmd.response[0];
|
||||
|
||||
mmc->high_capacity = ((mmc->ocr & OCR_HCS) == OCR_HCS);
|
||||
mmc->rca = 0;
|
||||
mmc->rca = 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue