summaryrefslogtreecommitdiffstats
path: root/include/hw/arm/nrf51_soc.h
diff options
context:
space:
mode:
authorSteffen Görtz2019-01-07 16:23:47 +0100
committerPeter Maydell2019-01-07 16:23:47 +0100
commitb39dced66ac2612e89c9c822b6cb7b63c0de7f43 (patch)
treed361fd6fda67ca16f150ef3efa9984f81ba20344 /include/hw/arm/nrf51_soc.h
parenttests/microbit-test: Add Tests for nRF51 Timer (diff)
downloadqemu-b39dced66ac2612e89c9c822b6cb7b63c0de7f43.tar.gz
qemu-b39dced66ac2612e89c9c822b6cb7b63c0de7f43.tar.xz
qemu-b39dced66ac2612e89c9c822b6cb7b63c0de7f43.zip
arm: Add Clock peripheral stub to NRF51 SOC
This stubs enables the microbit-micropython firmware to run on the microbit machine. Signed-off-by: Steffen Görtz <contrib@steffen-goertz.de> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20190103091119.9367-12-stefanha@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm/nrf51_soc.h')
-rw-r--r--include/hw/arm/nrf51_soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/nrf51_soc.h b/include/hw/arm/nrf51_soc.h
index 39e613e1c9..e06f0304b4 100644
--- a/include/hw/arm/nrf51_soc.h
+++ b/include/hw/arm/nrf51_soc.h
@@ -38,6 +38,7 @@ typedef struct NRF51State {
MemoryRegion iomem;
MemoryRegion sram;
MemoryRegion flash;
+ MemoryRegion clock;
uint32_t sram_size;
uint32_t flash_size;