@samitouri / QOSamiQemu / commits / b92d8c60a4

hw/riscv: k230: add a noc stub region in K230 board

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 <dingtao0430@163.com> Reviewed-by: Junze Cao <caojunze424@gmail.com> Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com> Message-ID: <20260808062227.66961-8-dingtao0430@163.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>

Tao Ding committed Aug 8, 2026 at 14:22 UTC b92d8c60a4cdab8562c132e6256faa930a651c76
1 file changed +3
hw/riscv/k230.c
+3
@@ -250,6 +250,9 @@ static void k230_soc_realize(DeviceState *dev, Error **errp)
250 qdev_get_gpio_in(DEVICE(&s->decomp_gzip), i));
251 }
252
253 + /* Noc stub, the k230 decomp_gzip driver in uboot will access this region */
254 + create_unimplemented_device("noc-stub", 0x91302000, 0x1000);
255 +
256 /* unimplemented devices */
257 create_unimplemented_device("kpu.l2-cache",
258 memmap[K230_DEV_KPU_L2_CACHE].base,