zephyr/include/arch
David Brown fe7aa3f4fa misc: Allow flash image size to be constrained
The CONFIG_FLASH_LOAD_OFFSET allows the zephyr image to be placed at
an offset from the start of flash.  This is useful for situations,
such as with a bootloader, to allow the image to not occupy the very
beginning of flash.

Complement this by adding a CONFIG_FLASH_LOAD_SIZE config, that can
constrain the size of the flash image.  With the default of zero, the
behavior is as before, with the image allowed to occupy the rest of
the flash.  It can also be defined to a non-zero value which will
constrain the image to occupy that many bytes of flash.

Although this is defined generally, it is currently only supported on
cortex-m targets.

Change-Id: I6e4a0e79c8459f931cd4757c932d20dac740f5f6
Signed-off-by: David Brown <david.brown@linaro.org>
2017-04-14 01:35:59 +00:00
..
arc Revert "sys_bitfield*(): use 'void *' instead of memaddr_t" 2017-02-28 16:06:22 -05:00
arm misc: Allow flash image size to be constrained 2017-04-14 01:35:59 +00:00
nios2 kernel: remove remaining microkernel references 2017-04-10 20:21:05 +00:00
riscv32 riscv32: added support for the SiFive Freedom E310 SOC 2017-04-02 15:15:07 +00:00
x86 kernel: remove all remaining references to nanokernel 2017-04-10 20:21:10 +00:00
xtensa xtensa: conditionally define endianness macros 2017-04-13 20:33:27 +00:00
cpu.h Xtensa port: Added support in arch/cpu.h for Xtensa cores. 2017-02-13 08:04:27 -08:00