OSDN Git Service

hw/misc/aspeed_xdma: Add AST2600 support
authorCédric Le Goater <clg@kaod.org>
Sat, 1 May 2021 08:03:52 +0000 (10:03 +0200)
committerCédric Le Goater <clg@kaod.org>
Sat, 1 May 2021 08:03:52 +0000 (10:03 +0200)
commit8efbee28f4729f16cae5cbf93a029bfa55198fc2
tree4a761c405160178414222fc663ba44cbe3a8865d
parent224f010ba81ff25c972c33c1e13d79c85ed40e35
hw/misc/aspeed_xdma: Add AST2600 support

When we introduced support for the AST2600 SoC, the XDMA controller
was forgotten. It went unnoticed because it's not used under emulation.
But the register layout being different, the reset procedure is bogus
and this breaks kexec.

Add a AspeedXDMAClass to take into account the register differences.

Cc: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Message-Id: <20210407171637.777743-14-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed_ast2600.c
hw/arm/aspeed_soc.c
hw/misc/aspeed_xdma.c
include/hw/misc/aspeed_xdma.h