src/*: Remove the last remnants of struct keyboard

Change-Id: I7d0e8d2119a470428cfc01c0738b8988ab75ba2d
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5624
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Edward O'Callaghan 2014-04-30 20:41:41 +10:00 committed by Kyösti Mälkki
parent f6f1ad6376
commit e1fe688c9b
16 changed files with 6 additions and 112 deletions

View File

@ -23,13 +23,11 @@
#define _EC_COMPAL_ENE932_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
struct chip_operations;
extern struct chip_operations ec_compal_ene932_ops;
struct ec_compal_ene932_config {
struct pc_keyboard keyboard;
};
#endif /* _EC_COMPAL_ENE932_CHIP_H */

View File

@ -27,6 +27,7 @@
#include <stdlib.h>
#include <arch/io.h>
#include <delay.h>
#include <pc80/keyboard.h>
#include "ec.h"
#include "chip.h"

View File

@ -21,12 +21,10 @@
#define EC_GOOGLE_CHROMEEC_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
extern struct chip_operations ec_google_chromeec_ops;
struct ec_google_chromeec_config {
struct pc_keyboard keyboard;
};
#endif
#endif /* EC_GOOGLE_CHROMEEC_CHIP_H */

View File

@ -24,6 +24,7 @@
#include <arch/io.h>
#include <delay.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include "chip.h"
#include "ec.h"
#include "ec_commands.h"

View File

@ -23,13 +23,11 @@
#define _EC_QUANTA_ENE_KB3940Q_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
struct chip_operations;
extern struct chip_operations ec_quanta_ene_kb3940q_ops;
struct ec_quanta_ene_kb3940q_config {
struct pc_keyboard keyboard;
};
#endif /* _EC_QUANTA_ENE_KB3940Q_CHIP_H */

View File

@ -28,6 +28,7 @@
#include <stdlib.h>
#include <delay.h>
#include <elog.h>
#include <pc80/keyboard.h>
#include "ec.h"
#include "chip.h"

View File

@ -23,13 +23,11 @@
#define _EC_QUANTA_IT8518_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
struct chip_operations;
extern struct chip_operations ec_quanta_it8518_ops;
struct ec_quanta_it8518_config {
struct pc_keyboard keyboard;
};
#endif /* _EC_QUANTA_IT8518_CHIP_H */

View File

@ -22,6 +22,7 @@
#include <console/console.h>
#include <pc80/keyboard.h>
#ifndef __PRE_RAM__
#include <device/device.h>

View File

@ -1,10 +1,6 @@
#ifndef PC80_KEYBOARD_H
#define PC80_KEYBOARD_H
struct pc_keyboard {
/* No initialization parameters for now */
};
void pc_keyboard_init(void);
void set_kbc_ps2_mode(void);

View File

@ -1,31 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007 Corey Osgood <corey_osgood@verizon.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _SUPERIO_VIA_VT82C686
#define _SUPERIO_VIA_VT82C686
#include <device/device.h>
#include <pc80/keyboard.h>
struct superio_via_vt82c686_config {
struct pc_keyboard keyboard;
};
#endif /* _SUPERIO_VIA_VT82C686 */

View File

@ -21,12 +21,9 @@
#ifndef SUPERIO_FINTEK_F71869AD_CHIP_H
#define SUPERIO_FINTEK_F71869AD_CHIP_H
#include <pc80/keyboard.h>
#include <stdint.h>
struct superio_fintek_f71869ad_config {
struct pc_keyboard keyboard;
/* Member variables are defined in devicetree.cb. */
uint8_t multi_function_register_1;
uint8_t multi_function_register_2;

View File

@ -24,6 +24,7 @@
#include <superio/conf_mode.h>
#include <console/console.h>
#include <stdlib.h>
#include <pc80/keyboard.h>
#include "fintek_internal.h"
#include "chip.h"

View File

@ -1,32 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2008 coresystems GmbH
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef SUPERIO_SMSC_FDC37N972_CHIP_H
#define SUPERIO_SMSC_FDC37N972_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
struct superio_smsc_fdc37n972_config {
struct pc_keyboard keyboard;
};
#endif

View File

@ -21,7 +21,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include "chip.h"
#include "fdc37n972.h"
static void init(device_t dev)

View File

@ -1,31 +0,0 @@
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2008 coresystems GmbH
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef SUPERIO_SMSC_SIO10N268_CHIP_H
#define SUPERIO_SMSC_SIO10N268_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
struct superio_smsc_sio10n268_config {
struct pc_keyboard keyboard;
};
#endif

View File

@ -21,7 +21,6 @@
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include "chip.h"
#include "sio10n268.h"
static void init(device_t dev)