HomeFreeBSD

arm64: coresight: fix the build without FDT

Description

arm64: coresight: fix the build without FDT

coresight_cpu_debug only has an FDT attachment, so let's not build it
for kernels without FDT.

coresight.h includes sys/malloc.h via header pollution
dev/ofw/openfirm.h; include it directly in case we're building without
FDT.

Reviewed by: andrew, manu

(cherry picked from commit b4c2a5b689864430583eee96e449519db15911b9)

Details

Provenance
kevansAuthored on Sep 29 2022, 7:33 PM
Parents
rG3c631d2f19cd: extres: syscon: pull in sys/malloc.h (fix !FDT)
Branches
Unknown
Tags
Unknown