mcuboot/boot/zephyr
Marti Bolivar 51181cf34f zephyr: add "real" target header
MCUBOOT_TARGET_CONFIG is included in several places now,
not just boot/zephyr/main.c. This seems likely to continue.

Let's avoid trouble and make it a real header file, target.h, that
pulls in MCUBOOT_TARGET_CONFIG. That done, include target.h instead
everywhere MCUBOOT_TARGET_CONFIG is included.

This will make it easier to provide values at an SoC/family level
later.  We can expect different Zephyr boards to have the same SoC and
thus likely the same mcuboot flash layout, so this will avoid
duplication.

All supported boards are compile-tested.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
2017-03-21 15:39:46 -04:00
..
include zephyr: add "real" target header 2017-03-21 15:39:46 -04:00
targets Move arduino_101.conf to boot/zephyr/. 2017-03-16 15:06:20 -04:00
Makefile zephyr: restructure the build process to use board config files 2017-01-19 10:26:40 -02:00
arduino_101.conf arduino_101: disable some additional options 2017-03-16 15:22:25 -07:00
flash_map.c zephyr: add "real" target header 2017-03-21 15:39:46 -04:00
hal_flash.c zephyr: add "real" target header 2017-03-21 15:39:46 -04:00
keys.c zephyr: Support RSA, and ECDSA P-256 signing 2017-02-02 08:39:18 -07:00
main.c zephyr: add "real" target header 2017-03-21 15:39:46 -04:00
os.c zephyr: use SYS_LOG instead of printk 2017-01-19 19:51:35 -02:00
prj-p256.conf zephyr: disable clock before reset 2017-03-17 15:12:17 -04:00
prj.conf zephyr: disable clock before reset 2017-03-17 15:12:17 -04:00