Commit 288682c0 authored by Emanuele Di Santo's avatar Emanuele Di Santo Committed by Andrzej Puzdrowski
Browse files

boot: zephyr: do not override TEXT_SECTION_OFFSET

It is no longer necessary to override TEXT_SECTION_OFFSET when
BOARD_HAS_NRF5_BOOTLOADER. The nrf52840_pca10059 board no longer
overrides TEXT_SECTION_OFFSET but sets the correct FLASH_LOAD_OFFSET
instead, automatically.

Signed-off-by: default avatarEmanuele Di Santo <emdi@nordicsemi.no>
parent ea49cd0b
Loading
Loading
Loading
Loading
−12
Changes for boot/zephyr/Kconfig: 0 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -14,18 +14,6 @@ config MCUBOOT
	select MPU_ALLOW_FLASH_WRITE if ARM_MPU
	select USE_CODE_PARTITION if HAS_FLASH_LOAD_OFFSET

if BOARD_HAS_NRF5_BOOTLOADER

# When compiling MCUBoot, the image will be linked to the boot partition.
# Override .text offset to make sure it is set to zero.
# This is necessary when other bootloaders set a different default for
# application images which are not bootloaders.

config TEXT_SECTION_OFFSET
	default 0x00

endif # BOARD_HAS_NRF5_BOOTLOADER

config BOOT_USE_MBEDTLS
	bool
	# Hidden option