This patch adds a new STM32L4x5 SoC, it is necessary to add support for the B-L475E-IOT01A board. The implementation is derived from the STM32F405 SoC and NetduinoPlus2 board. The implementation contains no peripherals, only memory regions are implemented.
Changes from v5 to v6: - in `stm32l4x5_soc.c`: use boolean returned by `memory_region_init_rom()` and `memory_region_init_ram()` instead of checking `errp` Changes from v4 to v5: - in `b-l475e-iot01a.c`: adding missing machine/SoC parentship relation - in `b-l475e-iot01a.c`: renaming `SYSCLK_FRQ` macro to `MAIN_SYSCLK_FREQ_HZ` - in `b-l475e-iot01a.c`: fixing coding style issue - in `stm32l4x5_soc.h`: removing unused imports Changes from v3 to v4: - adding a documentation file for the B-L475E-IOT01A board Changes from v1 to v3: - changing the MIT license to GPL. Tested-by: Philippe Mathieu-Daudé <phi...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Acked-by: Alistair Francis <alistair.fran...@wdc.com> Signed-off-by: Arnaud Minier <arnaud.min...@telecom-paris.fr> Signed-off-by: Inès Varhol <ines.var...@telecom-paris.fr> Inès Varhol (2): hw/arm: Add minimal support for the STM32L4x5 SoC hw/arm: Add minimal support for the B-L475E-IOT01A board MAINTAINERS | 15 ++ configs/devices/arm-softmmu/default.mak | 1 + docs/system/arm/b-l475e-iot01a.rst | 46 ++++ docs/system/arm/stm32.rst | 6 +- docs/system/target-arm.rst | 1 + hw/arm/Kconfig | 11 + hw/arm/b-l475e-iot01a.c | 72 +++++++ hw/arm/meson.build | 2 + hw/arm/stm32l4x5_soc.c | 265 ++++++++++++++++++++++++ include/hw/arm/stm32l4x5_soc.h | 57 +++++ 10 files changed, 474 insertions(+), 2 deletions(-) create mode 100644 docs/system/arm/b-l475e-iot01a.rst create mode 100644 hw/arm/b-l475e-iot01a.c create mode 100644 hw/arm/stm32l4x5_soc.c create mode 100644 include/hw/arm/stm32l4x5_soc.h -- 2.43.0