diff options
author | Ernest Van Hoecke <ernest.vanhoecke@toradex.com> | 2025-08-05 10:28:29 +0200 |
---|---|---|
committer | Ernest Van Hoecke <ernest.vanhoecke@toradex.com> | 2025-08-05 10:30:08 +0200 |
commit | f3ac565853bc30fce8349f5bccf6b9ad29f21fe0 (patch) | |
tree | 82c634f60d3b03a936abc67fd7fe744d44e2aa65 /boards/tdx-verdin-imx95/board.c | |
parent | ef857b77dba5a25f0e9aee0c4e13b87c3bb1e9ee (diff) |
board: tdx-smarc-imx95: move GPIO1 access protection to SPLmain
The SPL runs securely. Once U-Boot and later Linux start, we want them
to have control over the GPIOs on GPIO1, so we require non-secure,
non-privileged access at that time.
This is done in the System Manager board code (specifically in
`BRD_SM_Init`), but that runs before the SPL. The GPIO1 registers PCNS
and PCNP act like a switch, so configuring non-secure access before the
SPL runs means that the SPL will not have access. It's either secure or
non-secure access, not both at the same time.
Remove this configuration from the SM, and have the SPL set it up
properly after it is done with the secure access.
Related-to: ELB-6392
Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
Diffstat (limited to 'boards/tdx-verdin-imx95/board.c')
0 files changed, 0 insertions, 0 deletions