Winbond W83627HF: Use existing functions instead of open-coding.
authorUwe Hermann <uwe@hermann-uwe.de>
Mon, 6 Dec 2010 18:17:01 +0000 (18:17 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 6 Dec 2010 18:17:01 +0000 (18:17 +0000)
commit9b9791c29d0f4e88127f59bb87d53cfed65cd912
tree40ee30e72f4cfd015bafc59a642f1f69959a9d83
parent29cb06abca665954e910f91397957ec93c627e86
Winbond W83627HF: Use existing functions instead of open-coding.

Use w83627hf_set_clksel_48() where needed instead or open-coding the same
functionality, and also use w83627hf_enable_serial() instead of
w83627hf_enable_dev() (which does exactly the same, but isn't wrapped in the
enter/exit config mode functions).

Abuild-tested.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6143 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/mainboard/msi/ms6178/romstage.c
src/mainboard/supermicro/h8dme/romstage.c
src/mainboard/supermicro/h8dmr/romstage.c
src/mainboard/supermicro/h8dmr_fam10/romstage.c
src/mainboard/supermicro/h8qme_fam10/romstage.c
src/mainboard/supermicro/x6dai_g/romstage.c
src/mainboard/supermicro/x6dhe_g/romstage.c
src/mainboard/supermicro/x6dhr_ig/romstage.c
src/mainboard/supermicro/x6dhr_ig2/romstage.c
src/mainboard/via/epia-m700/romstage.c
src/mainboard/via/epia-n/romstage.c