diff options
author | Andre Przywara <andre.przywara@arm.com> | 2023-12-07 15:09:51 +0000 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2024-04-22 01:12:25 +0100 |
commit | 02780a1c2675916bea8dbfb594bba7936ff538d5 (patch) | |
tree | b08466f1184e254f335c0e77d6e53885b2944c0d /board | |
parent | 6f68b9ce6cd180e5dc8d469a82db0cb48cc8d0ef (diff) | |
download | u-boot-02780a1c2675916bea8dbfb594bba7936ff538d5.tar.gz |
sunxi: move #ifdef guards around tzpc_init() to header file
Some later 32-bit SoCs require some setup of the Secure Peripherals
Controller, which is handled in tzpc_init().
At the moment this is guarded in board.c by some #ifdefs selecting the
SoCs that need it.
Move those #ifdef guards into the header file, providing an empty stub
function for all other SoCs, so that the #ifdefs can be removed from the
.c file, to improve readability.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions