coreboot/src/soc/qualcomm
Subrata Banik 5bfc2d23bb soc/qc/x1p42100:: Select Secure OS options in SoC Kconfig
Refactor Kconfig dependency by moving the selection of Secure OS
(TrustZone/TEE) features from the mainboard configuration to the
specific SoC configuration layer.

The selections for `ARM64_USE_SECURE_OS` and
`ARM64_USE_SECURE_OS_PAYLOAD` are moved from `BOARD_GOOGLE_BLUEY_COMMON`
to `SOC_QUALCOMM_HAMOA`.

This ensures that the Secure OS requirements are correctly associated
with the Hamoa chipset family itself, leading to better modularity and
future compatibility for Hamoa-based platforms.

Crucially, this change allows for precise control of the Secure OS
(BL32 firmware) applicability. By selecting the feature only within
`SOC_QUALCOMM_HAMOA`, we can ensure that platforms utilizing the
"Purwa SoC" family (which currently does not have a ready/available
SecureOS) automatically avoid the selection of these Kconfig options.

The change is verified by ensuring the QTEE (SecureOS) feature is
disabled for platforms using the Purwa SoC, specifically verified on the
google/quenbi mainboard.

BUG=b:459268465
TEST=Ensure disabling QTEE aka SecureOS feature for google/quenbi w/
Purwa SoC.

AP firmware log shows the expected path taken when SecureOS is disabled:

```
WARNING: No QTEE entry point provided by BL2 boot loader,
Booting device without QTEE initialization.
```

Change-Id: Ic82a29a4330cc6e5f99727fc40ec73b38cbbc72d
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90011
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-11-18 05:00:07 +00:00
..
common soc/qualcomm/x1p42100: Update PCIE PHY init sequence 2025-11-16 18:36:21 +00:00
ipq40xx arch/arm: Add a few ARM targets as supported by CLANG 2024-08-23 10:40:01 +00:00
ipq806x arch/arm: Add a few ARM targets as supported by CLANG 2024-08-23 10:40:01 +00:00
qcs405 soc/qualcomm: Move common region macros to soc/memlayout.h 2025-08-17 01:10:35 +00:00
sc7180 soc/qualcomm: Move common region macros to soc/memlayout.h 2025-08-17 01:10:35 +00:00
sc7280 soc/qualcomm: Move common region macros to soc/memlayout.h 2025-08-17 01:10:35 +00:00
x1p42100 soc/qc/x1p42100:: Select Secure OS options in SoC Kconfig 2025-11-18 05:00:07 +00:00