Searched hist:eec2f9cc69ba68c09dfba6812f58e550c1e83d68 (Results 1 – 2 of 2) sorted by relevance
/qemu/include/hw/net/ |
H A D | ftgmac100.h | eec2f9cc69ba68c09dfba6812f58e550c1e83d68 Thu Jul 04 08:29:15 UTC 2024 Jamin Lin <jamin_lin@aspeedtech.com> hw/net:ftgmac100: update memory region size to 64KB
According to the datasheet of ASPEED SOCs, one MAC controller owns 128KB of register space for AST2500. However, one MAC controller only owns 64KB of register space for AST2600 and AST2700. It set the memory region size 128KB and it occupied another controllers Address Spaces.
Update one MAC controller memory region size to 0x1000 because AST2500 did not use register spaces over than 64KB.
Introduce a new container region size to 0x1000 and its range is from 0 to 0xfff. This container is mapped a sub region for the current set of register. This sub region range is from 0 to 0xff.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@redhat.com>
|
/qemu/hw/net/ |
H A D | ftgmac100.c | eec2f9cc69ba68c09dfba6812f58e550c1e83d68 Thu Jul 04 08:29:15 UTC 2024 Jamin Lin <jamin_lin@aspeedtech.com> hw/net:ftgmac100: update memory region size to 64KB
According to the datasheet of ASPEED SOCs, one MAC controller owns 128KB of register space for AST2500. However, one MAC controller only owns 64KB of register space for AST2600 and AST2700. It set the memory region size 128KB and it occupied another controllers Address Spaces.
Update one MAC controller memory region size to 0x1000 because AST2500 did not use register spaces over than 64KB.
Introduce a new container region size to 0x1000 and its range is from 0 to 0xfff. This container is mapped a sub region for the current set of register. This sub region range is from 0 to 0xff.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Cédric Le Goater <clg@redhat.com>
|