Corey Osgood | 33d1af37 | 2007-05-09 08:11:52 +0000 | [diff] [blame] | 1 | /* |
Stefan Reinauer | 7e61e45 | 2008-01-18 10:35:56 +0000 | [diff] [blame] | 2 | * This file is part of the coreboot project. |
Corey Osgood | 33d1af37 | 2007-05-09 08:11:52 +0000 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de> |
| 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; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Corey Osgood | 33d1af37 | 2007-05-09 08:11:52 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
Edward O'Callaghan | 77757c2 | 2015-01-04 21:33:39 +1100 | [diff] [blame] | 17 | #include <northbridge/intel/i440bx/raminit.h> |
Edward O'Callaghan | 6fb379a | 2014-06-01 17:38:22 +1000 | [diff] [blame] | 18 | #include <superio/winbond/common/winbond.h> |
| 19 | #include <superio/winbond/w83977tf/w83977tf.h> |
Richard Smith | 924f92f | 2006-07-29 17:40:36 +0000 | [diff] [blame] | 20 | |
| 21 | #define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1) |
| 22 | |
Kyösti Mälkki | 7a95575 | 2020-01-07 12:18:24 +0200 | [diff] [blame^] | 23 | void mainboard_enable_serial(void) |
Richard Smith | 924f92f | 2006-07-29 17:40:36 +0000 | [diff] [blame] | 24 | { |
Edward O'Callaghan | 6fb379a | 2014-06-01 17:38:22 +1000 | [diff] [blame] | 25 | winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE); |
Richard Smith | 924f92f | 2006-07-29 17:40:36 +0000 | [diff] [blame] | 26 | } |