diff options
author | Steffen Görtz | 2019-01-07 16:23:47 +0100 |
---|---|---|
committer | Peter Maydell | 2019-01-07 16:23:47 +0100 |
commit | b39dced66ac2612e89c9c822b6cb7b63c0de7f43 (patch) | |
tree | d361fd6fda67ca16f150ef3efa9984f81ba20344 /include/hw/arm/nrf51_soc.h | |
parent | tests/microbit-test: Add Tests for nRF51 Timer (diff) | |
download | qemu-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.h | 1 |
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; |