device/pnp: Add header files for PNP ops
Change-Id: Ifda495420cfb121ad32920bb9f1cbdeef41f6d3a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31698 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#define DME1737_KBC 7 /* Keyboard & Mouse */
|
||||
#define DME1737_RT 10 /* Runtime reg*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void dme1737_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||
|
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <device/pnp.h>
|
||||
#include <stdint.h>
|
||||
#include "dme1737.h"
|
||||
|
@@ -17,6 +17,7 @@
|
||||
/* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <device/pnp.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#ifndef SUPERIO_SMSC_KBC1100_H
|
||||
#define SUPERIO_SMSC_KBC1100_H
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define KBC1100_PM1 1 /* PM1 */
|
||||
|
@@ -17,6 +17,7 @@
|
||||
/* Pre-RAM driver for SMSC LPC47B272 Super I/O chip. */
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <device/pnp.h>
|
||||
#include <stdint.h>
|
||||
#include "lpc47b272.h"
|
||||
|
@@ -26,7 +26,7 @@
|
||||
|
||||
#define LPC47B272_MAX_CONFIG_REGISTER 0x5F
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void lpc47b272_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||
|
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <device/pnp.h>
|
||||
#include <stdint.h>
|
||||
#include "lpc47b397.h"
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#define LPC47B397_HWM 8 /* HW Monitor */
|
||||
#define LPC47B397_RT 10 /* Runtime reg*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void lpc47b397_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||
|
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <device/pnp.h>
|
||||
#include <stdint.h>
|
||||
#include "lpc47m10x.h"
|
||||
|
@@ -30,7 +30,7 @@
|
||||
|
||||
#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||
|
@@ -16,6 +16,7 @@
|
||||
/* Pre-RAM driver for the SMSC LPC47M15X Super I/O chip */
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <device/pnp.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
#define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void lpc47m15x_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||
|
@@ -17,6 +17,7 @@
|
||||
/* Pre-RAM driver for SMSC LPC47N217 Super I/O chip. */
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <assert.h>
|
||||
#include "lpc47n217.h"
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H
|
||||
#define SUPERIO_SMSC_LPC47N217_LPC47N217_H
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
|
@@ -17,6 +17,7 @@
|
||||
/* Pre-RAM driver for SMSC LPC47N227 Super I/O chip. */
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include "lpc47n227.h"
|
||||
|
||||
void pnp_enter_conf_state(pnp_devfn_t dev)
|
||||
|
@@ -16,6 +16,8 @@
|
||||
#ifndef SUPERIO_SMSC_LPC47N227_LPC47N227_H
|
||||
#define SUPERIO_SMSC_LPC47N227_LPC47N227_H
|
||||
|
||||
#include <device/pnp_type.h>
|
||||
|
||||
/*
|
||||
* Since the LPC47N227 does not have logical devices but a flat configuration
|
||||
* space, these are arbitrary, but must match declarations in the mainboard
|
||||
|
@@ -15,6 +15,7 @@
|
||||
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <device/pnp.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#define LPT_POWER_DOWN (1 << 2)
|
||||
#define IR_OUTPUT_MUX (1 << 6)
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||
|
@@ -16,6 +16,7 @@
|
||||
/* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "sio1036.h"
|
||||
|
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_ops.h>
|
||||
#include <device/pnp_def.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#ifndef SUPERIO_SMSC_SMSCSUPERIO_H
|
||||
#define SUPERIO_SMSC_SMSCSUPERIO_H
|
||||
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp_type.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* All known/supported SMSC Super I/Os have the same logical device IDs
|
||||
|
Reference in New Issue
Block a user