mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
this u-boot patch fix the c_size. it should 22bit.
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
dc6bf6b3c0
commit
67f55209ee
18
package/uboot-xburst/patches/100-fix-c_size.patch
Normal file
18
package/uboot-xburst/patches/100-fix-c_size.patch
Normal file
@ -0,0 +1,18 @@
|
||||
diff --git a/include/mmc.h b/include/mmc.h
|
||||
index fcb237e..b913a60 100644
|
||||
--- a/include/mmc.h
|
||||
+++ b/include/mmc.h
|
||||
@@ -189,12 +189,12 @@ struct mmc_csd
|
||||
u8 tran_speed;
|
||||
u16 ccc:12,
|
||||
read_bl_len:4;
|
||||
+ u32 c_size:22;
|
||||
u64 read_bl_partial:1,
|
||||
write_blk_misalign:1,
|
||||
read_blk_misalign:1,
|
||||
dsr_imp:1,
|
||||
rsvd2:2,
|
||||
- c_size:12,
|
||||
vdd_r_curr_min:3,
|
||||
vdd_r_curr_max:3,
|
||||
vdd_w_curr_min:3,
|
Loading…
Reference in New Issue
Block a user