From 776733144fdaf385cc069454866f4a7e7aee2116 Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Sun, 19 Jan 2025 16:21:54 +0100 Subject: [PATCH] [hw,pinmux,rtl] Only depend on USBDEV if USB wakeup is enabled Signed-off-by: Robert Schilling --- hw/ip_templates/pinmux/pinmux.core.tpl | 2 ++ hw/top_darjeeling/ip_autogen/pinmux/pinmux.core | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/ip_templates/pinmux/pinmux.core.tpl b/hw/ip_templates/pinmux/pinmux.core.tpl index 1d89a70adfe41..3f393f1d191fd 100644 --- a/hw/ip_templates/pinmux/pinmux.core.tpl +++ b/hw/ip_templates/pinmux/pinmux.core.tpl @@ -19,7 +19,9 @@ filesets: - lowrisc:prim:pad_wrapper_pkg - lowrisc:prim:pad_attr - lowrisc:ip:jtag_pkg + % if enable_usb_wakeup: - lowrisc:ip:usbdev + % endif - ${instance_vlnv("lowrisc:ip:pinmux_reg:0.1")} - ${instance_vlnv("lowrisc:ip:pinmux_pkg:0.1")} files: diff --git a/hw/top_darjeeling/ip_autogen/pinmux/pinmux.core b/hw/top_darjeeling/ip_autogen/pinmux/pinmux.core index f17ed8e269234..6f86ef4b1fb44 100644 --- a/hw/top_darjeeling/ip_autogen/pinmux/pinmux.core +++ b/hw/top_darjeeling/ip_autogen/pinmux/pinmux.core @@ -19,7 +19,6 @@ filesets: - lowrisc:prim:pad_wrapper_pkg - lowrisc:prim:pad_attr - lowrisc:ip:jtag_pkg - - lowrisc:ip:usbdev - lowrisc:opentitan:top_darjeeling_pinmux_reg:0.1 - lowrisc:opentitan:top_darjeeling_pinmux_pkg:0.1 files: