sb/i82801ix: Use macros instead of hard-coded IDs
commit7f8b0cd89c10621f456e3eebcd290d3946122d6d
authorFelix Singer <felix.singer@9elements.com>
Sun, 10 Nov 2019 10:04:08 +0000 (10 11:04 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 22 Nov 2019 10:47:43 +0000 (22 10:47 +0000)
tree018baa84262893975bd353807594d0d7f4052a4f
parent94146009a190383a581618fd969bf2276fb73585
sb/i82801ix: Use macros instead of hard-coded IDs

This patch replaces hard-coded PCI IDs with macros
from pci_ids.h and cleans up some code.

Change-Id: Ie6ea72ac49eb015ef5cbaa98ed2b3400072000b5
Signed-off-by: Felix Singer <felix.singer@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36705
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/include/device/pci_ids.h
src/southbridge/intel/i82801ix/early_smbus.c
src/southbridge/intel/i82801ix/hdaudio.c
src/southbridge/intel/i82801ix/lpc.c
src/southbridge/intel/i82801ix/pcie.c
src/southbridge/intel/i82801ix/sata.c
src/southbridge/intel/i82801ix/smbus.c
src/southbridge/intel/i82801ix/thermal.c
src/southbridge/intel/i82801ix/usb_ehci.c