[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 5/8] aspeed/soc: set dma64 property for AST2700 ftgmac100
From: |
Cédric Le Goater |
Subject: |
[PULL 5/8] aspeed/soc: set dma64 property for AST2700 ftgmac100 |
Date: |
Tue, 9 Jul 2024 13:52:25 +0200 |
From: Jamin Lin <jamin_lin@aspeedtech.com>
ASPEED AST2700 SOC is a 64 bits quad core CPUs (Cortex-a35)
And the base address of dram is "0x4 00000000" which
is 64bits address.
Set dma64 property for ftgmac100 model to support
64bits dram address DMA.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
---
hw/arm/aspeed_ast27x0.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/arm/aspeed_ast27x0.c b/hw/arm/aspeed_ast27x0.c
index 18e6a8b10cae..a9fb0d4b8874 100644
--- a/hw/arm/aspeed_ast27x0.c
+++ b/hw/arm/aspeed_ast27x0.c
@@ -552,9 +552,12 @@ static void aspeed_soc_ast2700_realize(DeviceState *dev,
Error **errp)
return;
}
+ /* Net */
for (i = 0; i < sc->macs_num; i++) {
object_property_set_bool(OBJECT(&s->ftgmac100[i]), "aspeed", true,
&error_abort);
+ object_property_set_bool(OBJECT(&s->ftgmac100[i]), "dma64", true,
+ &error_abort);
if (!sysbus_realize(SYS_BUS_DEVICE(&s->ftgmac100[i]), errp)) {
return;
}
--
2.45.2
- [PULL 0/8] aspeed queue, Cédric Le Goater, 2024/07/09
- [PULL 1/8] hw/net:ftgmac100: update memory region size to 64KB, Cédric Le Goater, 2024/07/09
- [PULL 2/8] hw/net:ftgmac100: update ring base address to 64 bits, Cédric Le Goater, 2024/07/09
- [PULL 5/8] aspeed/soc: set dma64 property for AST2700 ftgmac100,
Cédric Le Goater <=
- [PULL 4/8] hw/net:ftgmac100: update TX and RX packet buffers address to 64 bits, Cédric Le Goater, 2024/07/09
- [PULL 7/8] machine_aspeed.py: update to test ASPEED OpenBMC SDK v09.02 for AST2700, Cédric Le Goater, 2024/07/09
- [PULL 3/8] hw/net:ftgmac100: introduce TX and RX ring base address high registers to support 64 bits, Cédric Le Goater, 2024/07/09
- [PULL 6/8] hw/block: m25p80: support quad mode for w25q01jvq, Cédric Le Goater, 2024/07/09
- [PULL 8/8] machine_aspeed.py: update to test network for AST2700, Cédric Le Goater, 2024/07/09
- Re: [PULL 0/8] aspeed queue, Richard Henderson, 2024/07/09