kconfig: Rename USE_CODE_PARTITION to USE_DT_CODE_PARTITION

USE_CODE_PARTITION is a bit vague as a symbol name ("use code partition
how?"). Rename it to USE_DT_CODE_PARTITION to make it clearer that it's
about devicetree.

This would break any third-party configuration files that set it, but
it'll generate an error since kconfig.py promotes warnings to errors, so
it's probably not a big deal.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-11-16 01:22:16 +01:00 committed by Anas Nashif
commit 90b9eb3a9e
3 changed files with 12 additions and 12 deletions

View file

@ -28,7 +28,7 @@
#define VECTOR_SIZE CONFIG_RISCV_RV32M1_VECTOR_SIZE
#ifdef CONFIG_USE_CODE_PARTITION
#ifdef CONFIG_USE_DT_CODE_PARTITION
#ifdef CONFIG_BOOTLOADER_MCUBOOT