Skip to content

Commit

Permalink
Updating for litex uart IRQ move from zero to 2.
Browse files Browse the repository at this point in the history
(And fixing IRQ conflicts that reveals.)
  • Loading branch information
mithro committed Oct 30, 2017
1 parent 944d5f1 commit e1dc252
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions targets/opsis/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ class BaseSoC(SoCSDRAM):
)
csr_map_update(SoCSDRAM.csr_map, csr_peripherals)

interrupt_map = {
"uart": 2,
}
interrupt_map.update(SoCSDRAM.interrupt_map)

mem_map = {
"spiflash": 0x20000000, # (default shadow @0xa0000000)
}
Expand Down
4 changes: 2 additions & 2 deletions targets/opsis/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class VideoSoC(BaseSoC):
csr_map_update(BaseSoC.csr_map, csr_peripherals)

interrupt_map = {
"hdmi_in0": 3,
"hdmi_in1": 4,
"hdmi_in0": 4,
"hdmi_in1": 5,
}
interrupt_map.update(BaseSoC.interrupt_map)

Expand Down

0 comments on commit e1dc252

Please sign in to comment.