configurations: add generic BMC Storage Module
Add the generic BMC Storage Module configuration for the projects that
use 'BMC Storage Module' as 'BOARD_PRODUCT_NAME'.
Add manufacturer into the probe so the configuration could be used for
BMC Storage Module manufactured by Wiwynn.
Change-Id: If18209d17788eec6179cfe3b8e52ce80f1db18e2
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/configurations/bmc_storage_module.json b/configurations/bmc_storage_module.json
new file mode 100644
index 0000000..6b38912
--- /dev/null
+++ b/configurations/bmc_storage_module.json
@@ -0,0 +1,19 @@
+{
+ "Exposes": [
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "BMC Storage Module FRU",
+ "Type": "EEPROM"
+ }
+ ],
+ "Name": "BMC Storage Module",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'BMC Storage Module', 'BOARD_MANUFACTURER': 'Wiwynn'})",
+ "Type": "Board",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "$PRODUCT_MANUFACTURER",
+ "Model": "$PRODUCT_PRODUCT_NAME",
+ "PartNumber": "$PRODUCT_PART_NUMBER",
+ "SerialNumber": "$PRODUCT_SERIAL_NUMBER"
+ }
+}
diff --git a/meson.build b/meson.build
index 718be98..b633eb6 100644
--- a/meson.build
+++ b/meson.build
@@ -96,6 +96,7 @@
'aspower_u1d-d10800_psu.json',
'axx1p100hssi_aic.json',
'axx2prthdhd.json',
+ 'bmc_storage_module.json',
'bnp_baseboard.json',
'bellavista.json',
'bonnell.json',