| 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 ...
|
| 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 ...
|
| 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 ...
|
| 53612f72 | 18-Oct-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(plat/st): add a function to configure console
To ease console configuration, a dedicated function is created: stm32mp_uart_console_setup(). The code will also be common for the different BLs.
feat(plat/st): add a function to configure console
To ease console configuration, a dedicated function is created: stm32mp_uart_console_setup(). The code will also be common for the different BLs.
Change-Id: Idf3cad756f125ca2313cf30b1311637a9df8f27f Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| a6bfa75c | 16-Dec-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): add stm32_get_boot_interface function
Add function stm32_get_boot_interface to get the current boot interface from information saved in the TAMP register.
Change-Id: I23af43c68eeaeb
feat(stm32mp1): add stm32_get_boot_interface function
Add function stm32_get_boot_interface to get the current boot interface from information saved in the TAMP register.
Change-Id: I23af43c68eeaebe4c45920a57d739117aea3fbb1 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| 4dc77a35 | 10-Dec-2021 |
Yann Gautier <yann.gautier@st.com> |
refactor(stm32mp1): move stm32_save_boot_interface()
The function stm32_save_boot_interface()is moved to stm32mp1_private.c file. The files stm32mp1_context.{c,h} are removed. As return is always 0,
refactor(stm32mp1): move stm32_save_boot_interface()
The function stm32_save_boot_interface()is moved to stm32mp1_private.c file. The files stm32mp1_context.{c,h} are removed. As return is always 0, change the function to return void. Call it earlier, to be able to use it when configuring console.
Change-Id: I8986e1257dc8e8708eab044a51ea1f2426b16597 Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|