mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-09 02:51:21 +00:00
Merge changes from topic "early_console" into integration
* changes: feat(stm32mp2): use early traces feat(st-bsec): use early traces refactor(st): replace STM32MP_EARLY_CONSOLE with EARLY_CONSOLE feat(console): introduce EARLY_CONSOLE feat(bl32): create an sp_min_setup function
This commit is contained in:
commit
a97e1f9747
22 changed files with 95 additions and 34 deletions
|
@ -230,6 +230,13 @@ Common build options
|
|||
contributions are still expected to build with ``W=0`` and ``E=1`` (the
|
||||
default).
|
||||
|
||||
- ``EARLY_CONSOLE``: This option is used to enable early traces before default
|
||||
console is properly setup. It introduces EARLY_* traces macros, that will
|
||||
use the non-EARLY traces macros if the flag is enabled, or do nothing
|
||||
otherwise. To use this feature, platforms will have to create the function
|
||||
plat_setup_early_console().
|
||||
Default is 0 (disabled)
|
||||
|
||||
- ``EL3_PAYLOAD_BASE``: This option enables booting an EL3 payload instead of
|
||||
the normal boot flow. It must specify the entry point address of the EL3
|
||||
payload. Please refer to the "Booting an EL3 payload" section for more
|
||||
|
|
|
@ -54,8 +54,6 @@ Other configuration flags:
|
|||
| Default: stm32mp157c-ev1.dtb
|
||||
- | ``DWL_BUFFER_BASE``: the 'serial boot' load address of FIP,
|
||||
| default location (end of the first 128MB) is used when absent
|
||||
- | ``STM32MP_EARLY_CONSOLE``: to enable early traces before clock driver is setup.
|
||||
| Default: 0 (disabled)
|
||||
- | ``STM32MP_RECONFIGURE_CONSOLE``: to re-configure crash console (especially after BL2).
|
||||
| Default: 0 (disabled)
|
||||
- | ``STM32MP_UART_BAUDRATE``: to select UART baud rate.
|
||||
|
|
|
@ -3286,6 +3286,17 @@ This API is used by the crash reporting mechanism to force write of all buffered
|
|||
data on the designated crash console. It should only use general purpose
|
||||
registers x0 through x5 to do its work.
|
||||
|
||||
Function : plat_setup_early_console [optional]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
::
|
||||
|
||||
Argument : void
|
||||
Return : void
|
||||
|
||||
This API is used to setup the early console, it is required only if the flag
|
||||
``EARLY_CONSOLE`` is enabled.
|
||||
|
||||
.. _External Abort handling and RAS Support:
|
||||
|
||||
External Abort handling and RAS Support
|
||||
|
@ -3572,7 +3583,7 @@ to :ref:`Measured Boot Design` for more details.
|
|||
|
||||
--------------
|
||||
|
||||
*Copyright (c) 2013-2023, Arm Limited and Contributors. All rights reserved.*
|
||||
*Copyright (c) 2013-2024, Arm Limited and Contributors. All rights reserved.*
|
||||
|
||||
.. _PSCI: https://developer.arm.com/documentation/den0022/latest/
|
||||
.. _Arm Generic Interrupt Controller version 2.0 (GICv2): http://infocenter.arm.com/help/topic/com.arm.doc.ihi0048b/index.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue