diff options
author | Andrei Narkevitch <ainh@cypress.com> | 2019-10-09 18:13:54 -0700 |
---|---|---|
committer | Andrei Narkevitch <ainh@cypress.com> | 2019-11-13 08:55:24 -0800 |
commit | 014e413a6d8acd17910ddf2bf3be47ebd8d37105 (patch) | |
tree | c369d6cec3eb72178e54fa808809d8e41d62d2ce /configs | |
parent | 429ceecc26a0204fe715b1b292c388b1c546c793 (diff) | |
download | trusted-firmware-m-014e413a6d8acd17910ddf2bf3be47ebd8d37105.tar.gz |
plat: add NSPE platform-specific hw initialization
Adding tfm_ns_platform_init() function.
Contrarily to SystemInit() intended for a high priority hw initialization
(for example clock and power subsystems), and called on a very early boot
stage from startup code, this function is called from C code, hence variables
and other drivers data are protected from being cleared up by the C library
init.
This function can be used for initializing platform-specific hw resources
(e.g. IPC, UART) thus freeing up application main() function from the platform
details.
Implemented as a "weak" functions, it can be overwritten by a platform
specific implementation.
Signed-off-by: Andrei Narkevitch <ainh@cypress.com>
Change-Id: I16091d35a77ba3e246692cff9df7f31ea082ab27
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions