diff options
| author | Cédric Le Goater <clg@kaod.org> | 2019-10-28 08:00:27 +0100 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2019-12-17 10:39:47 +1100 |
| commit | ca661fae81d3b36b72c316a63165d9318dbd2439 (patch) | |
| tree | 5171d2957f99f67c48132c71de30eff9d7ace561 /hw/ppc/pnv.c | |
| parent | ed8da05cdb18a32a8a41165d5b7b367bc05fdab0 (diff) | |
| download | focaccia-qemu-ca661fae81d3b36b72c316a63165d9318dbd2439.tar.gz focaccia-qemu-ca661fae81d3b36b72c316a63165d9318dbd2439.zip | |
ppc/pnv: Add HIOMAP commands
This activates HIOMAP support on the QEMU PowerNV machine. The PnvPnor model is used to access the flash contents. The model simply maps the contents at a fix offset and enables or disables the mapping. HIOMAP Protocol description : https://github.com/openbmc/hiomapd/blob/master/Documentation/protocol.md Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20191028070027.22752-3-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/pnv.c')
| -rw-r--r-- | hw/ppc/pnv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index a2a8b97330..c3ac0d6d5b 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -569,6 +569,7 @@ static void pnv_reset(MachineState *machine) obj = object_resolve_path_type("", "ipmi-bmc-sim", NULL); if (obj) { pnv->bmc = IPMI_BMC(obj); + pnv_bmc_hiomap(pnv->bmc); } fdt = pnv_dt_create(machine); |