diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-03 08:40:34 +1000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-07-18 14:42:19 +0200 |
commit | cf5ac3d7ef1a0f4876f1df7368d19d57d168bae4 (patch) | |
tree | 22d2c603cef2ac2b014153c33e4fbd7466e7b271 /src/superio/smsc/lpc47m15x/lpc47m15x.h | |
parent | 031cf214c6626677312f25cd17ed391d8aec4b79 (diff) | |
download | coreboot-cf5ac3d7ef1a0f4876f1df7368d19d57d168bae4.tar.xz |
src/superio/smsc/lpc47m15x: Avoid #include early_serial.c
Provide proper header and function type-signatures for Super I/O
romstage component.
Fix mainboard's bogous romstage component to match.
Change-Id: Icd02199690d0c428b2daadf702d50714dc367692
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/5924
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src/superio/smsc/lpc47m15x/lpc47m15x.h')
-rw-r--r-- | src/superio/smsc/lpc47m15x/lpc47m15x.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/superio/smsc/lpc47m15x/lpc47m15x.h b/src/superio/smsc/lpc47m15x/lpc47m15x.h index 04f1729abe..32cff48f01 100644 --- a/src/superio/smsc/lpc47m15x/lpc47m15x.h +++ b/src/superio/smsc/lpc47m15x/lpc47m15x.h @@ -17,8 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef SUPERIO_SMSC_LPC47M15X_LPC47M15X_H -#define SUPERIO_SMSC_LPC47M15X_LPC47M15X_H +#ifndef SUPERIO_SMSC_LPC47M15X_H +#define SUPERIO_SMSC_LPC47M15X_H #define LPC47M15X_FDC 0 /* Floppy */ #define LPC47M15X_PP 3 /* Parallel Port */ @@ -31,4 +31,9 @@ #define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F -#endif +#include <arch/io.h> +#include <stdint.h> + +void lpc47m15x_enable_serial(device_t dev, u16 iobase); + +#endif /* SUPERIO_SMSC_LPC47M15X_H */ |