This series adds support for configuring device reset handler priority, and uses it to ensure that the ARMv7-M CPU reset handler is invoked after the ROM reset handler.
This fixes the STM32F405 boot failure issue when the kernel ELF image has the text and rodata sections linked at the non-aliased flash memory address (0x8000000), which is the default configuration used by many toolchains. Stephanos Ioannidis (2): hw/core: Support device reset handler priority hw/arm/armv7m: Downgrade CPU reset handler priority hw/arm/armv7m.c | 3 ++- hw/core/reset.c | 32 ++++++++++++++++++++++++++++++-- include/sysemu/reset.h | 24 ++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 3 deletions(-) -- 2.17.1