summaryrefslogtreecommitdiff
path: root/src/superio/nsc/common/nsc.h
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2019-02-10 23:03:17 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-14 07:53:56 +0000
commite7705f2df1247112572f96f606b111b94d04fa2c (patch)
tree7556530904f455eeed17817954b130348eae5aed /src/superio/nsc/common/nsc.h
parent85ea91ae3cee3496905626f3d864a1eedfc55f95 (diff)
superio/nsc: Introduce common early_serial
Change-Id: I0860e95258b87f059a3a9c31e382d758403d0428 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/31332 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/nsc/common/nsc.h')
-rw-r--r--src/superio/nsc/common/nsc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/superio/nsc/common/nsc.h b/src/superio/nsc/common/nsc.h
new file mode 100644
index 0000000000..76112dc4fa
--- /dev/null
+++ b/src/superio/nsc/common/nsc.h
@@ -0,0 +1,26 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2014 Edward O'Callaghan <eocallaghan@alterapraxis.com>
+ * Copyright (C) 2014 Felix Held <felix-coreboot@felixheld.de>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef SUPERIO_NSC_COMMON_PRE_RAM_H
+#define SUPERIO_NSC_COMMON_PRE_RAM_H
+
+#include <device/pnp_def.h>
+#include <stdint.h>
+
+void nsc_enable_serial(pnp_devfn_t dev, u16 iobase);
+
+#endif /* SUPERIO_NSC_COMMON_PRE_RAM_H */