Skip to content

Commit 826e378

Browse files
tomchyrlubos
authored andcommitted
[nrf noup] boot: Add nRF54LC10 board
Add missing entries to support nRF54LC10 boards. Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no> (cherry picked from commit 5dac23b)
1 parent c1d2d12 commit 826e378

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

boot/zephyr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ config MCUBOOT_CLEANUP_RAM
554554
config NCS_MCUBOOT_DISABLE_SELF_RWX_SUPPORTED
555555
bool
556556
default y if SOC_NRF54L15_CPUAPP || SOC_NRF54L10_CPUAPP || SOC_NRF54L05_CPUAPP
557-
default y if SOC_NRF54LV10A_CPUAPP
557+
default y if SOC_NRF54LV10A_CPUAPP || SOC_NRF54LC10A_CPUAPP
558558
default y if SOC_NRF54LM20A_CPUAPP || SOC_NRF54LM20B_CPUAPP
559559
default y if SOC_NRF54LS05B_CPUAPP
560560

boot/zephyr/main.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ K_SEM_DEFINE(boot_log_sem, 1, 1);
195195
#if defined(CONFIG_SOC_NRF54L15_CPUAPP) || defined(CONFIG_SOC_NRF54L05_CPUAPP) || \
196196
defined(CONFIG_SOC_NRF54L10_CPUAPP)
197197
#define MAX_PROTECTED_REGION_SIZE (31 * 1024)
198-
#elif defined(CONFIG_SOC_NRF54LV10A_CPUAPP) || defined(CONFIG_SOC_NRF54LM20A_CPUAPP) || \
199-
defined(CONFIG_SOC_NRF54LM20B_CPUAPP)
198+
#elif defined(CONFIG_SOC_NRF54LV10A_CPUAPP) || defined(CONFIG_SOC_NRF54LC10A_CPUAPP) || \
199+
defined(CONFIG_SOC_NRF54LM20A_CPUAPP) || defined(CONFIG_SOC_NRF54LM20B_CPUAPP)
200200
#define MAX_PROTECTED_REGION_SIZE (127 * 1024)
201201
#elif defined(CONFIG_SOC_NRF54LS05B_CPUAPP)
202202
#define MAX_PROTECTED_REGION_SIZE (1023 * 1024)
@@ -975,7 +975,8 @@ int main(void)
975975
#ifdef CONFIG_SOC_SERIES_NRF54L
976976
#if defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54L10) || defined(CONFIG_SOC_NRF54L05)
977977
BUILD_ASSERT(FPROTECT_REGION_SIZE <= (62 * 1024), "Can not FPROTECT region that big");
978-
#elif defined(CONFIG_SOC_NRF54LM20A) || defined(CONFIG_SOC_NRF54LM20B) || defined(CONFIG_SOC_NRF54LV10A)
978+
#elif defined(CONFIG_SOC_NRF54LM20A) || defined(CONFIG_SOC_NRF54LM20B) || defined(CONFIG_SOC_NRF54LV10A) || \
979+
defined(CONFIG_SOC_NRF54LC10A)
979980
BUILD_ASSERT(FPROTECT_REGION_SIZE <= (254 * 1024), "Can not FPROTECT region that big");
980981
#else
981982
#error Fprotect unsupported SOC

0 commit comments

Comments
 (0)