ec/google/chromeec: Update Tablet event call
[coreboot.git] / src / southbridge / via / common / early_smbus_reset.c
blob6145ab849278b0c1c057215f5583bba569c47844
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include "via_early_smbus.h"
19 /**
20 * \brief Clear the SMBus host status register
22 * @param smbus_dev The base SMBus IO port
24 void smbus_reset(u32 smbus_dev)
26 outb(0xdf, SMBHSTSTAT(smbus_dev));