From: Tao Ding <[email protected]>
The NOC address was accessed in the k230_unzip driver, but it is currently not in k230.
This commit uses create_unimplemented_device to preset the region.
Signed-off-by: Tao Ding <[email protected]>
Reviewed-by: Junze Cao <[email protected]>
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alistair Francis <[email protected]>
---
hw/riscv/k230.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/riscv/k230.c b/hw/riscv/k230.c
index 5163eaa7ef..558f30b97e 100644
--- a/hw/riscv/k230.c
+++ b/hw/riscv/k230.c
@@ -250,6 +250,9 @@ static void k230_soc_realize(DeviceState *dev, Error **errp)
qdev_get_gpio_in(DEVICE(&s->decomp_gzip), i));
}
+ /* Noc stub, the k230 decomp_gzip driver in uboot will access this region */
+ create_unimplemented_device("noc-stub", 0x91302000, 0x1000);
+
/* unimplemented devices */
create_unimplemented_device("kpu.l2-cache",
memmap[K230_DEV_KPU_L2_CACHE].base,
--
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.