Add another riser support for 2U boards
Tested with a A2UL8RISER2 card,
the device is connected to i2c2 with address 0x51, the eeprom data as below:
hexdump -Cv eeprom
00000000 01 01 00 02 00 00 00 fc 01 00 00 00 00 00 00 01 |................|
00000010 01 0a 00 94 a2 9c d1 49 6e 74 65 6c 20 43 6f 72 |.......Intel Cor|
00000020 70 6f 72 61 74 69 6f 6e cb 41 32 55 4c 38 52 49 |poration.A2UL8RI|
00000030 53 45 52 32 cc 42 51 57 4c 35 32 38 30 30 34 31 |SER2.BQWL5280041|
00000040 35 ca 48 32 30 30 38 37 2d 31 35 31 cc 46 52 55 |5.H20087-151.FRU|
00000050 20 56 65 72 20 30 2e 30 31 c1 00 00 00 00 00 c0 | Ver 0.01.......|
00000060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
Change-Id: I219aad5058172177f5f027746fe06a0d870fb339
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
diff --git a/configurations/R2000 Chassis.json b/configurations/R2000 Chassis.json
index 05d191f..b2d4893 100644
--- a/configurations/R2000 Chassis.json
+++ b/configurations/R2000 Chassis.json
@@ -130,7 +130,7 @@
"probe": [
"FOUND('WFP Baseboard')",
"AND",
- "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'A2UL16RISER\\d'})",
+ "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'A2UL\\d+RISER\\d'})",
"MATCH_ONE"
]
}
\ No newline at end of file