]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(stm32mp1): update backup reg for FWU
authorYann Gautier <yann.gautier@st.com>
Mon, 28 Mar 2022 15:49:38 +0000 (17:49 +0200)
committerYann Gautier <yann.gautier@st.com>
Wed, 30 Mar 2022 11:34:59 +0000 (13:34 +0200)
commite633f9c52f7a6f48a65a7b131f96dc2af0529464
tree8762a333dea68d07a5d18c79994ab218bedce759
parentf78cb61a11da3d965be809ebf8b592a8c33f6473
refactor(stm32mp1): update backup reg for FWU

Change the backup register used to store FWU parameters from 21 to 10.
This is chosen to have a Read/Write secure and Read non-secure register.
The mapping is also changed: only the first 4 bits will be used to store
the FWU index. The 4 next bits will be used to store count info. The
other bits are reserved.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com>
Change-Id: I9249768287ec5688ba2d8711ce04d429763543d7
plat/st/stm32mp1/stm32mp1_private.c