projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Winbond W83627HF: Use existing functions instead of open-coding.
[coreboot.git]
/
src
/
mainboard
/
via
/
epia-m700
/
romstage.c
diff --git
a/src/mainboard/via/epia-m700/romstage.c
b/src/mainboard/via/epia-m700/romstage.c
index 6d0957049becd8b3fb3cb63f30f409683b9ba43d..85522c03d97e0d28089796f5d6361e679f6dd42e 100644
(file)
--- a/
src/mainboard/via/epia-m700/romstage.c
+++ b/
src/mainboard/via/epia-m700/romstage.c
@@
-46,6
+46,7
@@
#include "superio/winbond/w83697hf/w83697hf_early_serial.c"
#define SERIAL_DEV PNP_DEV(0x2e, W83697HF_SP1)
#include "superio/winbond/w83697hf/w83697hf_early_serial.c"
#define SERIAL_DEV PNP_DEV(0x2e, W83697HF_SP1)
+#define DUMMY_DEV PNP_DEV(0x2e, 0)
/*
* This acpi_is_wakeup_early_via_VX800 is from Rudolf's patch on the list:
/*
* This acpi_is_wakeup_early_via_VX800 is from Rudolf's patch on the list:
@@
-384,7
+385,7
@@
void main(unsigned long bist)
*/
pci_write_config8(PCI_DEV(0, 0, 0), 0x4f, 0x01);
/* EmbedComInit(); */
*/
pci_write_config8(PCI_DEV(0, 0, 0), 0x4f, 0x01);
/* EmbedComInit(); */
- w83697hf_set_clksel_48(
SERIAL
_DEV);
+ w83697hf_set_clksel_48(
DUMMY
_DEV);
w83697hf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
uart_init();
/* enable_vx800_serial(); */
w83697hf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
uart_init();
/* enable_vx800_serial(); */