soc/intel: Remove blank lines before '}' and after '{'
[coreboot2.git] / src / mainboard / samsung / lumpy / ec.c
blobc768b0b0a71601127ab93162389e34f4b2c1686b
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi.h>
4 #include <console/console.h>
5 #include <ec/smsc/mec1308/ec.h>
6 #include "ec.h"
8 void lumpy_ec_init(void)
10 printk(BIOS_DEBUG, "%s\n", __func__);
12 if (acpi_is_wakeup_s3())
13 return;
16 * Enable EC control of fan speed.
18 * This will be changed to OS control in ACPI EC _REG
19 * method when the OS is ready to control the fan.
21 ec_write(EC_FAN_SPEED, 0);
23 send_ec_command_data(EC_BATTERY_MODE, EC_BATTERY_MODE_NORMAL);
24 send_ec_command_data(EC_POWER_BUTTON_MODE, EC_POWER_BUTTON_MODE_OS);