Instead of duplicating the pci_locate_device calls multiple times,
authorTobias Diedrich <ranma+coreboot@tdiedrich.de>
Sun, 7 Nov 2010 18:46:13 +0000 (18:46 +0000)
committerRudolf Marek <r.marek@assembler.cz>
Sun, 7 Nov 2010 18:46:13 +0000 (18:46 +0000)
commitef2928e708b881d6d54c2308a4c596a6d003743b
treeecc52b5d2b1eddcc1309c62b52314698551ad4d8
parent6953eeb3427c8f72d88d8eff52cb211bc2f224dc
Instead of duplicating the pci_locate_device calls multiple times,
add a get_vt8237_lpc() function.

Signed-off-by: Tobias Diedrich <ranma+coreboot@tdiedrich.de>
Acked-by: Rudolf Marek <r.marek@assembler.cz>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6040 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/southbridge/via/vt8237r/vt8237r_early_smbus.c