[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 08/12] hw: arm: allwinner-r40: Fix the mmc controller's type
From: |
qianfanguijin |
Subject: |
[PATCH v2 08/12] hw: arm: allwinner-r40: Fix the mmc controller's type |
Date: |
Tue, 28 Mar 2023 13:46:48 +0800 |
From: qianfan Zhao <qianfanguijin@163.com>
R40 has SAMP_DL_REG register and mmc2 controller has only 8K dma buffer.
Fix it's compatible string.
Signed-off-by: qianfan Zhao <qianfanguijin@163.com>
---
hw/arm/allwinner-r40.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/arm/allwinner-r40.c b/hw/arm/allwinner-r40.c
index 0e4542d35f..b148c56449 100644
--- a/hw/arm/allwinner-r40.c
+++ b/hw/arm/allwinner-r40.c
@@ -271,7 +271,7 @@ static void allwinner_r40_init(Object *obj)
for (int i = 0; i < AW_R40_NUM_MMCS; i++) {
object_initialize_child(obj, mmc_names[i], &s->mmc[i],
- TYPE_AW_SDHOST_SUN5I);
+ TYPE_AW_SDHOST_SUN50I_A64);
}
object_initialize_child(obj, "twi0", &s->i2c0, TYPE_AW_I2C_SUN6I);
--
2.25.1
- [PATCH v2 00/12] *** add allwinner-r40 support ***, qianfanguijin, 2023/03/28
- [PATCH v2 02/12] hw/arm/allwinner-r40: add Clock Control Unit, qianfanguijin, 2023/03/28
- [PATCH v2 01/12] hw: arm: Add bananapi M2-Ultra and allwinner-r40 support, qianfanguijin, 2023/03/28
- [PATCH v2 08/12] hw: arm: allwinner-r40: Fix the mmc controller's type,
qianfanguijin <=
- [PATCH v2 04/12] hw: arm: allwinner-r40: Add i2c0 device, qianfanguijin, 2023/03/28
- [PATCH v2 05/12] hw/misc: Rename axp209 to axp22x and add support AXP221 PMU, qianfanguijin, 2023/03/28
- [PATCH v2 07/12] hw: sd: allwinner-sdhost: Add sun50i-a64 SoC support, qianfanguijin, 2023/03/28
- [PATCH v2 03/12] hw: allwinner-r40: Complete uart devices, qianfanguijin, 2023/03/28
- [PATCH v2 09/12] hw: arm: allwinner-r40: Add emac and gmac support, qianfanguijin, 2023/03/28
- [PATCH v2 06/12] hw/arm/allwinner-r40: add SDRAM controller device, qianfanguijin, 2023/03/28
- [PATCH v2 10/12] hw: arm: allwinner-sramc: Add SRAM Controller support for R40, qianfanguijin, 2023/03/28