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
Differential Revision: https://reviews.freebsd.org/D36789

Details

Provenance
kevansAuthored on Sep 29 2022, 7:33 PM
Reviewer
andrew
Differential Revision
D36789: arm64: coresight: fix the build without FDT
Parents
rG4a4ad02da3c8: uart: uart_cpu_arm64: fix the build without FDT
Branches
Unknown
Tags
Unknown