| cb03020e | 27-Feb-2025 |
Harrison Mutai <harrison.mutai@arm.com> |
feat(measured-boot): make event log lib standalone
Remove dependencies on TF-A so the library can be conveniently exported by other projets. The main changes are to remove explicit error handling, a
feat(measured-boot): make event log lib standalone
Remove dependencies on TF-A so the library can be conveniently exported by other projets. The main changes are to remove explicit error handling, and ensure that functions instead return errno codes that consumers can rely on instead. Some work has also been done to make the function naming a little more consistent.
Change-Id: Ic182dfe7dd6f56a4b73e0da4c9051813938cfe44 Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| 9c640e09 | 28-Mar-2025 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
fix(s32g274a): reduce the uSDHC clock to 200MHz
Reduce the uSDHC clock to 200 MHz to ensure compatibility with the uSDHC driver and alignment with the S32G274A data sheet.
Change-Id: Ic67c750561890
fix(s32g274a): reduce the uSDHC clock to 200MHz
Reduce the uSDHC clock to 200 MHz to ensure compatibility with the uSDHC driver and alignment with the S32G274A data sheet.
Change-Id: Ic67c75056189075b1ba260e32426421e1e79a2e7 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 2fac89d1 | 26-Sep-2024 |
Bogdan Roman <bogdan-gabriel.roman@nxp.com> |
fix(guid-partition): fix MBR header load
In the case of GPT, the UEFI specification requires that the PMBR (Protective MBR) partition table contain one partition record, which starts at LBA 1, conta
fix(guid-partition): fix MBR header load
In the case of GPT, the UEFI specification requires that the PMBR (Protective MBR) partition table contain one partition record, which starts at LBA 1, containing the GPT Header. Hence, the field 'first_lba' of the first partition table entry of the PMBR should always be set to 1 when GPT is used. However, this is not the case for plain MBR.
The function load_mbr_header() should also work for plain MBR partitioning, so the check 'if (tmp.first_lba != 1)' has been relocated.
Change-Id: Iad990e61b2186c21f942537dfd140ed0e023ac4c Signed-off-by: Bogdan Roman <bogdan-gabriel.roman@nxp.com> Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 551c85e0 | 08-Mar-2025 |
Harrison Mutai <harrison.mutai@arm.com> |
refactor(measured-boot): standardize function names
Rename existing printer functions to follow the `event_log_{func}` convention used in other parts of the logging library. This is the first in a s
refactor(measured-boot): standardize function names
Rename existing printer functions to follow the `event_log_{func}` convention used in other parts of the logging library. This is the first in a series of changes to prepare the event log library to be a standalone component.
Change-Id: I11c924587c0f67af383f7c68d64d78bbe931cfcd Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| f63e0f0d | 09-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "bk/fvp_r" into integration
* changes: fix(tbbr): remove tbbr_cot_bl1_r64.c fix(xlat): remove xlat_mpu |
| a2328f2e | 09-Apr-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(tbbr): remove tbbr_cot_bl1_r64.c
The only platform to use this is fvp_r. As this platform is now gone, so is the need for this file. Remove it
Change-Id: If65f1c5f525283e19c8421cfa31498480370b9
fix(tbbr): remove tbbr_cot_bl1_r64.c
The only platform to use this is fvp_r. As this platform is now gone, so is the need for this file. Remove it
Change-Id: If65f1c5f525283e19c8421cfa31498480370b933 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 9347ff45 | 14-Nov-2024 |
Dhruva Gole <d-gole@ti.com> |
feat(ti): add support for TI mailbox driver
New devices like the AM62L will use a mailbox to communicate with the security firmware.
Change-Id: I33080d443d73d4aff685ada5b40c067a3ff6a137 Signed-off-
feat(ti): add support for TI mailbox driver
New devices like the AM62L will use a mailbox to communicate with the security firmware.
Change-Id: I33080d443d73d4aff685ada5b40c067a3ff6a137 Signed-off-by: Dhruva Gole <d-gole@ti.com>
show more ...
|
| c2dcc599 | 21-Mar-2025 |
Dhruva Gole <d-gole@ti.com> |
refactor(ti): add the sec hdr to the ti sci msg
We can make an assumption that since TF-A is a secure entity it will always communicate with a secure header present in all it's TI SCI messages, whet
refactor(ti): add the sec hdr to the ti sci msg
We can make an assumption that since TF-A is a secure entity it will always communicate with a secure header present in all it's TI SCI messages, whether received or transmitted. Hence, just add the sec hdr to the TI SCI header itself and get rid of any logic that aims to skip these secure header bytes (like it was being done in sec proxy for eg.) No functional change expected. Hence, preserved the bits from the previous sec proxy driver implementation where we zero out the chksum.
Change-Id: Id332276c038549e87dda1969b8dc90bcb19bf1ca Signed-off-by: Dhruva Gole <d-gole@ti.com>
show more ...
|
| a8de9718 | 27-Mar-2025 |
Dhruva Gole <d-gole@ti.com> |
refactor(ti): rename the k3_sec_proxy_chan_id
As part of further abstracting the transport layer, let's be more consistent with the naming conventions. So, let's get rid of the k3_sec_proxy_chan_id
refactor(ti): rename the k3_sec_proxy_chan_id
As part of further abstracting the transport layer, let's be more consistent with the naming conventions. So, let's get rid of the k3_sec_proxy_chan_id names with something more generic like ti_sci_transport_chan_id and RX/TX_SECURE_TRANSPORT_CHANNEL_ID for the enums
Change-Id: Iadf9255b5fbeffa2e5b3d9e6d85ba68fe5010c5b Signed-off-by: Dhruva Gole <d-gole@ti.com>
show more ...
|
| 7bff7bf9 | 21-Mar-2025 |
Dhruva Gole <d-gole@ti.com> |
refactor(ti): rename the sec_proxy functions
Since the underneath transport layer may or may not always be sec_proxy it doesn't make sense to keep following the k3_sec_proxy_* convention for the TI
refactor(ti): rename the sec_proxy functions
Since the underneath transport layer may or may not always be sec_proxy it doesn't make sense to keep following the k3_sec_proxy_* convention for the TI SCI message transports. Rename them to something more generic like ti_sci_transport_*.
Change-Id: I17a85b302e2a6c4cab71697110c48cbc09838ca6 Signed-off-by: Dhruva Gole <d-gole@ti.com>
show more ...
|
| f70572ee | 21-Mar-2025 |
Dhruva Gole <d-gole@ti.com> |
refactor(ti): add top level ti_sci transport layer
The TI SCI transport header will allow us to abstract all transport related calls from the actual medium of transport which can vary from device to
refactor(ti): add top level ti_sci transport layer
The TI SCI transport header will allow us to abstract all transport related calls from the actual medium of transport which can vary from device to device. For eg. it is sec proxy for current TI K3 devices, but in future it maybe mailbox like in the TI AM62L. With this change, we no longer need to include anything from the IPC folder, so drop it from plat_common.mk
Change-Id: Ic99209688cf69f20e694e31e553ce4ec74254669 Signed-off-by: Dhruva Gole <d-gole@ti.com>
show more ...
|
| 936afd9f | 21-Mar-2025 |
Dhruva Gole <d-gole@ti.com> |
refactor(ti): move TI SCI and sec proxy to drivers
Prepare to support more devices and abstract TI SCI and it's transport layers. This refactor will help keep things clean when new ipc drivers get a
refactor(ti): move TI SCI and sec proxy to drivers
Prepare to support more devices and abstract TI SCI and it's transport layers. This refactor will help keep things clean when new ipc drivers get added.
Change-Id: I05673f379b1398c0b6a2bd9e1b5392165d12f151 Signed-off-by: Dhruva Gole <d-gole@ti.com>
show more ...
|
| f08f6fbf | 01-Apr-2025 |
Boerge Struempfel <boerge.struempfel@gmail.com> |
refactor(st-pmic): use LOG_LEVEL for regulator debug output
The stpmic2_dump_regulators() function now uses LOG_LEVEL instead of EVENT_LOG_LEVEL to align with general logging conventions.
Additiona
refactor(st-pmic): use LOG_LEVEL for regulator debug output
The stpmic2_dump_regulators() function now uses LOG_LEVEL instead of EVENT_LOG_LEVEL to align with general logging conventions.
Additionally, the guard has been moved inside the function, removing unnecessary preprocessor checks where the function is used and thereby improving consistency.
Change-Id: I087de124e6795a599b4f91a7613c6dfa3f76bb7a Signed-off-by: Boerge Struempfel <boerge.struempfel@gmail.com>
show more ...
|
| 23775427 | 27-Mar-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge changes from topic "xlnx_fix_gen_datatype_cast" into integration
* changes: fix(psci): add const qualifier fix(el3-runtime): add const qualifier fix(bl31): add const qualifier fix(cons
Merge changes from topic "xlnx_fix_gen_datatype_cast" into integration
* changes: fix(psci): add const qualifier fix(el3-runtime): add const qualifier fix(bl31): add const qualifier fix(console): typecast expressions to match data type fix(arm-drivers): typecast expressions to match data type fix(arm-drivers): align essential type categories fix(arm-drivers): typecast expression to match data type
show more ...
|
| ec48d52e | 19-Mar-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(guid-partition): initialise the mbr_entry variable
The compiler complains that it may be used unitialised. Give it some confidence that won't be the case.
Change-Id: I14bddd48e4b205121415025175
fix(guid-partition): initialise the mbr_entry variable
The compiler complains that it may be used unitialised. Give it some confidence that won't be the case.
Change-Id: I14bddd48e4b205121415025175f157b92a89aa26 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 6fa56e93 | 03-Dec-2024 |
Abhi Singh <abhi.singh@arm.com> |
feat(tpm): add Infineon SLB9670 GPIO SPI config
add the Infineon Optiga SLB9670 TPM2.0 GPIO SPI configuration data, as well as chip reset and the GPIO SPI bitbang driver initialization. This code su
feat(tpm): add Infineon SLB9670 GPIO SPI config
add the Infineon Optiga SLB9670 TPM2.0 GPIO SPI configuration data, as well as chip reset and the GPIO SPI bitbang driver initialization. This code supports use with the rpi3 platform, with availibility to add configuration parameters for other platforms
Change-Id: Ibdffb28fa0b3b5a18dff2ba5d4ea305633740763 Signed-off-by: Abhi Singh <abhi.singh@arm.com>
show more ...
|
| 36e3d877 | 28-Aug-2024 |
Abhi.Singh <abhi.singh@arm.com> |
feat(tpm): add tpm drivers and framework
Add tpm2 drivers to tf-a with adequate framework -implement a fifo spi interface that works with discrete tpm chip. -implement tpm command layer interfaces
feat(tpm): add tpm drivers and framework
Add tpm2 drivers to tf-a with adequate framework -implement a fifo spi interface that works with discrete tpm chip. -implement tpm command layer interfaces that are used to initialize, start and make measurements and close the interface. -tpm drivers are built using their own make file to allow for ease in porting across platforms, and across different interfaces.
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com> Change-Id: Ie1a189f45c80f26f4dea16c3bd71b1503709e0ea
show more ...
|
| 3c54570a | 18-Nov-2024 |
Abhi Singh <abhi.singh@arm.com> |
feat(io): add generic gpio spi bit-bang driver
When using a tpm breakout board with rpi3, we elected to bit-bang gpio pins to emulate a spi interface, this implementation required a driver to interf
feat(io): add generic gpio spi bit-bang driver
When using a tpm breakout board with rpi3, we elected to bit-bang gpio pins to emulate a spi interface, this implementation required a driver to interface with the platform specific pins and emulate spi functionality. The generic driver provides the ability to pass in a gpio_spi_data structure that contains the necessary gpio pins in order to simulate spi operations (get_access, start, stop, xfer).
Change-Id: I88919e8a294c05e0cabb8224e35ae5c1ba5f2413 Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com> Signed-off-by: Abhi Singh <abhi.singh@arm.com>
show more ...
|
| 97eefd99 | 23-Apr-2024 |
Nithin G <nithing@amd.com> |
fix(console): typecast expressions to match data type
This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have th
fix(console): typecast expressions to match data type
This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison.
Change-Id: I4276035b3e7a223e80712e023457662689a011a1 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| edecc703 | 23-Apr-2024 |
Nithin G <nithing@amd.com> |
fix(arm-drivers): typecast expressions to match data type
This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall hav
fix(arm-drivers): typecast expressions to match data type
This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison.
Change-Id: I1500e2b3628313e68f94bce701a057b80bc2f933 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| bec4a2c9 | 23-Apr-2024 |
Nithin G <nithing@amd.com> |
fix(arm-drivers): align essential type categories
This corrects the MISRA violation C2012-10.7: If a composite expression is used as one operand of an operator in which the usual arithmetic conversi
fix(arm-drivers): align essential type categories
This corrects the MISRA violation C2012-10.7: If a composite expression is used as one operand of an operator in which the usual arithmetic conversions are performed then the other operand shall not have wider essential type. Explicitly type casted to match the data type of both the operands.
Change-Id: I89fef817ad672f310de9bc0e93646cd2ba04793b Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| 0f76d0d5 | 23-Apr-2024 |
Nithin G <nithing@amd.com> |
fix(arm-drivers): typecast expression to match data type
This corrects the MISRA violation C2012-10.6: The value of a composite expression shall not be assigned to an object with wider essential typ
fix(arm-drivers): typecast expression to match data type
This corrects the MISRA violation C2012-10.6: The value of a composite expression shall not be assigned to an object with wider essential type. Explicitly type casted to match the data type of composite expression.
Change-Id: I2ec044ff7fd7a8d0cdc8db5f71f30872fb8d9e81 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| 9ded5e8d | 25-Apr-2024 |
Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> |
fix(console): add missing curly braces
This corrects the MISRA violation C2012-15.6: The body of an iteration-statement or a selection-statement shall be a compound-statement. Enclosed statement bod
fix(console): add missing curly braces
This corrects the MISRA violation C2012-15.6: The body of an iteration-statement or a selection-statement shall be a compound-statement. Enclosed statement body within the curly braces.
Change-Id: If8e77b291380fa7d9d95cab5836235790404b620 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| 03c6bb0e | 25-Apr-2024 |
Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> |
fix(arm-drivers): add missing curly braces
This corrects the MISRA violation C2012-15.6: The body of an iteration-statement or a selection-statement shall be a compound-statement. Enclosed statement
fix(arm-drivers): add missing curly braces
This corrects the MISRA violation C2012-15.6: The body of an iteration-statement or a selection-statement shall be a compound-statement. Enclosed statement body within the curly braces.
Change-Id: I66f957467bdee13052847f3e8c5ad6ae258c4222 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| bdbbf48f | 26-Sep-2024 |
Maxime Méré <maxime.mere@foss.st.com> |
fix(st-pmic): remove deadcode from STPMIC2 driver
"regul" corresponds to a specific part of a global table that can't be undefined. Thus, checking if it is NULL is useless.
Issue found by Coverity
fix(st-pmic): remove deadcode from STPMIC2 driver
"regul" corresponds to a specific part of a global table that can't be undefined. Thus, checking if it is NULL is useless.
Issue found by Coverity (CID 445089).
Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Change-Id: Ic812bc1fde12fe8389677c7c72fb85246c50f5c9
show more ...
|