diff options
| author | Inès Varhol <ines.varhol@telecom-paris.fr> | 2024-10-14 17:05:51 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-10-15 11:29:45 +0100 |
| commit | b91b8fe79d093543b05db771b1e4a13395d51cfb (patch) | |
| tree | c79d97fb8e429afb2af7e62c4eaa79fd9d553620 /include/hw/misc/stm32l4x5_syscfg.h | |
| parent | 3db74afec3ca87f81fbdf5918ed1e21d837fbfab (diff) | |
| download | focaccia-qemu-b91b8fe79d093543b05db771b1e4a13395d51cfb.tar.gz focaccia-qemu-b91b8fe79d093543b05db771b1e4a13395d51cfb.zip | |
hw/misc: Create STM32L4x5 SYSCFG clock
This commit creates a clock in STM32L4x5 SYSCFG and wires it up to the corresponding clock from STM32L4x5 RCC. Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Luc Michel <luc@lmichel.fr> Message-id: 20241003081105.40836-2-ines.varhol@telecom-paris.fr Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/misc/stm32l4x5_syscfg.h')
| -rw-r--r-- | include/hw/misc/stm32l4x5_syscfg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/stm32l4x5_syscfg.h b/include/hw/misc/stm32l4x5_syscfg.h index 23bb564150..c450df2b9e 100644 --- a/include/hw/misc/stm32l4x5_syscfg.h +++ b/include/hw/misc/stm32l4x5_syscfg.h @@ -48,6 +48,7 @@ struct Stm32l4x5SyscfgState { uint32_t swpr2; qemu_irq gpio_out[GPIO_NUM_PINS]; + Clock *clk; }; #endif |