summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc87360/early_serial.c
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2019-02-10 23:22:13 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-14 07:54:40 +0000
commit485937fd4f184374ca95fe9541d3cf1e18d0c21b (patch)
tree61c4c022028c21624798f9c1b13b564163bfa79c /src/superio/nsc/pc87360/early_serial.c
parent05383287a1a4e1f1bcf64a784c51b24b9cfe97ae (diff)
superio/nsc/pc87360: Use common early_serial
Change-Id: Id866c30d676e3c3ff53bfc2547abffce6e9b5e07 Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/31335 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/nsc/pc87360/early_serial.c')
-rw-r--r--src/superio/nsc/pc87360/early_serial.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/superio/nsc/pc87360/early_serial.c b/src/superio/nsc/pc87360/early_serial.c
deleted file mode 100644
index 371761ed5c..0000000000
--- a/src/superio/nsc/pc87360/early_serial.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2000 AG Electronics Ltd.
- * Copyright (C) 2003-2004 Linux Networx
- *
- * 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.
- */
-
-#include <arch/io.h>
-#include <device/pnp.h>
-#include <stdint.h>
-#include "pc87360.h"
-
-void pc87360_enable_serial(pnp_devfn_t dev, u16 iobase)
-{
- pnp_set_logical_device(dev);
- pnp_set_enable(dev, 0);
- pnp_set_iobase(dev, PNP_IDX_IO0, iobase);
- pnp_set_enable(dev, 1);
-}