projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Random ITE Super I/O fixes.
[coreboot.git]
/
src
/
superio
/
ite
/
it8661f
/
superio.c
diff --git
a/src/superio/ite/it8661f/superio.c
b/src/superio/ite/it8661f/superio.c
index 7c5294d65bcbcc3262e4f80ea79a456c5957bd94..e367ab855560b709a9f27527bdf352024026cf91 100644
(file)
--- a/
src/superio/ite/it8661f/superio.c
+++ b/
src/superio/ite/it8661f/superio.c
@@
-18,8
+18,6
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-/* This chip doesn't seem to have keyboard and mouse support. */
-
#include <device/device.h>
#include <device/pnp.h>
#include <uart8250.h>
#include <device/device.h>
#include <device/pnp.h>
#include <uart8250.h>
@@
-29,14
+27,11
@@
static void init(device_t dev)
{
static void init(device_t dev)
{
- struct superio_ite_it8661f_config *conf;
+ struct superio_ite_it8661f_config *conf
= dev->chip_info
;
struct resource *res0, *res1;
struct resource *res0, *res1;
- if (!dev->enabled)
{
+ if (!dev->enabled)
return;
return;
- }
-
- conf = dev->chip_info;
switch (dev->path.pnp.device) {
case IT8661F_FDC: /* TODO. */
switch (dev->path.pnp.device) {
case IT8661F_FDC: /* TODO. */