mb/starlabs/starbook: Fix inclusion of CPU RP ASPM option

The ASPM option for CPU root ports was guarded against the
SOC supporting CPU root ports. This meant that the option
was visible for boards that didn't utilise the CPU root
ports.

Adjust this to guard against BOARD_STARLABS_STARBOOK_RPL,
which is the only board to actually use the CPU root ports.

Change-Id: Id632a8279e8c1cb07536b4198c3752d57eee657a
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89908
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sean Rhodes 2025-11-04 20:37:38 +00:00
commit 0d35c3fcc3

View file

@ -90,9 +90,10 @@ static struct sm_obj_form pci = {
#endif
#if CONFIG(SOC_INTEL_COMMON_BLOCK_ASPM)
&pciexp_clk_pm,
&pciexp_aspm,
#if CONFIG(HAS_INTEL_CPU_ROOT_PORTS)
#if CONFIG(BOARD_STARLABS_STARBOOK_RPL)
&pciexp_aspm_cpu,
#else
&pciexp_aspm,
#endif
&pciexp_l1ss,
#endif