[Pdbg] [PATCH v2 12/19] libpdbg: Add core driver using sbefifo
Amitay Isaacs
amitay at ozlabs.org
Tue Apr 7 16:16:06 AEST 2020
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
libpdbg/sbefifo.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libpdbg/sbefifo.c b/libpdbg/sbefifo.c
index 72a58f9..f498a4d 100644
--- a/libpdbg/sbefifo.c
+++ b/libpdbg/sbefifo.c
@@ -343,6 +343,15 @@ static struct chiplet sbefifo_chiplet = {
};
DECLARE_HW_UNIT(sbefifo_chiplet);
+static struct core sbefifo_core = {
+ .target = {
+ .name = "SBE FIFO Chip-op based Core",
+ .compatible = "ibm,sbefifo-core",
+ .class = "core",
+ },
+};
+DECLARE_HW_UNIT(sbefifo_core);
+
static struct sbefifo kernel_sbefifo = {
.target = {
.name = "Kernel based FSI SBE FIFO",
@@ -362,6 +371,7 @@ static void register_sbefifo(void)
pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_chipop_hw_unit);
pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_pib_hw_unit);
pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_chiplet_hw_unit);
+ pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_core_hw_unit);
pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_mem_hw_unit);
pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &sbefifo_pba_hw_unit);
}
--
2.25.2
More information about the Pdbg
mailing list