# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by scripts/Create-CopyPatch. # # T2 SDE: package/.../flashrom/amd.patch # Copyright (C) 2020 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- Added AMD Ryzen 4000 Mobile and AMD Ryzen 3950x PCI revisions to AMD FP4 / AM4 sb600spi.c. Signed-of-by: René Rebe diff --git a/sb600spi.c b/sb600spi.c index 5892d57..8a3c87d 100644 --- a/sb600spi.c +++ b/sb600spi.c @@ -143,7 +143,7 @@ static int determine_generation(struct pci_dev *dev) if (rev == 0x4a) { amd_gen = CHIPSET_YANGTZE; msg_pdbg("Yangtze detected.\n"); - } else if (rev == 0x4b) { + } else if (rev == 0x4b || rev == 0x51 || rev == 0x61) { amd_gen = CHIPSET_PROMONTORY; msg_pdbg("Promontory detected.\n"); } else {