Marshall Dawson | 9f96568 | 2019-10-16 19:40:07 -0600 | [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. |
| 14 | */ |
| 15 | |
| 16 | #ifndef SUPERIO_SMSC_SIO1306_H |
| 17 | #define SUPERIO_SMSC_SIO1306_H |
| 18 | |
| 19 | #define SIO1036_SP1 0 /* Com1 */ |
| 20 | |
| 21 | #define UART_POWER_DOWN (1 << 7) |
| 22 | #define LPT_POWER_DOWN (1 << 2) |
| 23 | #define IR_OUTPUT_MUX (1 << 6) |
| 24 | |
| 25 | #include <device/pnp_type.h> |
| 26 | #include <stdint.h> |
| 27 | |
| 28 | void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase); |
| 29 | |
| 30 | #endif /* SUPERIO_SMSC_SIO1306_H */ |