commit | 2f7688bfd3d3114ff039b5b3d1795a9388d6f355 | [log] [tgz] |
---|---|---|
author | Bobby Noelte <b0661n0e17e@gmail.com> | Thu Sep 14 20:23:53 2017 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Mon Oct 23 12:31:47 2017 +0200 |
tree | d39db61900f7df934bbf6c423e8b273e18fdc631 | |
parent | eaff37e21f8be53f8dd1f0233c6142c32cd3b788 [diff] |
arch: arm: core: fix vector table relocate write to flash Some SOCs (e.g. STM32F0) can map the flash to address 0 and the flash base address at the same time. Prevent writing to duplicate flash address which stops the SOC. Allow Cortex M SOCs to create their own vector table relocation function. Provide a relocation function for STM32F0x SOCs. Fixes #3923 Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>