diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-03-19 07:43:32 +0100 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2023-04-08 03:35:39 +0000 |
commit | c46242f904b64daee36e6d478e1d88c623fb3c44 (patch) | |
tree | 6934a4683165d50d17327fe5906746603ef5a615 /src/mainboard/asus/p5gc-mx/devicetree.cb | |
parent | e1a6ea6c4871a4647d591cf296073758767fa612 (diff) |
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 <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73796
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/mainboard/asus/p5gc-mx/devicetree.cb')
-rw-r--r-- | src/mainboard/asus/p5gc-mx/devicetree.cb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/asus/p5gc-mx/devicetree.cb b/src/mainboard/asus/p5gc-mx/devicetree.cb index f6d5f76ebb..c464222a76 100644 --- a/src/mainboard/asus/p5gc-mx/devicetree.cb +++ b/src/mainboard/asus/p5gc-mx/devicetree.cb @@ -33,7 +33,7 @@ chip northbridge/intel/i945 register "ide_enable_primary" = "true" register "ide_enable_secondary" = "false" - register "p_cnt_throttling_supported" = "0" + register "p_cnt_throttling_supported" = "false" # SuperIO Power Management Events register "gen1_dec" = "0x00040291" |