coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lpc47n217.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H
4
#define SUPERIO_SMSC_LPC47N217_LPC47N217_H
5
6
#include <
device/pnp_type.h
>
7
#include <
stdint.h
>
8
9
/*
10
* These are arbitrary, but must match declarations in the mainboard
11
* devicetree.cb file. Values chosen to match SMSC LPC47B37x.
12
*/
13
#define LPC47N217_PP 3
/* Parallel Port */
14
#define LPC47N217_SP1 4
/* Com1 */
15
#define LPC47N217_SP2 5
/* Com2 */
16
17
#define LPC47N217_MAX_CONFIG_REGISTER 0x39
18
19
void
lpc47n217_enable_serial
(
pnp_devfn_t
dev,
u16
iobase);
20
21
#endif
lpc47n217_enable_serial
void lpc47n217_enable_serial(pnp_devfn_t dev, u16 iobase)
Configure the base I/O port of the specified serial device and enable the serial device.
Definition:
early_serial.c:95
pnp_type.h
pnp_devfn_t
u32 pnp_devfn_t
Definition:
pnp_type.h:8
stdint.h
u16
uint16_t u16
Definition:
stdint.h:48
src
superio
smsc
lpc47n217
lpc47n217.h
Generated by
1.9.1