[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v9 1/8] hw/core: Add config stream
From: |
Ethan Chen |
Subject: |
[PATCH v9 1/8] hw/core: Add config stream |
Date: |
Thu, 9 Jan 2025 10:44:34 +0800 |
Make other device can use /hw/core/stream.c by select this config.
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ethan Chen <ethan84@andestech.com>
---
hw/Kconfig | 1 +
hw/core/Kconfig | 3 +++
hw/core/meson.build | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/hw/Kconfig b/hw/Kconfig
index 1b4e9bb07f..cb12b8c11b 100644
--- a/hw/Kconfig
+++ b/hw/Kconfig
@@ -77,6 +77,7 @@ config XILINX
config XILINX_AXI
bool
select PTIMER # for hw/dma/xilinx_axidma.c
+ select STREAM
config XLNX_ZYNQMP
bool
diff --git a/hw/core/Kconfig b/hw/core/Kconfig
index d1bdf765ee..dffa9a1b01 100644
--- a/hw/core/Kconfig
+++ b/hw/core/Kconfig
@@ -38,3 +38,6 @@ config SPLIT_IRQ
config EIF
bool
depends on LIBCBOR && GNUTLS
+
+config STREAM
+ bool
diff --git a/hw/core/meson.build b/hw/core/meson.build
index ce9dfa3f4b..2871639301 100644
--- a/hw/core/meson.build
+++ b/hw/core/meson.build
@@ -22,7 +22,7 @@ system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true:
files('platform-bus.c'))
system_ss.add(when: 'CONFIG_PTIMER', if_true: files('ptimer.c'))
system_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
system_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
-system_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
+system_ss.add(when: 'CONFIG_STREAM', if_true: files('stream.c'))
system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c'))
system_ss.add(when: 'CONFIG_EIF', if_true: [files('eif.c'), zlib, libcbor,
gnutls])
--
2.34.1
- [PATCH v9 0/8] Support RISC-V IOPMP, Ethan Chen, 2025/01/08
- [PATCH v9 1/8] hw/core: Add config stream,
Ethan Chen <=
- [PATCH v9 2/8] memory: Introduce memory region fetch operation, Ethan Chen, 2025/01/08
- [PATCH v9 3/8] system/physmem: Support IOMMU granularity smaller than TARGET_PAGE size, Ethan Chen, 2025/01/08
- [PATCH v9 4/8] target/riscv: Add support for IOPMP, Ethan Chen, 2025/01/08
- [PATCH v9 5/8] hw/misc/riscv_iopmp_txn_info: Add struct for transaction infomation, Ethan Chen, 2025/01/08
- [PATCH v9 6/8] hw/misc/riscv_iopmp: Add RISC-V IOPMP device, Ethan Chen, 2025/01/08
- [PATCH v9 8/8] hw/riscv/virt: Add IOPMP support, Ethan Chen, 2025/01/08
- [PATCH v9 7/8] hw/misc/riscv_iopmp_dispatcher: Device for redirect IOPMP transaction infomation, Ethan Chen, 2025/01/08