From c46242f904b64daee36e6d478e1d88c623fb3c44 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 19 Mar 2023 07:43:32 +0100 Subject: sb/intel/i82801gx/chip.h: Use 'bool' instead of 'int' This to fix following error using Clang-16.0.0: /cb-build/coreboot-toolchain.0/clang/APPLE_IMAC52/mainboard/apple/macbook21/static.c:66:19: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] .c4onc3_enable = 1, ^ /cb-build/coreboot-toolchain.0/clang/APPLE_IMAC52/mainboard/apple/macbook21/static.c:75:32: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] .p_cnt_throttling_supported = 1, ^ Change-Id: I691b51a97b359655c406bff28ee6562636d11015 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/73796 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/mainboard/roda/rk886ex/devicetree.cb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/roda/rk886ex/devicetree.cb') diff --git a/src/mainboard/roda/rk886ex/devicetree.cb b/src/mainboard/roda/rk886ex/devicetree.cb index a3b00c1db7..52c96dee33 100644 --- a/src/mainboard/roda/rk886ex/devicetree.cb +++ b/src/mainboard/roda/rk886ex/devicetree.cb @@ -38,7 +38,7 @@ chip northbridge/intel/i945 register "c3_latency" = "0x23" register "docking_supported" = "1" - register "p_cnt_throttling_supported" = "1" + register "p_cnt_throttling_supported" = "true" register "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED" register "ide_enable_primary" = "true" -- cgit v1.2.3