summaryrefslogtreecommitdiff
path: root/drivers/mmc/fsl_esdhc.c
diff options
context:
space:
mode:
authorYang Li <leoyang.li@nxp.com>2017-07-21 14:10:38 -0500
committerYork Sun <york.sun@nxp.com>2017-08-09 09:57:32 -0700
commit590e87d1a67a36c6bc0d9a120fa4feac5be142e4 (patch)
tree0ac1d243528b313bbb18f5b0b55b100e7b2109eb /drivers/mmc/fsl_esdhc.c
parent89d8e1313f18131a5c451f094bad89ba35ed2120 (diff)
downloadu-boot-590e87d1a67a36c6bc0d9a120fa4feac5be142e4.tar.gz
u-boot-590e87d1a67a36c6bc0d9a120fa4feac5be142e4.tar.bz2
u-boot-590e87d1a67a36c6bc0d9a120fa4feac5be142e4.zip
mmc: fsl_esdhc: not always setting esdhc fdt status to okay
We shouldn't always change the status to okay. There could be situations that the esdhc is intentionally disabled in the device tree. Signed-off-by: Li Yang <leoyang.li@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/mmc/fsl_esdhc.c')
-rw-r--r--drivers/mmc/fsl_esdhc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 2bf25ece14..b69c9b71e4 100644
--- a/drivers/mmc/fsl_esdhc.c
+++ b/drivers/mmc/fsl_esdhc.c
@@ -930,8 +930,6 @@ __weak int esdhc_status_fixup(void *blob, const char *compat)
return 1;
}
#endif
- do_fixup_by_compat(blob, compat, "status", "okay",
- sizeof("okay"), 1);
return 0;
}