diff options
author | Peter Maydell | 2021-08-12 11:33:46 +0200 |
---|---|---|
committer | Peter Maydell | 2021-09-01 12:08:20 +0200 |
commit | c08e612662e4bdc84f2e9bd4ae598e8c07a23565 (patch) | |
tree | 74260eb9d9b3b7914b513ccbbffe4b1f620a82bc /include | |
parent | hw/arm/stm32vldiscovery: Delete trailing blank line (diff) | |
download | qemu-c08e612662e4bdc84f2e9bd4ae598e8c07a23565.tar.gz qemu-c08e612662e4bdc84f2e9bd4ae598e8c07a23565.tar.xz qemu-c08e612662e4bdc84f2e9bd4ae598e8c07a23565.zip |
hw/arm/nrf51: Wire up sysclk
Wire up the sysclk input to the armv7m object.
Strictly this SoC should not have a systick device at all, but our
armv7m container object doesn't currently support disabling the
systick device. For the moment, add a TODO comment, but note that
this is why we aren't wiring up a refclk (no need for one).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alexandre Iooss <erdnaxe@crans.org>
Message-id: 20210812093356.1946-16-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/arm/nrf51_soc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/nrf51_soc.h b/include/hw/arm/nrf51_soc.h index f8a6725b77..e52a56e75e 100644 --- a/include/hw/arm/nrf51_soc.h +++ b/include/hw/arm/nrf51_soc.h @@ -17,6 +17,7 @@ #include "hw/gpio/nrf51_gpio.h" #include "hw/nvram/nrf51_nvm.h" #include "hw/timer/nrf51_timer.h" +#include "hw/clock.h" #include "qom/object.h" #define TYPE_NRF51_SOC "nrf51-soc" @@ -50,6 +51,7 @@ struct NRF51State { MemoryRegion container; + Clock *sysclk; }; #endif |