summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801ix/lpc.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-09 10:18:03 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-01-15 19:30:15 +0000
commita7f55af995040045875515857d095c021984f7f2 (patch)
treeedfeec52bbb0c70c8d0de87928245ee9af7f5c82 /src/southbridge/intel/i82801ix/lpc.c
parent550f55e4f63dcb6d16132d2f5596e653fe2d1579 (diff)
sb/intel/i82801{i,j}x/chip.h: Use boolean where appropriate
Change-Id: I867451ae3d6d37033c9e0e57a4d7fd4a06dedbef Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77738 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nicholas Chin <nic.c3.14@gmail.com>
Diffstat (limited to 'src/southbridge/intel/i82801ix/lpc.c')
-rw-r--r--src/southbridge/intel/i82801ix/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801ix/lpc.c b/src/southbridge/intel/i82801ix/lpc.c
index d897130e42..91b7456d54 100644
--- a/src/southbridge/intel/i82801ix/lpc.c
+++ b/src/southbridge/intel/i82801ix/lpc.c
@@ -142,14 +142,14 @@ bool southbridge_support_c5(void)
{
struct device *lpc_dev = __pci_0_1f_0;
struct southbridge_intel_i82801ix_config *config = lpc_dev->chip_info;
- return config->c5_enable == 1;
+ return config->c5_enable;
}
bool southbridge_support_c6(void)
{
struct device *lpc_dev = __pci_0_1f_0;
struct southbridge_intel_i82801ix_config *config = lpc_dev->chip_info;
- return config->c6_enable == 1;
+ return config->c6_enable;
}
static void i82801ix_power_options(struct device *dev)