From: OpenOCD-Gerrit <ope...@us...> - 2022-04-24 08:28:01
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 9de084e0067a86b8040f8ea2c3f46dff0b9e6a70 (commit) from 1c07229f8ca72e0f244e2289cefa28b65e21e774 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9de084e0067a86b8040f8ea2c3f46dff0b9e6a70 Author: Tomas Vanek <va...@fb...> Date: Tue Nov 30 10:33:41 2021 +0100 flash/nor/stm32f1x: add can_load_options flag for GD32F1x0, F3x0 and E23x According to GigaDevice user manuals the devices have OBRLD bit in FMC_CTL register which is functionally compatible with OBL_LAUNCH @ FLASH_CR of STM32 counterparts. Change-Id: I84d231b38815fcb6452fd73b9153b269cce3b737 Signed-off-by: Tomas Vanek <va...@fb...> Reviewed-on: https://review.openocd.org/c/openocd/+/6759 Tested-by: jenkins Reviewed-by: Andrzej SierżÄga <as...@gm...> diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index dea8df759..c750ff080 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -896,10 +896,12 @@ static int stm32x_probe(struct flash_bank *bank) stm32x_info->user_data_offset = 16; stm32x_info->option_offset = 6; max_flash_size_in_kb = 64; + stm32x_info->can_load_options = true; break; case 0x1704: /* gd32f3x0 */ stm32x_info->user_data_offset = 16; stm32x_info->option_offset = 6; + stm32x_info->can_load_options = true; break; case 0x1906: /* gd32vf103 */ break; @@ -907,6 +909,7 @@ static int stm32x_probe(struct flash_bank *bank) stm32x_info->user_data_offset = 16; stm32x_info->option_offset = 6; max_flash_size_in_kb = 64; + stm32x_info->can_load_options = true; break; } break; ----------------------------------------------------------------------- Summary of changes: src/flash/nor/stm32f1x.c | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- Main OpenOCD repository |