amd/stoneyridge/lpc.c: Use new wide IO functions
commitb5f96459276f2f13cdc62353a2cffd959dd97672
authorRichard Spiegel <richard.spiegel@silverbackltd.com>
Wed, 22 Nov 2017 22:28:25 +0000 (22 15:28 -0700)
committerMartin Roth <martinroth@google.com>
Thu, 7 Dec 2017 17:19:04 +0000 (7 17:19 +0000)
treec06460711346d4f99567901fc34d45b4fdffe242
parentebf3aa8c631339938684b39a26d3f51f97ada88a
amd/stoneyridge/lpc.c: Use new wide IO functions

Use the new wide IO functions from southbridge.c to simplify code in
functions set_child_resource and lpc_enable_childrens_resources.

BUG=b:64033893
TEST=Boot to OS, check serial output against previously recorded serial
output from an image without all 5 related changes.

Change-Id: I8533e8ff766df8a8261298559aace7666487826d
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/22574
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/soc/amd/stoneyridge/lpc.c