sb/intel/common/smbus_ops.c: Clean up read resources
commit5f7343273708490137163445c4a3ba38ed2b7b1e
authorAngel Pons <th3fanbus@gmail.com>
Thu, 10 Dec 2020 16:29:25 +0000 (10 17:29 +0100)
committerNico Huber <nico.h@gmx.de>
Mon, 14 Dec 2020 21:03:28 +0000 (14 21:03 +0000)
tree630859890822eae504a976c0f474be4f46a0de74
parent3ee6d7bf22d4618478ca78f38e2dc648e2f26db3
sb/intel/common/smbus_ops.c: Clean up read resources

Using `pci_dev_read_resources` works just as well on bd82x6x (the
allocator does the same) and allows dropping the i82801gx check.

Change-Id: I1cb05131a82ebb7c45827eff8e09e445d9c695b3
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48538
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/southbridge/intel/common/smbus_ops.c