summaryrefslogtreecommitdiff
path: root/src/lib/espi_debug.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-13 01:06:22 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-13 23:56:57 +0000
commit30b3660956936301b750a1c065f0d97ddce14a2b (patch)
treed7c5bc97092bc8b857e26c34d81ec002b7b8e4d2 /src/lib/espi_debug.c
parent39f2aa09042d9690f6b474198d23f217413954c4 (diff)
mb/amd/padmelon: use override devicetrees for the different APUs
Since the devicetree files are passed to util/sconfig without being processed by the C preprocessor, using #if in the devicetree won't give the behavior that might be expected. Instead sconfig treats the #if as a comment, but still processes all other lines. To get the intended behavior, replace the C preprocessor usage in the devicetree by moving the APU-specific parts to override devicetrees that get selected according to the selected APU type. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iddd317b27a838849fa40c0fb77d942609104cf04 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68312 Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib/espi_debug.c')
0 files changed, 0 insertions, 0 deletions