hw/arm/aspeed: Add VPD data for Rainier machine
commitbe85508f174def8f13cac3855368a27592a6ea1b
authorNinad Palsule <ninad@linux.ibm.com>
Tue, 23 May 2023 21:45:19 +0000 (23 16:45 -0500)
committerCédric Le Goater <clg@kaod.org>
Thu, 15 Jun 2023 16:35:57 +0000 (15 18:35 +0200)
treef8210e2d2f44c322e2f2857eec1ab4333333ac21
parent7efd65423ab22e6f5890ca08ae40c84d6660242f
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>
hw/arm/aspeed.c
hw/arm/aspeed_eeprom.c
hw/arm/aspeed_eeprom.h