summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t60/mainboard.c
diff options
context:
space:
mode:
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 7ebe25e0af..5b38ec2417 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 {