diff options
author | Yang Li <leoyang.li@nxp.com> | 2017-07-21 19:10:38 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-08-09 16:57:32 (GMT) |
commit | 590e87d1a67a36c6bc0d9a120fa4feac5be142e4 (patch) | |
tree | 0ac1d243528b313bbb18f5b0b55b100e7b2109eb /drivers/mmc/fsl_esdhc.c | |
parent | 89d8e1313f18131a5c451f094bad89ba35ed2120 (diff) | |
download | u-boot-fsl-qoriq-590e87d1a67a36c6bc0d9a120fa4feac5be142e4.tar.xz |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 2bf25ec..b69c9b7 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; } |