summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/lenovo/x201/smihandler.c6
-rw-r--r--src/mainboard/lenovo/x60/smihandler.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/lenovo/x201/smihandler.c b/src/mainboard/lenovo/x201/smihandler.c
index 4ba10b47cd..91cb0ce2d6 100644
--- a/src/mainboard/lenovo/x201/smihandler.c
+++ b/src/mainboard/lenovo/x201/smihandler.c
@@ -53,7 +53,7 @@ static void mainboard_smi_handle_ec_sci(void)
case 0x58:
/* Dock Event */
ec_clr_bit(0x03, 2);
- udelay(250000);
+ mdelay(250);
dock_connect();
ec_set_bit(0x03, 2);
/* set dock LED to indicate status */
@@ -101,9 +101,9 @@ void mainboard_smi_sleep(u8 slp_typ)
{
if (slp_typ == 3) {
u8 ec_wake = ec_read(0x32);
- /* If EC wake events are enabled, enable wake on EC WAKE GPE. */
+ /* If EC wake events are enabled, enable wake on EC WAKE GPE. */
if (ec_wake & 0x14) {
- /* Redirect EC WAKE GPE to SCI. */
+ /* Redirect EC WAKE GPE to SCI. */
gpi_route_interrupt(GPE_EC_WAKE, GPI_IS_SCI);
}
}
diff --git a/src/mainboard/lenovo/x60/smihandler.c b/src/mainboard/lenovo/x60/smihandler.c
index 0a2c7e2e6b..7aacc451c0 100644
--- a/src/mainboard/lenovo/x60/smihandler.c
+++ b/src/mainboard/lenovo/x60/smihandler.c
@@ -51,7 +51,7 @@ int mainboard_io_trap_handler(int smif)
switch (smif) {
case SMI_DOCK_CONNECT:
ec_clr_bit(0x03, 2);
- udelay(250000);
+ mdelay(250);
if (!dock_connect()) {
ec_set_bit(0x03, 2);
/* set dock LED to indicate status */