mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
hw/arm/xlnx-zynqmp: Connect the ZynqMP APU Control
Connect the ZynqMP APU Control device. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Francisco Iglesias <francisco.iglesias@xilinx.com> Reviewed-by: Luc Michel <luc@lmichel.fr> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 20220316164645.2303510-7-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
b4ecda2dd7
commit
eb7a38ba66
2 changed files with 26 additions and 3 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "hw/nvram/xlnx-bbram.h"
|
||||
#include "hw/nvram/xlnx-zynqmp-efuse.h"
|
||||
#include "hw/or-irq.h"
|
||||
#include "hw/misc/xlnx-zynqmp-apu-ctrl.h"
|
||||
#include "hw/misc/xlnx-zynqmp-crf.h"
|
||||
|
||||
#define TYPE_XLNX_ZYNQMP "xlnx-zynqmp"
|
||||
|
@ -86,7 +87,7 @@ OBJECT_DECLARE_SIMPLE_TYPE(XlnxZynqMPState, XLNX_ZYNQMP)
|
|||
/*
|
||||
* Unimplemented mmio regions needed to boot some images.
|
||||
*/
|
||||
#define XLNX_ZYNQMP_NUM_UNIMP_AREAS 2
|
||||
#define XLNX_ZYNQMP_NUM_UNIMP_AREAS 1
|
||||
|
||||
struct XlnxZynqMPState {
|
||||
/*< private >*/
|
||||
|
@ -125,6 +126,7 @@ struct XlnxZynqMPState {
|
|||
XlnxZDMA adma[XLNX_ZYNQMP_NUM_ADMA_CH];
|
||||
XlnxCSUDMA qspi_dma;
|
||||
qemu_or_irq qspi_irq_orgate;
|
||||
XlnxZynqMPAPUCtrl apu_ctrl;
|
||||
XlnxZynqMPCRF crf;
|
||||
|
||||
char *boot_cpu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue