Skip to content

Commit f6950ff

Browse files
khoa-nguyen-18KhiemNguyenT
authored andcommitted
hal: renesas: ra: Update the condition for assigning OFS value
Update bsp_linker.c condition to check CONFIG_BOOTLOADER_MCUBOOT Signed-off-by: Khoa Nguyen <[email protected]>
1 parent 81602cb commit f6950ff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

drivers/ra/README

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ Patch List:
177177
Impacted files:
178178
zephyr/ra/ra_cfg/fsp_cfg/bsp/ra8p1/bsp_cfg.h
179179

180-
* Update bsp_linker.c condition to check CONFIG_BOOTLOADER_MCUBOOT and CONFIG_SOC_RA_SECOND_CORE_BUILD
180+
* Update bsp_linker.c condition to check CONFIG_BOOTLOADER_MCUBOOT
181181
Impacted files:
182182
drivers/ra/fsp/src/bsp/mcu/ra8d2/bsp_linker.c
183+
drivers/ra/fsp/src/bsp/mcu/ra8m2/bsp_linker.c

drivers/ra/fsp/src/bsp/mcu/ra8m2/bsp_linker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/* UNCRUSTIFY-OFF */
1010

1111
/* boot loaded applications cannot set ofs registers (only do so in the boot loader) */
12-
#ifndef BSP_BOOTLOADED_APPLICATION
12+
#ifndef CONFIG_BOOTLOADER_MCUBOOT
1313
/** configuration register output to sections */
1414
#if defined BSP_CFG_OPTION_SETTING_OFS0 && !BSP_TZ_NONSECURE_BUILD && (BSP_CFG_CPU_CORE == 0)
1515
BSP_DONT_REMOVE static const uint32_t BSP_PLACE_IN_SECTION(".option_setting_ofs0") g_bsp_cfg_option_setting_ofs0[] = {BSP_CFG_OPTION_SETTING_OFS0};

0 commit comments

Comments
 (0)