| 14714755 | 07-Dec-2021 |
Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> |
feat(cpu): add library support for Poseidon CPU
This patch adds the basic CPU library code to support the Poseidon CPU in TF-A. Poseidon is derived from HunterELP core, an implementation of v9.2 arc
feat(cpu): add library support for Poseidon CPU
This patch adds the basic CPU library code to support the Poseidon CPU in TF-A. Poseidon is derived from HunterELP core, an implementation of v9.2 architecture. Currently, Hunter CPU the predecessor to HunterELP, is supported in TF-A. Accordingly the Hunter CPU library code has been as the base and adapted here.
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> Change-Id: I406b4de156a67132e6a5523370115aaac933f18d
show more ...
|
| 9afa5a9e | 28-Jan-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "docs(changelog): add some missing ST drivers" into integration |
| ca88c761 | 09-Mar-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(stm32mp1): remove interrupt_provider warning for dtc
This warning can only be removed if the version is newer than v1.6.0.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I472
fix(stm32mp1): remove interrupt_provider warning for dtc
This warning can only be removed if the version is newer than v1.6.0.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I472a8e552305b563447e8148074a5c0970b429e3
show more ...
|
| a0e97243 | 28-Jan-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(stm32mp1-fdts): remove mmc1 alias if not needed
If a board declares an mmc1 alias in its DT and is compiled without flags STM32MP_EMMC or STM32MP_SDMMC, the DT will fail to build. Add /delete-pr
fix(stm32mp1-fdts): remove mmc1 alias if not needed
If a board declares an mmc1 alias in its DT and is compiled without flags STM32MP_EMMC or STM32MP_SDMMC, the DT will fail to build. Add /delete-property/ mmc1; to correct this.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I1938ff99dc3d883f9174ee886f9ffa195ec60373
show more ...
|
| 27254d9c | 27-Jan-2022 |
Yann Gautier <yann.gautier@st.com> |
docs(changelog): add some missing ST drivers
Some of the ST drivers were not listed, and had no scopes. Add BSEC, Crypto, DDR, I2C, FMC, GPIO, Regulator, Reset, SPI and Watchdog.
Signed-off-by: Yan
docs(changelog): add some missing ST drivers
Some of the ST drivers were not listed, and had no scopes. Add BSEC, Crypto, DDR, I2C, FMC, GPIO, Regulator, Reset, SPI and Watchdog.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I4441f160f778d4bf7686e24e7d2d3c8330891327
show more ...
|
| 24ce8d13 | 27-Jan-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "fix(nxp-drivers): ddr: corrects mapping of HNFs nodes" into integration |
| e672698c | 27-Jan-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "st-clk-updates" into integration
* changes: refactor(st-clock): update STGEN management feat(st-clock): assign clocks to the correct BL feat(st-clock): do not refcoun
Merge changes from topic "st-clk-updates" into integration
* changes: refactor(st-clock): update STGEN management feat(st-clock): assign clocks to the correct BL feat(st-clock): do not refcount on non-secure clocks in bl32 feat(st-clock): define secure and non-secure gate clocks refactor(stm32mp1): remove unused refcount helper functions fix(stm32mp1): add missing debug.h refactor(st-clock): use refcnt instead of secure status
show more ...
|
| 591d80c8 | 04-Dec-2019 |
Lionel Debieve <lionel.debieve@st.com> |
refactor(st-clock): update STGEN management
Rework STGEN config function, and move it to stm32mp_clkfunc.c file.
Change-Id: I7784a79c486d1b8811f6f8d123e49ea34899e9b6 Signed-off-by: Lionel Debieve <
refactor(st-clock): update STGEN management
Rework STGEN config function, and move it to stm32mp_clkfunc.c file.
Change-Id: I7784a79c486d1b8811f6f8d123e49ea34899e9b6 Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 7418cf39 | 17-Jan-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(st-clock): assign clocks to the correct BL
Some clocks are only required in BL2, like boot devices clocks: FMC, QSPI. Some clocks are only used in BL32: Timers, devices that need special care f
feat(st-clock): assign clocks to the correct BL
Some clocks are only required in BL2, like boot devices clocks: FMC, QSPI. Some clocks are only used in BL32: Timers, devices that need special care for independent reset.
Change-Id: Id4ba99afeea5095f419a86f7dc6423192c628d82 Signed-off-by: Etienne Carriere <etienne.carriere@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 3d69149a | 27-Oct-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(st-clock): do not refcount on non-secure clocks in bl32
This change removes reference counting support in clock gating implementation for clocks that rely on non-secure only RCC resources. As R
feat(st-clock): do not refcount on non-secure clocks in bl32
This change removes reference counting support in clock gating implementation for clocks that rely on non-secure only RCC resources. As RCC registers are accessed straight by non-secure world for these clocks, secure world cannot safely store the clock state and even disabling such clock from secure world can jeopardize the non-secure world clock management framework and drivers.
As a consequence, for such clocks, stm32_clock_enable() forces the clock ON without any increment of a refcount and stm32_clock_disable() does not disable the clock.
Change-Id: I0cc159b36a25dbc8676f05edf2668ae63c640537 Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
show more ...
|
| aaa09b71 | 27-Oct-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(st-clock): define secure and non-secure gate clocks
Array stm32mp1_clk_gate[] defines the clock resources. This change add a secure attribute to the clock: secure upon RCC[TZEN] (SEC), secure u
feat(st-clock): define secure and non-secure gate clocks
Array stm32mp1_clk_gate[] defines the clock resources. This change add a secure attribute to the clock: secure upon RCC[TZEN] (SEC), secure upon RCC[TZEN] and RCC[MCKPROT] (MKP) or always accessible from non-secure (N_S).
At init, lookup clock tree to check if any of the secure clocks is derived from PLL3 in which case PLL3 shall be secure.
Note that this change does not grow byte size of stm32mp1_clk_gate[].
Change-Id: I933d8a30007f3c72f755aa1ef6d7e6bcfabbfa9e Signed-off-by: Etienne Carriere <etienne.carriere@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| e1bfbf8a | 19-Jan-2022 |
Yann Gautier <yann.gautier@st.com> |
refactor(stm32mp1): remove unused refcount helper functions
Remove stm32mp_incr_shrefcnt(), stm32mp_decr_shrefcnt(), stm32mp_incr_refcnt() and stm32mp_decr_refcnt() that are unused. The file is then
refactor(stm32mp1): remove unused refcount helper functions
Remove stm32mp_incr_shrefcnt(), stm32mp_decr_shrefcnt(), stm32mp_incr_refcnt() and stm32mp_decr_refcnt() that are unused. The file is then just removed.
Change-Id: I09ee23c02317df5d8f71cbc355d3ed4a67ce2749 Signed-off-by: Etienne Carriere <etienne.carriere@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 356ed961 | 27-Jan-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(stm32mp1): add missing debug.h
Due to stm32mp_shres_helpers.h removal, the debug.h header is no more included. It should then be added to stm32mp1_boot_device.c.
Signed-off-by: Yann Gautier <ya
fix(stm32mp1): add missing debug.h
Due to stm32mp_shres_helpers.h removal, the debug.h header is no more included. It should then be added to stm32mp1_boot_device.c.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I397911ac05fdff464c010cf3b2e04320a781b4aa
show more ...
|
| 2444d231 | 19-Jan-2022 |
Yann Gautier <yann.gautier@st.com> |
refactor(st-clock): use refcnt instead of secure status
Rework the internal functions __stm32mp1_clk_enable/disable to check for reference count instead of secure status for a clock. Some functions
refactor(st-clock): use refcnt instead of secure status
Rework the internal functions __stm32mp1_clk_enable/disable to check for reference count instead of secure status for a clock. Some functions now unused can be removed.
Change-Id: Ie4359110d7144229f85c961dcd5a019222c3fd25 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 222eb8c7 | 27-Jan-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "fwu-on-stm32mp1" into integration
* changes: feat(stm32mp1): add support for building the FWU feature feat(stm32mp1): add logic to pass the boot index to the Update Age
Merge changes from topic "fwu-on-stm32mp1" into integration
* changes: feat(stm32mp1): add support for building the FWU feature feat(stm32mp1): add logic to pass the boot index to the Update Agent feat(stm32mp1): add support for reading the metadata partition feat(stm32mp1): add logic to select the images to be booted feat(stm32mp1): add GUID's for identifying firmware images to be booted feat(stm32mp1): add GUID values for updatable images feat(fwu): add platform hook for getting the boot index feat(fwu): simplify the assert to check for fwu init feat(fwu): add a function to pass metadata structure to platforms feat(partition): add a function to identify a partition by GUID feat(partition): copy the partition GUID into the partition structure feat(partition): make provision to store partition GUID value feat(partition): cleanup partition and gpt headers feat(fwu): add basic definitions for GUID handling feat(fwu): pass a const metadata structure to platform routines build(changelog): add a valid scope for partition code
show more ...
|
| ad216c10 | 10-Nov-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(stm32mp1): add support for building the FWU feature
Add support for enabling the FWU multi bank boot feature on the platform.
Currently, this feature is supported on the STM32MP157C-DK2 board,
feat(stm32mp1): add support for building the FWU feature
Add support for enabling the FWU multi bank boot feature on the platform.
Currently, this feature is supported on the STM32MP157C-DK2 board, which boots off a uSD card. Also, support has been enabled when booting from a FIP image.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: Ia69e858461e2daf599d41d66d7ff2ccae0c341c2
show more ...
|
| ba02add9 | 01-Dec-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(stm32mp1): add logic to pass the boot index to the Update Agent
With the FWU Multi Bank update feature, the platform can boot from one of multiple banks(partitions). Pass the value of bank from
feat(stm32mp1): add logic to pass the boot index to the Update Agent
With the FWU Multi Bank update feature, the platform can boot from one of multiple banks(partitions). Pass the value of bank from which the platform has booted as boot index to the Update Agent. The Update Agent will match this boot index value against the active_index field in the metadata, and update the metadata if there is a mismatch.
Fow now, the mechanism to pass the boot index is platform specific. On the STM32MP1 platform, the boot index value is passed through a memorey mapped TAMP register on the SoC.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I0aa665ff9c1db95be8ae19ed8de6d866587d6850
show more ...
|
| 0ca180f6 | 01-Dec-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(stm32mp1): add support for reading the metadata partition
Add support for reading the FWU metadata partition. The metadata partition stores information on the current active bank along with inf
feat(stm32mp1): add support for reading the metadata partition
Add support for reading the FWU metadata partition. The metadata partition stores information on the current active bank along with information on all the FWU updatable images on the platform. This information is then used to identify the image to be booted.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I66bc5ac718c21a49c504e698b5b1f5c4daed2d08
show more ...
|
| 8dd75531 | 01-Dec-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(stm32mp1): add logic to select the images to be booted
With the FWU multi bank boot feature enabled, the platform can boot from one of the multiple banks(partitions) containing the firmware ima
feat(stm32mp1): add logic to select the images to be booted
With the FWU multi bank boot feature enabled, the platform can boot from one of the multiple banks(partitions) containing the firmware images. The bank whose firmware components are to be booted is read from the FWU metadata structure -- the image to be booted is thus derived by reading the metadata.
Read the metadata and set the image spec of the corresponding image type to point to the partition from which the image is to be booted.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I3dfdc7e9202859e917ec4e1f7d1855aad42c6b70
show more ...
|
| 41bd8b9e | 10-Nov-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(stm32mp1): add GUID's for identifying firmware images to be booted
Add GUID's for identifying the firmware image type. With the FWU multi bank boot feature enabled, these GUID values are used t
feat(stm32mp1): add GUID's for identifying firmware images to be booted
Add GUID's for identifying the firmware image type. With the FWU multi bank boot feature enabled, these GUID values are used to identify the firmware image to be booted. This is done by matching GUID values of images in the io policy table with the Image GUID value that is read from the FWU metadata structure.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: Id9751f02f95fc48ef68e4e3f9f0ddbf6d6319d3c
show more ...
|
| 8d6b4764 | 02-Jul-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(stm32mp1): add GUID values for updatable images
With the FWU multi bank feature enabled, the identification of firmware image type is done using the image type GUID instead of binary_type field
feat(stm32mp1): add GUID values for updatable images
With the FWU multi bank feature enabled, the identification of firmware image type is done using the image type GUID instead of binary_type field.
Add GUID values for the FIP image which can be updated through the FWU firmware update feature. The GUID values are used in identifying the firmware images.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: If7d9356aa8d2bb3fbcbc87100e6972f1a1862921
show more ...
|
| 40c175e7 | 01-Dec-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(fwu): add platform hook for getting the boot index
Add a platform hook for returning the boot index, i.e. the bank from which the platform has booted the updatable firmware images. This value w
feat(fwu): add platform hook for getting the boot index
Add a platform hook for returning the boot index, i.e. the bank from which the platform has booted the updatable firmware images. This value will be passed to the Update Agent.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: Ic7bef21071c48cfc7b69c50e89df9ff758d95b00
show more ...
|
| 40b085bd | 01-Dec-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(fwu): simplify the assert to check for fwu init
Simplify the assert to check if the FWU subsystem has been initialised in the fwu_is_trial_run_state function.
Signed-off-by: Sughosh Ganu <sugh
feat(fwu): simplify the assert to check for fwu init
Simplify the assert to check if the FWU subsystem has been initialised in the fwu_is_trial_run_state function.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I428668470ebd4b67e68777a62d5732cb96841ab9
show more ...
|
| 9adce87e | 01-Dec-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(fwu): add a function to pass metadata structure to platforms
Add a helper function to pass the metadata structure to the platforms. Platforms can then read the metadata structure and pass the b
feat(fwu): add a function to pass metadata structure to platforms
Add a helper function to pass the metadata structure to the platforms. Platforms can then read the metadata structure and pass the boot index value, i.e. the bank(partition) from which the firmware images were booted, to the Update Agent.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I571179b9baa0fbc4d0f08d7a6e3b50c0c7165c5c
show more ...
|
| 3cb10655 | 10-Nov-2021 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(partition): add a function to identify a partition by GUID
With the GPT partition scheme, a partition can be identified using it's UniquePartitionGUID, instead of it's name. Add a function to i
feat(partition): add a function to identify a partition by GUID
With the GPT partition scheme, a partition can be identified using it's UniquePartitionGUID, instead of it's name. Add a function to identify the partition based on this GUID value. This functionality is useful in identification of a partition whose UniquePartitionGUID value is known.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Change-Id: I543f794e1f7773f969968a6bce85ecca6f6a1659
show more ...
|