]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: fsl_esdhc: not always setting esdhc fdt status to okay
authorYang Li <leoyang.li@nxp.com>
Fri, 21 Jul 2017 19:10:38 +0000 (14:10 -0500)
committerYork Sun <york.sun@nxp.com>
Wed, 9 Aug 2017 16:57:32 +0000 (09:57 -0700)
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>
drivers/mmc/fsl_esdhc.c

index 2bf25ece149e2a673d7f17438ea2f5d0ed16e8f8..b69c9b71e4c833c3bedb2cea8b399e7593dc9352 100644 (file)
@@ -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;
 }