summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8772f
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-12-02 08:42:04 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-05 14:28:02 +0000
commit7bde4e80be27b35abf13114eb8b6096755458d2e (patch)
tree041a56125b048885a2aafe34eadd08032d6314c0 /src/superio/ite/it8772f
parent9180bae9b2030bb3745c6d4d1e3e1187d7c30089 (diff)
superio/ite/it8772f/chip.h: Use 'bool' when appropriate
Change-Id: I20c3298a920396718f0dc036e57faf8e46b82b2c Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70253 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/ite/it8772f')
-rw-r--r--src/superio/ite/it8772f/chip.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/superio/ite/it8772f/chip.h b/src/superio/ite/it8772f/chip.h
index 19f1f7d6aa..eb3ccd2a97 100644
--- a/src/superio/ite/it8772f/chip.h
+++ b/src/superio/ite/it8772f/chip.h
@@ -4,6 +4,8 @@
#define SUPERIO_ITE_IT8772F_CHIP_H
#include <device/device.h>
+#include <types.h>
+
#include "it8772f.h"
struct superio_ite_it8772f_config {
@@ -15,7 +17,7 @@ struct superio_ite_it8772f_config {
u8 gpio_set5;
u8 gpio_set6;
- u8 skip_keyboard;
+ bool skip_keyboard;
/*
* Enable external temperature sensor to use PECI GetTemp()
@@ -32,9 +34,9 @@ struct superio_ite_it8772f_config {
/*
* Enable a FAN for software control.
*/
- u8 fan1_enable;
- u8 fan2_enable;
- u8 fan3_enable;
+ bool fan1_enable;
+ bool fan2_enable;
+ bool fan3_enable;
/*
* Default FAN speed