coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lpc47m15x.h File Reference
#include <device/pnp_type.h>
#include <stdint.h>
Include dependency graph for lpc47m15x.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LPC47M15X_FDC   0 /* Floppy */
 
#define LPC47M15X_PP   3 /* Parallel Port */
 
#define LPC47M15X_SP1   4 /* Com1 */
 
#define LPC47M15X_SP2   5 /* Com2 */
 
#define LPC47M15X_KBC   7 /* Keyboard & Mouse */
 
#define LPC47M15X_GAME   9 /* GAME */
 
#define LPC47M15X_PME   10 /* PME reg*/
 
#define LPC47M15X_MPU   11 /* MPE -- who knows -- reg*/
 
#define LPC47M15X2_MAX_CONFIG_REGISTER   0x5F
 

Functions

void lpc47m15x_enable_serial (pnp_devfn_t dev, u16 iobase)
 

Macro Definition Documentation

◆ LPC47M15X2_MAX_CONFIG_REGISTER

#define LPC47M15X2_MAX_CONFIG_REGISTER   0x5F

Definition at line 15 of file lpc47m15x.h.

◆ LPC47M15X_FDC

#define LPC47M15X_FDC   0 /* Floppy */

Definition at line 6 of file lpc47m15x.h.

◆ LPC47M15X_GAME

#define LPC47M15X_GAME   9 /* GAME */

Definition at line 11 of file lpc47m15x.h.

◆ LPC47M15X_KBC

#define LPC47M15X_KBC   7 /* Keyboard & Mouse */

Definition at line 10 of file lpc47m15x.h.

◆ LPC47M15X_MPU

#define LPC47M15X_MPU   11 /* MPE -- who knows -- reg*/

Definition at line 13 of file lpc47m15x.h.

◆ LPC47M15X_PME

#define LPC47M15X_PME   10 /* PME reg*/

Definition at line 12 of file lpc47m15x.h.

◆ LPC47M15X_PP

#define LPC47M15X_PP   3 /* Parallel Port */

Definition at line 7 of file lpc47m15x.h.

◆ LPC47M15X_SP1

#define LPC47M15X_SP1   4 /* Com1 */

Definition at line 8 of file lpc47m15x.h.

◆ LPC47M15X_SP2

#define LPC47M15X_SP2   5 /* Com2 */

Definition at line 9 of file lpc47m15x.h.

Function Documentation

◆ lpc47m15x_enable_serial()

void lpc47m15x_enable_serial ( pnp_devfn_t  dev,
u16  iobase 
)

Definition at line 24 of file early_serial.c.

References pnp_enter_conf_state(), pnp_exit_conf_state(), PNP_IDX_IO0, pnp_set_enable(), pnp_set_iobase(), and pnp_set_logical_device().

Referenced by bootblock_mainboard_early_init().

Here is the call graph for this function:
Here is the caller graph for this function: