From 485341a1cf0b8404eaacb051b471522eec63d89d Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Mon, 17 Jun 2024 18:26:28 +0200 Subject: [PATCH] soc/cores/cpu/zynq7000/core.py: fix missing CAN IO mode (security/nitpick) --- litex/soc/cores/cpu/zynq7000/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/soc/cores/cpu/zynq7000/core.py b/litex/soc/cores/cpu/zynq7000/core.py index 1f9340234..628b234d4 100644 --- a/litex/soc/cores/cpu/zynq7000/core.py +++ b/litex/soc/cores/cpu/zynq7000/core.py @@ -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], })