projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6c3b34
)
powerpc/esdhc: Correct judgement for DATA PIO mode
author
Haijun.Zhang
<
[email protected]
>
Tue, 7 May 2013 15:50:58 +0000
(15:50 +0000)
committer
Andy Fleming
<
[email protected]
>
Wed, 15 May 2013 23:18:16 +0000
(18:18 -0500)
The logic for the whether to configure for polling or DMA
was mistakenly reversed in this patch:
Commit
7b43db92110ec2f15c5f7187a165f2928464966b
drivers/mmc/fsl_esdhc.c: fix compiler warnings
Signed-off-by: Haijun Zhang <
[email protected]
>
CC: Sun Yusong-R58495 <
[email protected]
>
Signed-off-by: Andy Fleming <
[email protected]
>
drivers/mmc/fsl_esdhc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/fsl_esdhc.c
b/drivers/mmc/fsl_esdhc.c
index ec01795f32c1bd47545461ca0bedce729d75d7f2..861f4b9d6ca52844cb76b341574d74342032b03d 100644
(file)
--- a/
drivers/mmc/fsl_esdhc.c
+++ b/
drivers/mmc/fsl_esdhc.c
@@
-178,7
+178,7
@@
static int esdhc_setup_data(struct mmc *mmc, struct mmc_data *data)
int timeout;
struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv;
struct fsl_esdhc *regs = (struct fsl_esdhc *)cfg->esdhc_base;
-#if
n
def CONFIG_SYS_FSL_ESDHC_USE_PIO
+#ifdef CONFIG_SYS_FSL_ESDHC_USE_PIO
uint wml_value;
wml_value = data->blocksize/4;