qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 08/12] hw: arm: allwinner-r40: Fix the mmc controller's ty


From: Niek Linnenbank
Subject: Re: [PATCH v2 08/12] hw: arm: allwinner-r40: Fix the mmc controller's type
Date: Thu, 6 Apr 2023 21:22:47 +0200

Hi Qianfan Zhao,

Is this change really needed as a separate patch?
Looks like it would make sense just to squash it with the original patch 01?

Regards,
Niek

On Tue, Mar 28, 2023 at 7:47 AM <qianfanguijin@163.com> wrote:
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



--
Niek Linnenbank


reply via email to

[Prev in Thread] Current Thread [Next in Thread]