Marc Jones | 04134a5 | 2013-10-30 16:18:07 -0600 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2013 Sage Electronic Engineering LLC. |
| 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. |
Marc Jones | 04134a5 | 2013-10-30 16:18:07 -0600 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef SUPERIO_SMSC_1007_CHIP_H |
| 17 | #define SUPERIO_SMSC_1007_CHIP_H |
| 18 | |
Edward O'Callaghan | def00be | 2014-04-30 05:01:52 +1000 | [diff] [blame] | 19 | /* FIXME: wrong place for this! */ |
Marc Jones | 04134a5 | 2013-10-30 16:18:07 -0600 | [diff] [blame] | 20 | void sio1007_setreg(u16 lpc_port, u8 reg, u8 value, u8 mask); |
| 21 | int sio1007_enable_uart_at(u16 port); |
| 22 | |
| 23 | #endif |