From: Yang Li Date: Fri, 21 Jul 2017 19:10:38 +0000 (-0500) Subject: mmc: fsl_esdhc: not always setting esdhc fdt status to okay X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=590e87d1a67a36c6bc0d9a120fa4feac5be142e4;p=u-boot.git 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 Reviewed-by: York Sun --- 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; }