Page MenuHomeFreeBSD

D54909.diff
No OneTemporary

D54909.diff

diff --git a/sys/arm/allwinner/aw_mmc.c b/sys/arm/allwinner/aw_mmc.c
--- a/sys/arm/allwinner/aw_mmc.c
+++ b/sys/arm/allwinner/aw_mmc.c
@@ -115,6 +115,18 @@
.can_calibrate = true,
};
+static const struct aw_mmc_conf h616_mmc_conf = {
+ .dma_xferlen = 0x10000,
+ .mask_data0 = true,
+ .can_calibrate = true,
+ .new_timing = true,
+};
+
+static const struct aw_mmc_conf h616_emmc_conf = {
+ .dma_xferlen = 0x10000,
+ .can_calibrate = true,
+};
+
static const struct aw_mmc_conf d1_mmc_conf = {
.dma_xferlen = 0x1000,
.dma_desc_shift = 2,
@@ -131,6 +143,8 @@
{"allwinner,sun20i-d1-mmc", (uintptr_t)&d1_mmc_conf},
{"allwinner,sun50i-a64-mmc", (uintptr_t)&a64_mmc_conf},
{"allwinner,sun50i-a64-emmc", (uintptr_t)&a64_emmc_conf},
+ {"allwinner,sun50i-h616-mmc", (uintptr_t)&h616_mmc_conf},
+ {"allwinner,sun50i-h616-emmc", (uintptr_t)&h616_emmc_conf},
{NULL, 0}
};

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 17, 9:08 PM (18 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28067103
Default Alt Text
D54909.diff (892 B)

Event Timeline