This is a series of changes to the NRF51 SOC and the microbit board. The changes can not be posted as patches as the nrf51 is not mergable yet due to missing cortex-m0/armv6 support.
"arm: Add NRF51 random number generator peripheral" was already posted to devel and is being discussed in <20180626104943.2756-1-cont...@steffen-goertz.de> "arm: Add NRF51 SOC non-volatile memory controller" was already posted to devel and is being discussed in <20180626093204.27612-1-cont...@steffen-goertz.de> Steffen Görtz (8): arm: NRF51/Microbit Memory container and SOC variants arm: NRF51 Add unimplemented device for MMIO arm: NRF51 create UART in-place, error handling arm: NRF51 Calculate peripheral id from base address arm: Add NRF51 random number generator peripheral arm: Add UICR/FICR handling to NRF51 SOC arm: Add NRF51 SOC non-volatile memory controller arm: Instantiate NVMC in NRF51. hw/arm/microbit.c | 8 +- hw/arm/nrf51_soc.c | 332 ++++++++++++++++++++++++++-------- hw/char/nrf51_uart.c | 10 +- hw/misc/Makefile.objs | 1 + hw/misc/nrf51_rng.c | 243 +++++++++++++++++++++++++ hw/nvram/Makefile.objs | 1 + hw/nvram/nrf51_nvmc.c | 168 +++++++++++++++++ include/hw/arm/nrf51_soc.h | 38 +++- include/hw/char/nrf51_uart.h | 26 +-- include/hw/misc/nrf51_rng.h | 73 ++++++++ include/hw/nvram/nrf51_nvmc.h | 51 ++++++ 11 files changed, 845 insertions(+), 106 deletions(-) create mode 100644 hw/misc/nrf51_rng.c create mode 100644 hw/nvram/nrf51_nvmc.c create mode 100644 include/hw/misc/nrf51_rng.h create mode 100644 include/hw/nvram/nrf51_nvmc.h -- 2.17.1