summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/stoneyridge/northbridge.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-03-27 14:39:29 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-03-28 15:14:35 +0000
commit1d66ad1cbde133a83efd632dcecaaa4253699d85 (patch)
tree535e253d754e70782608b12e700240c8f6b23681 /src/soc/amd/stoneyridge/northbridge.c
parent0b03c08223d03515646787b9339c0c5104f020a5 (diff)
downloadcoreboot-1d66ad1cbde133a83efd632dcecaaa4253699d85.tar.gz
coreboot-1d66ad1cbde133a83efd632dcecaaa4253699d85.tar.bz2
coreboot-1d66ad1cbde133a83efd632dcecaaa4253699d85.zip
soc/amd/stoneyridge: move map_oprom_vendev to graphics.c
Move map_oprom_vendev to graphics.c to match the other AMD SoCs. Also change the comment style to be more in line with the rest of coreboot and drop the unneeded line break in the printk call. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Icc1f3d73fba973413c5a22e2f5ae01bc58bc3e76 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74041 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/northbridge.c')
-rw-r--r--src/soc/amd/stoneyridge/northbridge.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/soc/amd/stoneyridge/northbridge.c b/src/soc/amd/stoneyridge/northbridge.c
index e318024dd814..384698ac55b2 100644
--- a/src/soc/amd/stoneyridge/northbridge.c
+++ b/src/soc/amd/stoneyridge/northbridge.c
@@ -407,27 +407,6 @@ void domain_read_resources(struct device *dev)
}
}
-/*********************************************************************
- * Change the vendor / device IDs to match the generic VBIOS header. *
- *********************************************************************/
-u32 map_oprom_vendev(u32 vendev)
-{
- u32 new_vendev;
-
- if ((vendev >= 0x100298e0) && (vendev <= 0x100298ef))
- new_vendev = 0x100298e0;
- else if ((vendev >= 0x10029870) && (vendev <= 0x1002987f))
- new_vendev = 0x10029870;
- else
- new_vendev = vendev;
-
- if (vendev != new_vendev)
- printk(BIOS_NOTICE, "Mapping PCI device %8x to %8x\n",
- vendev, new_vendev);
-
- return new_vendev;
-}
-
__weak void set_board_env_params(GNB_ENV_CONFIGURATION *params) { }
void SetNbEnvParams(GNB_ENV_CONFIGURATION *params)