[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [RFC PATCH v2 5/9] hw/dma/axidma: add 'xlnx, eth-dma' FDT ali
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-arm] [RFC PATCH v2 5/9] hw/dma/axidma: add 'xlnx, eth-dma' FDT alias |
Date: |
Mon, 8 Jan 2018 23:00:50 -0300 |
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/dma/xilinx_axidma.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c
index 9b48103574..2359d5c114 100644
--- a/hw/dma/xilinx_axidma.c
+++ b/hw/dma/xilinx_axidma.c
@@ -24,6 +24,7 @@
#include "qemu/osdep.h"
#include "hw/sysbus.h"
+#include "hw/sysbus-fdt.h"
#include "qapi/error.h"
#include "qemu/timer.h"
#include "hw/ptimer.h"
@@ -648,6 +649,7 @@ static const TypeInfo xilinx_axidma_control_stream_info = {
static void xilinx_axidma_register_types(void)
{
+ type_register_fdt_alias(TYPE_XILINX_AXI_DMA, "xlnx,eth-dma");
type_register_static(&axidma_info);
type_register_static(&xilinx_axidma_data_stream_info);
type_register_static(&xilinx_axidma_control_stream_info);
--
2.15.1
- [Qemu-arm] [RFC PATCH v2 0/9] resolv device by Flattened Device Tree alias name, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-arm] [RFC PATCH v2 1/9] hw/sysbus: add helpers to register FDT aliases, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-arm] [RFC PATCH v2 2/9] hw/char/cadence_uart: add FDT aliases, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-arm] [RFC PATCH v2 3/9] hw/net/cadence_gem: add FDT aliases, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-arm] [RFC PATCH v2 4/9] hw/timer/cadence_ttc: add FDT aliases, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-arm] [RFC PATCH v2 5/9] hw/dma/axidma: add 'xlnx, eth-dma' FDT alias,
Philippe Mathieu-Daudé <=
- [Qemu-arm] [RFC PATCH v2 6/9] hw/usb/hcd-ehci: add 'xlnx, ps7-usb' FDT aliases, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-arm] [RFC PATCH v2 7/9] hw/ssi/xlnx-spips: add 'xlnx.zynq-qspi' FDT alias, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-arm] [RFC PATCH v2 8/9] hw/dma/xlnx_dpdma: add 'xlnx, axi-dpdma-1.0' FDT alias, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-arm] [RFC PATCH v2 9/9] hw/arm/xlnx-zynqmp: use Linux FDT names, Philippe Mathieu-Daudé, 2018/01/08