zephyr/arch/arm
Marti Bolivar bf2d34ba30 arm: cortex-m: allow configurable ROM offset
Currently, ARM Cortex-M image ROMs are linked starting at the flash
device's base address (CONFIG_FLASH_BASE_ADDRESS). This prevents XIP
Zephyr applications from being linked to run from elsewhere on the
flash device. Linking Zephyr applications to run from elsewhere can be
necessary when running under a bootloader (i.e., booting into a Zephyr
application from a bootloader, not using Zephyr as a bootloader).

To enable this use case, add a new config option: FLASH_LOAD_OFFSET.
This option directs the linker to treat ROM as if it started that many
bytes from the base of flash on Cortex-M targets. The option defaults
to zero to preserve backwards compatibility.

Change-Id: I64f82aee257c19c2451f9789b0ab56999775b761
Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
2017-02-22 18:08:57 -06:00
..
core arm: cortex-m: allow configurable ROM offset 2017-02-22 18:08:57 -06:00
include arm: cmsis: Convert _ClearFaults to use direct CMSIS register access 2017-02-10 14:47:41 -06:00
soc qemu_cortex_m3: fixed network connectivity 2017-02-15 01:36:27 +00:00
Kbuild soc: arm: add Makefiles one level up 2016-04-22 21:33:26 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile build: move qemu definitions to boards 2017-01-10 20:20:47 +00:00
defconfig arm: systick: Some SoCs do not have systick 2016-11-27 19:39:26 +00:00