[coreboot-gerrit] New patch to review for coreboot: 209ab8d via/epia-n: use winbond_enable_serial() function

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Thu Jun 5 20:52:46 CEST 2014


HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5935

-gerrit

commit 209ab8d361e87b58d025d7a70c0a1ce22826933e
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Thu Jun 5 20:50:30 2014 +0200

    via/epia-n: use winbond_enable_serial() function
    
    Change-Id: Icd8ab602f40e73ab7d47cab43f0a2096c50b8be5
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/mainboard/via/epia-n/romstage.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mainboard/via/epia-n/romstage.c b/src/mainboard/via/epia-n/romstage.c
index 568dab5..71d1b53 100644
--- a/src/mainboard/via/epia-n/romstage.c
+++ b/src/mainboard/via/epia-n/romstage.c
@@ -26,6 +26,8 @@
 #include <device/pnp_def.h>
 #include <arch/hlt.h>
 #include <console/console.h>
+#include <superio/winbond/common/winbond.h>
+#include <superio/winbond/w83697hf/w83697hf.h>
 #include "northbridge/via/cn400/raminit.h"
 #include "cpu/x86/mtrr/earlymtrr.c"
 #include "cpu/x86/bist.h"
@@ -33,7 +35,6 @@
 #include "lib/delay.c"
 #include "cpu/x86/lapic/boot_cpu.c"
 #include "southbridge/via/vt8237r/early_smbus.c"
-#include "superio/winbond/w83697hf/early_serial.c"
 #include <spd.h>
 
 #define SERIAL_DEV PNP_DEV(0x2e, W83697HF_SP1)
@@ -110,7 +111,7 @@ static void main(unsigned long bist)
 	pci_write_config8(ctrl.d0f0, 0x4f, 0x01);
 
 	w83697hf_set_clksel_48(DUMMY_DEV);
-	w83697hf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
+	winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
 	console_init();
 
 	enable_smbus();



More information about the coreboot-gerrit mailing list