Difference between revisions of "Developer Manual/Super IO"

From coreboot
Jump to navigation Jump to search
(Attempt 1 at writing a Super I/O bring up guide.. (WIP).)
m
Line 15: Line 15:
All super i/o support is then contained in '''src/superio/''vendor''/''device''''', we provide here the minimum of a usual bringup.
All super i/o support is then contained in '''src/superio/''vendor''/''device''''', we provide here the minimum of a usual bringup.


=== Makefile.inc ===
== Makefile.inc ==


The '''src/superio/''vendor''/''device'''''/''Makefile.inc'' should contain the following two lines:
The '''src/superio/''vendor''/''device'''''/''Makefile.inc'' should contain the following two lines:
Line 22: Line 22:
Obviously replacing '''VENDOR''' and '''DEVICE''' respectively.  
Obviously replacing '''VENDOR''' and '''DEVICE''' respectively.  


=== device.h, (e.g., w83627ehg.h) ===
== device.h, (e.g., w83627ehg.h) ==


The '''src/superio/''vendor''/''device'''''/''device.h'' header should contain the Super I/O supported Logical Device Numbers (LDN) (see below) and the early_serial enabling function prototype.
The '''src/superio/''vendor''/''device'''''/''device.h'' header should contain the Super I/O supported Logical Device Numbers (LDN) (see below) and the early_serial enabling function prototype.
Line 45: Line 45:
   #endif /* SUPERIO_FINTEK_F71869AD_F71869AD_H */  
   #endif /* SUPERIO_FINTEK_F71869AD_F71869AD_H */  


=== early_serial.c ===
== early_serial.c ==


The '''src/superio/''vendor''/''device'''''/''early_serial.c'' file  will be responsible to setup a serial port on the mainboard as to get serial debugging output.
The '''src/superio/''vendor''/''device'''''/''early_serial.c'' file  will be responsible to setup a serial port on the mainboard as to get serial debugging output.
Line 96: Line 96:
   console_init();
   console_init();


=== superio.c ===
== superio.c ==


While writing the superio.c part of the Super I/O bring up you will encounter the data structure static struct pnp_info pnp_dev_info[] = {} to prepare.
While writing the superio.c part of the Super I/O bring up you will encounter the data structure static struct pnp_info pnp_dev_info[] = {} to prepare.

Revision as of 12:48, 5 February 2014