summaryrefslogtreecommitdiff
path: root/tb
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-08-04 20:58:18 -0400
committerIan Moffett <ian@osmora.org>2024-08-04 21:20:54 -0400
commitcb00f021981cefe3d0a58fe2020fcf5dcabb3e85 (patch)
tree6827f40187d29bae0ff565712fe3173d919560fd /tb
parent2c90a72e5bc7735c2b4afe5036cad41db33f15e7 (diff)
soc: Add peripheral memory map
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'tb')
-rw-r--r--tb/soc/irq/tb_pimc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tb/soc/irq/tb_pimc.cpp b/tb/soc/irq/tb_pimc.cpp
index 8b6e294..ec06a5d 100644
--- a/tb/soc/irq/tb_pimc.cpp
+++ b/tb/soc/irq/tb_pimc.cpp
@@ -70,7 +70,7 @@ int main(int argc, char** argv, char** env) {
/* Mask IRQ line 0 */
if (posedge_cnt == 15) {
- pimc->mmio_addr = 0x1000;
+ pimc->mmio_addr = 0x1000000;
pimc->mmio_wdata |= (1 << 8);
pimc->mmio_we = 1;
pimc->mmio_re = 0;