- Feb 11, 2021
-
-
Lionel Debieve authored
In case of monitor in DDR, BL2 exports the low power functions using the context. Adapt BL2 to embed the critical section and context to share the corresponding information. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: I198a50f3f15ab0e54d9e65e23da3d1c6fe3f8df5 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/182043 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com>
-
- Feb 05, 2021
-
-
Pascal Paillet authored
STGEN should also be saved before entering in Stop mode, because its clock may be gated. Signed-off-by:
Pascal Paillet <p.paillet@st.com> Change-Id: I864c3241e4c4daaec7eb32a17a6a8b5d90f0e999
-
- Jan 13, 2021
-
-
Etienne Carriere authored
When RCC[TZEN] is enabled secure world needs to save the secure and non-secure clock configuration settings and restore them when resuming. Function stm32mp1_clk_mpu_suspend()/stm32mp1_clk_mpu_resume() are made local and renamed clk_mpu_suspend()/clk_mpu_resume(). The overall clock configuration is saved with stm32mp1_clock_suspend() and restored with stm32mp1_clock_resume(). Change-Id: I1fc0c693c59ffe972961c2b23f30a39a520f3aaa Signed-off-by:
Etienne Carriere <etienne.carriere@st.com>
-
Etienne Carriere authored
When TF-A BL2 boots an OP-TEE, the OP-TEE may be a old version that provides a V1 PM context. In such case, precomputed PLL1 settings are not available in the wakeup context and shall be recomputed. With this stm32_get_pll1_settings_from_context() has a return value that states if the PLL1 settings were restored. Change-Id: Ia561e4ee42a788bc14a05e583650c5eb050131fd Signed-off-by:
Etienne Carriere <etienne.carriere@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/153628 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com>
-
Lionel Debieve authored
When coming back from standby, the backup value must be restored with the sleep time. Rework the function to add a backup counter value to be added to the sleep time and move stgen functions to stm32mp generic code. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: I978a591a3a344561758117742b0dcdd862e1a6f0
-
Nicolas Le Bayon authored
All OPP PLL1 settings are computed during cold boot and saved in RAM. During standby mode transitions, they are saved in the context and restored when coming back to normal mode. stm32_get_pll1_settings_from_context() is added to get easily them in BL2. stm32_are_pll1_settings_valid_in_context() is used in BL32 and determines if settings are already computed or not. Change-Id: I8bfe925be4e9a0dd2cce8bf5486f54584d1d1716 Signed-off-by:
Nicolas Le Bayon <nicolas.le.bayon@st.com>
-
Yann Gautier authored
Change-Id: I8e0ba794e5ded1290fb83fe8d43ce54d4dc0e320 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
- Nov 26, 2020
-
-
Patrick Delaunay authored
Add function stm32_get_boot_interface to get the current boot interface from information saved in the TAMP register. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I6e99fe172d895fd9d8dcb8d827b949d0e89b7879 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/180870 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
- Nov 08, 2018
-
-
Antonio Nino Diaz authored
All identifiers, regardless of use, that start with two underscores are reserved. This means they can't be used in header guards. The style that this project is now to use the full name of the file in capital letters followed by 'H'. For example, for a file called "uart_example.h", the header guard is UART_EXAMPLE_H. The exceptions are files that are imported from other projects: - CryptoCell driver - dt-bindings folders - zlib headers Change-Id: I50561bf6c88b491ec440d0c8385c74650f3c106e Signed-off-by:
Antonio Nino Diaz <antonio.ninodiaz@arm.com>
-
- Jul 24, 2018
-
-
Yann Gautier authored
This will be used by BL33 to get boot device and instance. Signed-off-by:
Yann Gautier <yann.gautier@st.com> Signed-off-by:
Mathieu Belou <mathieu.belou@st.com> Signed-off-by:
Lionel Debieve <lionel.debieve@st.com>
-