mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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
This commit is contained in:
parent
7580384b34
commit
c08e612662
2 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue