summary refs log tree commit diff stats
path: root/hw/arm/aspeed_eeprom.h
diff options
context:
space:
mode:
authorNinad Palsule <ninad@linux.ibm.com>2023-05-23 16:45:19 -0500
committerCédric Le Goater <clg@kaod.org>2023-06-15 18:35:57 +0200
commitbe85508f174def8f13cac3855368a27592a6ea1b (patch)
treef8210e2d2f44c322e2f2857eec1ab4333333ac21 /hw/arm/aspeed_eeprom.h
parent7efd65423ab22e6f5890ca08ae40c84d6660242f (diff)
downloadfocaccia-qemu-be85508f174def8f13cac3855368a27592a6ea1b.tar.gz
focaccia-qemu-be85508f174def8f13cac3855368a27592a6ea1b.zip
hw/arm/aspeed: Add VPD data for Rainier machine
The current modeling of Rainier machine creates zero filled VPDs(EEPROMs).
This makes some services and applications unhappy and causing them to fail.
Hence this drop adds some fabricated data for system and BMC FRU so that
vpd services are happy and active.

Tested:
   - The system-vpd.service is active.
   - VPD service related to bmc is active.

Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[ clg: commit title cleanup ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/arm/aspeed_eeprom.h')
-rw-r--r--hw/arm/aspeed_eeprom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/arm/aspeed_eeprom.h b/hw/arm/aspeed_eeprom.h
index 86db6f0479..bbf9e54365 100644
--- a/hw/arm/aspeed_eeprom.h
+++ b/hw/arm/aspeed_eeprom.h
@@ -22,4 +22,9 @@ extern const size_t fby35_bmc_fruid_len;
 extern const uint8_t yosemitev2_bmc_fruid[];
 extern const size_t yosemitev2_bmc_fruid_len;
 
+extern const uint8_t rainier_bb_fruid[];
+extern const size_t rainier_bb_fruid_len;
+extern const uint8_t rainier_bmc_fruid[];
+extern const size_t rainier_bmc_fruid_len;
+
 #endif