Revert "fix csd2 bl size detection"
authork <k@ks-MacBook-Pro.local>
Sat, 27 Aug 2016 14:16:23 +0000 (15:16 +0100)
committerk <k@ks-MacBook-Pro.local>
Sat, 27 Aug 2016 14:16:23 +0000 (15:16 +0100)
This reverts commit c80d0466609819ca527716b6f5c45db7ca9f5487.

arm_chainloader/drivers/sdhost_impl.cc

index aeeaf90..42099d6 100644 (file)
@@ -369,7 +369,7 @@ struct SdhostImpl : BlockDevice {
                        printf("    Capacity: %d\n", SD_CSD_V2_CAPACITY(csd));\r
                        printf("    Size    : %d\n", SD_CSD_V2_C_SIZE(csd));\r
 \r
-                       block_length = 1 << SD_CSD_V2_BL_LEN;\r
+                       block_length = SD_CSD_V2_BL_LEN;\r
                }\r
                else if (SD_CSD_CSDVER(csd) == SD_CSD_CSDVER_1_0) {\r
                        printf("    CSD     : Ver 1.0\n");\r
This page took 0.024292 seconds and 4 git commands to generate.