Kerry Sheh | 3c71a85 | 2012-02-07 20:31:40 +0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2012 Advanced Micro Devices, Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Kerry Sheh | 3c71a85 | 2012-02-07 20:31:40 +0800 | [diff] [blame] | 14 | */ |
| 15 | |
Edward O'Callaghan | 031cf21 | 2014-07-18 06:37:27 +1000 | [diff] [blame] | 16 | #ifndef SUPERIO_SMSC_SIO1306_H |
| 17 | #define SUPERIO_SMSC_SIO1306_H |
| 18 | |
Kerry Sheh | 3c71a85 | 2012-02-07 20:31:40 +0800 | [diff] [blame] | 19 | #define SIO1036_SP1 0 /* Com1 */ |
| 20 | |
| 21 | #define UART_POWER_DOWN (1 << 7) |
| 22 | #define LPT_POWER_DOWN (1 << 2) |
| 23 | #define IR_OUPUT_MUX (1 << 6) |
Edward O'Callaghan | 031cf21 | 2014-07-18 06:37:27 +1000 | [diff] [blame] | 24 | |
Edward O'Callaghan | 47b8075 | 2014-08-02 20:08:35 +1000 | [diff] [blame] | 25 | #include <arch/io.h> |
| 26 | #include <stdint.h> |
| 27 | |
Edward O'Callaghan | 85836c2 | 2014-07-09 20:26:25 +1000 | [diff] [blame] | 28 | void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase); |
Edward O'Callaghan | 47b8075 | 2014-08-02 20:08:35 +1000 | [diff] [blame] | 29 | |
Edward O'Callaghan | 031cf21 | 2014-07-18 06:37:27 +1000 | [diff] [blame] | 30 | #endif /* SUPERIO_SMSC_1306_H */ |