summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/t60/mainboard.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-29 17:36:51 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-12-02 14:39:56 +0000
commitdc3beea75d3050600842112cfd7fd48baa65278d (patch)
treeca9839a61c90cc7b972650c0eb1a2e92a6a25eb9 /src/mainboard/lenovo/t60/mainboard.c
parent87a98b55b2466638587ea44fc7eaa13d93525656 (diff)
downloadcoreboot-dc3beea75d3050600842112cfd7fd48baa65278d.tar.gz
coreboot-dc3beea75d3050600842112cfd7fd48baa65278d.tar.bz2
coreboot-dc3beea75d3050600842112cfd7fd48baa65278d.zip
sb/intel/i82801gx: Use boolean for ide_enable_{primary,secondary}
Change-Id: Ia71692ecf74fd8921eeafabac9a4cb862da90e81 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70114 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/lenovo/t60/mainboard.c')
-rw-r--r--src/mainboard/lenovo/t60/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c
index 7ebe25e0af3b..5b38ec241748 100644
--- a/src/mainboard/lenovo/t60/mainboard.c
+++ b/src/mainboard/lenovo/t60/mainboard.c
@@ -34,7 +34,7 @@ static void mainboard_init(struct device *dev)
} else if (idedev && idedev->chip_info &&
h8_ultrabay_device_present()) {
config = idedev->chip_info;
- config->ide_enable_primary = 1;
+ config->ide_enable_primary = true;
pmh7_ultrabay_power_enable(1);
ec_write(0x0c, 0x84);
} else {