Dave Frodin (dave.frodin@se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1982
-gerrit
commit 5fd53218611955036569c5c0de9f0cf6974af653 Author: Dave Frodin dave.frodin@se-eng.com Date: Wed Dec 5 08:20:12 2012 -0700
Add function to map vendor/device to generic VBIOS IDs
Change-Id: I4d7c4ec2b91c97eacf96770c150c2b9a61309053 Signed-off-by: Dave Frodin dave.frodin@se-eng.com --- src/northbridge/amd/agesa/family15tn/northbridge.c | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+)
diff --git a/src/northbridge/amd/agesa/family15tn/northbridge.c b/src/northbridge/amd/agesa/family15tn/northbridge.c index 5659ac6..9318164 100644 --- a/src/northbridge/amd/agesa/family15tn/northbridge.c +++ b/src/northbridge/amd/agesa/family15tn/northbridge.c @@ -1150,3 +1150,39 @@ struct chip_operations northbridge_amd_agesa_family15tn_root_complex_ops = { CHIP_NAME("AMD FAM15 Root Complex") .enable_dev = root_complex_enable_dev, }; + +/******************************************************************** +* Change the vendor / device IDs to match the generic VBIOS header. +********************************************************************/ +u32 map_oprom_vendev(u32 vendev) +{ + u32 new_vendev=vendev; + + switch(vendev) { + //case 0x10029900: //FS1r2 + case 0x10029901: //FM2 + case 0x10029903: //FS1r2 + case 0x10029904: //FM2 + case 0x10029906: //FM2 + case 0x10029907: //FP2 + case 0x10029908: //FP2 + case 0x1002990A: //FP2 + case 0x10029910: //FS1r2 + case 0x10029913: //FS1r2 + case 0x10029917: //FP2 + case 0x10029918: //FP2 + case 0x10029919: //FP2 + case 0x10029990: //FS1r2 + case 0x10029991: //FM2 + case 0x10029992: //FS1r2 + case 0x10029993: //FM2 + case 0x10029994: //FP2 + case 0x100299A0: //FS1r2 + case 0x100299A2: //FS1r2 + case 0x100299A4: //FP2 + new_vendev=0x10029900; + break; + } + + return new_vendev; +}