inteltool/gpio: Add support for new Lewisburg chipsets
- Add SKUs and Super SKUs of new Lewisburg series chipsets: C621A, C627A, C629A [1]. - These changes allow the utility to generate the GPIO config registers dump. [1] https://review.coreboot.org/c/coreboot/+/40395 Change-Id: I9b63c0a3860a901e58af0c0d5184361661bab5e3 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43534 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
ec0551c6b0
commit
de7092b8a3
|
@ -1045,11 +1045,17 @@ int print_gpios(struct pci_dev *sb, int show_all, int show_diffs)
|
||||||
case PCI_DEVICE_ID_INTEL_C627:
|
case PCI_DEVICE_ID_INTEL_C627:
|
||||||
case PCI_DEVICE_ID_INTEL_C628:
|
case PCI_DEVICE_ID_INTEL_C628:
|
||||||
case PCI_DEVICE_ID_INTEL_C629:
|
case PCI_DEVICE_ID_INTEL_C629:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C621A:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C627A:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C629A:
|
||||||
case PCI_DEVICE_ID_INTEL_C624_SUPER:
|
case PCI_DEVICE_ID_INTEL_C624_SUPER:
|
||||||
case PCI_DEVICE_ID_INTEL_C627_SUPER_1:
|
case PCI_DEVICE_ID_INTEL_C627_SUPER_1:
|
||||||
case PCI_DEVICE_ID_INTEL_C621_SUPER:
|
case PCI_DEVICE_ID_INTEL_C621_SUPER:
|
||||||
case PCI_DEVICE_ID_INTEL_C627_SUPER_2:
|
case PCI_DEVICE_ID_INTEL_C627_SUPER_2:
|
||||||
case PCI_DEVICE_ID_INTEL_C628_SUPER:
|
case PCI_DEVICE_ID_INTEL_C628_SUPER:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C621A_SUPER:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C627A_SUPER:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C629A_SUPER:
|
||||||
case PCI_DEVICE_ID_INTEL_H310:
|
case PCI_DEVICE_ID_INTEL_H310:
|
||||||
case PCI_DEVICE_ID_INTEL_H370:
|
case PCI_DEVICE_ID_INTEL_H370:
|
||||||
case PCI_DEVICE_ID_INTEL_Z390:
|
case PCI_DEVICE_ID_INTEL_Z390:
|
||||||
|
|
|
@ -124,11 +124,17 @@ const struct gpio_community *const *get_gpio_communities(struct pci_dev *const s
|
||||||
case PCI_DEVICE_ID_INTEL_C627:
|
case PCI_DEVICE_ID_INTEL_C627:
|
||||||
case PCI_DEVICE_ID_INTEL_C628:
|
case PCI_DEVICE_ID_INTEL_C628:
|
||||||
case PCI_DEVICE_ID_INTEL_C629:
|
case PCI_DEVICE_ID_INTEL_C629:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C621A:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C627A:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C629A:
|
||||||
case PCI_DEVICE_ID_INTEL_C624_SUPER:
|
case PCI_DEVICE_ID_INTEL_C624_SUPER:
|
||||||
case PCI_DEVICE_ID_INTEL_C627_SUPER_1:
|
case PCI_DEVICE_ID_INTEL_C627_SUPER_1:
|
||||||
case PCI_DEVICE_ID_INTEL_C621_SUPER:
|
case PCI_DEVICE_ID_INTEL_C621_SUPER:
|
||||||
case PCI_DEVICE_ID_INTEL_C627_SUPER_2:
|
case PCI_DEVICE_ID_INTEL_C627_SUPER_2:
|
||||||
case PCI_DEVICE_ID_INTEL_C628_SUPER:
|
case PCI_DEVICE_ID_INTEL_C628_SUPER:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C621A_SUPER:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C627A_SUPER:
|
||||||
|
case PCI_DEVICE_ID_INTEL_C629A_SUPER:
|
||||||
*community_count = ARRAY_SIZE(lewisburg_communities);
|
*community_count = ARRAY_SIZE(lewisburg_communities);
|
||||||
return lewisburg_communities;
|
return lewisburg_communities;
|
||||||
case PCI_DEVICE_ID_INTEL_DNV_LPC:
|
case PCI_DEVICE_ID_INTEL_DNV_LPC:
|
||||||
|
|
|
@ -169,11 +169,17 @@ static inline uint32_t inl(unsigned port)
|
||||||
#define PCI_DEVICE_ID_INTEL_C627 0xa1c6
|
#define PCI_DEVICE_ID_INTEL_C627 0xa1c6
|
||||||
#define PCI_DEVICE_ID_INTEL_C628 0xa1c7
|
#define PCI_DEVICE_ID_INTEL_C628 0xa1c7
|
||||||
#define PCI_DEVICE_ID_INTEL_C629 0xa1ca
|
#define PCI_DEVICE_ID_INTEL_C629 0xa1ca
|
||||||
|
#define PCI_DEVICE_ID_INTEL_C621A 0xa1cb
|
||||||
|
#define PCI_DEVICE_ID_INTEL_C627A 0xa1cc
|
||||||
|
#define PCI_DEVICE_ID_INTEL_C629A 0xa1cd
|
||||||
#define PCI_DEVICE_ID_INTEL_C624_SUPER 0xa242
|
#define PCI_DEVICE_ID_INTEL_C624_SUPER 0xa242
|
||||||
#define PCI_DEVICE_ID_INTEL_C627_SUPER_1 0xa243
|
#define PCI_DEVICE_ID_INTEL_C627_SUPER_1 0xa243
|
||||||
#define PCI_DEVICE_ID_INTEL_C621_SUPER 0xa244
|
#define PCI_DEVICE_ID_INTEL_C621_SUPER 0xa244
|
||||||
#define PCI_DEVICE_ID_INTEL_C627_SUPER_2 0xa245
|
#define PCI_DEVICE_ID_INTEL_C627_SUPER_2 0xa245
|
||||||
#define PCI_DEVICE_ID_INTEL_C628_SUPER 0xa246
|
#define PCI_DEVICE_ID_INTEL_C628_SUPER 0xa246
|
||||||
|
#define PCI_DEVICE_ID_INTEL_C621A_SUPER 0xa24a
|
||||||
|
#define PCI_DEVICE_ID_INTEL_C627A_SUPER 0xa24b
|
||||||
|
#define PCI_DEVICE_ID_INTEL_C629A_SUPER 0xa24c
|
||||||
|
|
||||||
#define PCI_DEVICE_ID_INTEL_H310 0xa303
|
#define PCI_DEVICE_ID_INTEL_H310 0xa303
|
||||||
#define PCI_DEVICE_ID_INTEL_H370 0xa304
|
#define PCI_DEVICE_ID_INTEL_H370 0xa304
|
||||||
|
|
Loading…
Reference in New Issue