Files
opensbi/lib/utils/fdt/Kconfig
Yu Chien Peter Lin 0b3262efc6 lib: utils: fdt_fixup: Allow preserving PMU properties
Add a Kconfig option to control PMU fixup, so the next
stage software can dump the PMU node including event
mapping information for debugging purposes.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
2023-12-06 17:59:44 +05:30

26 lines
450 B
Plaintext

# SPDX-License-Identifier: BSD-2-Clause
menuconfig FDT
bool "Flattened Device Tree (FDT) support"
select LIBFDT
default n
if FDT
config FDT_DOMAIN
bool "FDT domain support"
default n
config FDT_PMU
bool "FDT performance monitoring unit (PMU) support"
default n
config FDT_FIXUPS_PRESERVE_PMU_NODE
bool "Preserve PMU node in device-tree"
depends on FDT_PMU
default n
help
Preserve PMU node properties for debugging purposes.
endif