- Feb 05, 2021
-
-
Lionel Debieve authored
Based on FCONF framework, define DDR firewall regions from firmware config file instead of static defines. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: I471e15410ca286d9079a86e3dc3474f66d37b5ab
-
Lionel Debieve authored
Add a new function that allows to enable or disabled filters on configured regions dynamically. This will avoid to reconfigure the entire attribute and just manage to enable/disable filters. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: If0937ca755bec6c45d3649718147108459682fff Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/178510 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com>
-
Lionel Debieve authored
Add the UUID into the io policies node that are retrieved by BL2 using stm32mp_fconf_io.c populate function. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: I595d5a41a1e0a27fcc02ea2ab5495d9dbf0e6773 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/178509 Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com>
-
Lionel Debieve authored
Introduce io policies management through the trusted boot device tree for uuid references. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: Ibeeabede51b0514ebba26dbbdae587363b2aa0a7
-
Lionel Debieve authored
Change-Id: I909b5bae9f827a7274ed4d0877f7befcf51162b6 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Lionel Debieve authored
Simplify the BL2 MMU mapping and reduce the memory regions number. Split the XLAT define between BL2 and BL32 as binaries do not share the same tables anymore. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: Iaf09e72b4cc29acbe376f6f1cd2a8116c793ba26
-
Lionel Debieve authored
Avoid parsing device tree every time when returning the DDR size. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: I3dd1958f37d806f9c15a5d4151968935f6fe642e
-
Yann Gautier authored
Change-Id: I31ecbe922a32be5f370a52037160d8544bc82688 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
A new flag STM32MP_DDR_DUAL_AXI_PORT is added, and enabled by default. It will allow choosing single or dual AXI ports for DDR. Change-Id: I48826a66a6f4d18df87e081c0960af89ddda1b9d Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Change-Id: Id2a4bc0895194b0c33bf7ea5d7cb435c46a74bea
-
Yann Gautier authored
Change-Id: I6486de200ddde5526fe64f4be8cb85fa3fe89431 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Add regsiters defines and helpers to check if a virtual address is secured. Change-Id: I14d36dee5cb3356ce41054de9157b58b47ac463f Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Bernard Puel authored
Add contributing guide to STMicroelectronics/arm-trusted-firmware repository. Change-Id: I35578a640c86c3cd2118a691293d3968425d7bb7 Signed-off-by:
Bernard Puel <bernard.puel@st.com> Signed-off-by:
Lionel Debieve <lionel.debieve@st.com>
-
Yann Gautier authored
In stm32_apply_pmic_suspend_config(), the node_name string was assigned before the check on mode was done. Assign it after the assert on mode is done. Change-Id: I17a6f8d214f30b9199460cd3b8f6e6696b585182 Signed-off-by:
Yann Gautier <yann.gautier@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/178484 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com>
-
Yann Gautier authored
Change-Id: I56d12ae9347e5b67cff2cfd0dff3f365f82316a6
-
Yann Gautier authored
Change-Id: Iedaf0f7058249a1e30610de8366e422c70f3b2c2
-
Yann Gautier authored
Change-Id: I544654eadfb9bac86683c191ea69299612c8ec51 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Change-Id: I320dde13d0205190ee23f08d0c0318a07a336ab0
-
Yann Gautier authored
On STM32MP15, filters 0 and 1 are used. Use (BIT(1) | BIT(0)) instead of U(3). Change-Id: Ibc61823842ade680f59d5b66b8db59b6a30080e4 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
BSEC needs to be initialized early, especially to check debug features. SYSCFG can be initialized later, after console is up, to display the warnings or messages it could issue. Change-Id: Icc3a1366083a1b1fde7f0e173645449b4c04c49b Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
There is no more pwr-regulator subnode in pwr node. Directly check the property vdd-supply in pwr node. Remove some useless traces. Change-Id: If4941b9812917e0571a0fe3c0d9a4da13d263171 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Only NAND memory map area can be of interest in BL2 in the DEVICE2 area. Map DEVICE2 under STM32MP_RAW_NAND flag. Change-Id: I7e3b39579e4a2525b25cb1987d6ec38038d0de2b Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Use STM32MP_HEADER_RESERVED_SIZE macro instead of a fixed value 0x3000. Change-Id: I2702285c15aebaa1304a891c8aaabc949a912ba6 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
A reset_uart() function is created to improve readability in the function bl2_el3_plat_arch_setup(). The secure/non-secure registering is removed as it is just stubbed in BL2. Change-Id: Ib8d0319d3f4f54309848bc225b58608cea73bad9 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
This makes sp_min_get_bl33_ep_info() function more readable. Change-Id: I8bb97a5255d738bca9bbc70e77efe091811f8d38 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Call directly stm32mp_stgen_get_counter() in stm32mp_stgen_config(). Change-Id: I9227b51cb86d400ba30cc6ef65f968d5f4f5a126 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
This function is under LOG_LEVEL_VERBOSE flag, to help debugging clocks. Change-Id: I4a898c883bbecff8ebfaff156c97947e51697f03 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Add FW_CONFIG device tree files for all boards. The file content is for the moment common to all boards. It describes where the different images will be loaded. Change-Id: Id957b49b0117864136250bfc416664f815043ada Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
To have a more generic code, remove the Q from the *QSPI macros. Change-Id: I2fa94b54054036c2175df3dfddcb76eec1119ad2 Signed-off-by:
Yann Gautier <yann.gautier@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/175824 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Lionel DEBIEVE <lionel.debieve@st.com>
-
Yann Gautier authored
BL2 still uses the STM32 header binary format to be loaded from ROM code. BL32 and BL33 and their respective device tree files are now put together in a FIP file. One DTB is created for each BL. To reduce their sizes, 2 new dtsi file are in charge of removing useless nodes for a given BL. This is done because BL2 and BL32 share the same device tree files base. Change-Id: I1ffada0af58486d4cf6044511b51e56b52269817 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Change-Id: I73eaae4d04fbdf36affc73c52e357661cb9b107a Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Change-Id: I765f575449c3c1e552ae06ef7d0936d04e8f3163 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Nicolas Toromanoff authored
Introduce stm32_get_otp_value_from_idx() to read an OTP word based on its index in BSEC mapping. This change allows one to read several contiguous OTP words when the NVMEM layout defines an OTP area that includes several OTP words. One can call existing stm32_get_otp_index() to get the OTP BSEC base index based on the OTP area name and call stm32_get_otp_value_from_idx() for each target OTP words. Change-Id: I4aa76e5f7cb6432f160af05dc4898fe36b56cb8f Signed-off-by:
Nicolas Toromanoff <nicolas.toromanoff@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/156850 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Pascal Paillet authored
Auto-stop SMC is called by stm32 cpu-idle kernel driver in order to enter in Stop mode. Signed-off-by:
Pascal Paillet <p.paillet@st.com> Change-Id: I9b29a7a3fa7f77a4854bfccc20d068552f9cc58f
-
Pascal Paillet authored
psci_is_last_on_cpu() function becomes public. Signed-off-by:
Pascal Paillet <p.paillet@st.com> Change-Id: I393219d0ea01207c08289e91d96f0a33888de10f Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/176501 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by:
Lionel DEBIEVE <lionel.debieve@st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com>
-
Pascal Paillet authored
ARM_IRQ_SEC_SGI_6 is now used to wake-up the cpus from wfi. Tell the primary cpu to exit stm32_pwr_down_wfi(). Signed-off-by:
Pascal Paillet <p.paillet@st.com> Change-Id: I8539ffdbaff10caf1c88a0a7a86628b0658e024d Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/176500 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by:
Lionel DEBIEVE <lionel.debieve@st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com>
-
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
-
Yann Gautier authored
Change-Id: I0adb2c6bf21e840d6b795292357f3615361b767e Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Lionel Debieve authored
Avoid possible lock when the capture is not stable. Base the capture value to a define threshold. Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Change-Id: I11814031ba8ea17bd648e4829c86444c2a1b6e4a Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/170651 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>
-
Yann Gautier authored
Use errno values, or the return of called functions, instead of -1. Change-Id: If7b53de5cbfb4d2c9979bce0e594dd92bf07a77a Signed-off-by:
Yann Gautier <yann.gautier@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/161571 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by:
Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by:
Lionel DEBIEVE <lionel.debieve@st.com>
-