soc/cores/cpu/zynq7000/core.py: fix missing CAN IO mode (security/nitpick)
This commit is contained in:
parent
fba7ce42ec
commit
485341a1cf
|
@ -456,6 +456,7 @@ class Zynq7000(CPU):
|
|||
# PS7 configuration.
|
||||
self.add_ps7_config({
|
||||
f"PCW_CAN{n}_PERIPHERAL_ENABLE": 1,
|
||||
f"PCW_CAN{n}_CAN{n}_IO": "EMIO",
|
||||
f"PCW_CAN{n}_GRP_CLK_ENABLE": {True: 0, False: 1}[ext_clk == None],
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue