STM32mp13 Possible ways to write to RCC_SECCFGR (linux/yocto)
Good morning,
fairly new to this mpu family, I did a bit of a research but I'd like to get pointed to the correct procedure to, for instance, change bit 31 of RCC_SECCFGR.
This register would allow me for example to modify also PWR_CR1:BDP and PWR_CR2:MONEN registers/bits by unblocking PWR registers protection.
Assuming I'm working in a yocto/meta-st environment my first thought is to patch optee-os-stm32mp to modify that register and the PWR registers too since this kind of operations usually require secure context.
Question:
- Is there any easier approach, or high level approach (eg from uboot or kernel through SCMI) ?
Thanks in advance.
