Searched hist:"2095468 d2cce73d1d3825cb953bd5114fffe73c8" (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/net/ |
H A D | ftgmac100.c | 2095468d2cce73d1d3825cb953bd5114fffe73c8 Thu Jul 04 08:29:18 UTC 2024 Jamin Lin <jamin_lin@aspeedtech.com> hw/net:ftgmac100: update TX and RX packet buffers address to 64 bits
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.
It have "TXDES 2" and "RXDES 2" to save the high part physical address of packet buffer. Ex: TX packet buffer address [34:0] The "TXDES 2" bits [18:16] which corresponds the bits [34:32] of the 64 bits address of the TX packet buffer address and "TXDES 3" bits [31:0] which corresponds the bits [31:0] of the 64 bits address of the TX packet buffer address.
Update TX and RX packet buffers address type to 64 bits for dram 64 bits address DMA support.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@redhat.com>
|