1
0

PLIC: Use longer DTS name for Max Priorities.

I used the singular because there is really only one max priority
This commit is contained in:
Megan Wachs 2017-07-13 13:37:22 -07:00 committed by GitHub
parent 0800fd3ed9
commit f646bed3ea

View File

@ -68,7 +68,7 @@ class TLPLIC(params: PLICParams)(implicit p: Parameters) extends LazyModule
val extra = Map(
"interrupt-controller" -> Nil,
"riscv,ndev" -> Seq(ResourceInt(nDevices)),
"riscv,maxpri" -> Seq(ResourceInt(maxPriorities)),
"riscv,max-priority" -> Seq(ResourceInt(maxPriorities)),
"#interrupt-cells" -> Seq(ResourceInt(1)))
Description(name, mapping ++ extra)
}