ppc/pnv: introduce new skiboot platform properties
commit83b90bf026767df5faefe3daca9f1649a5591418
authorCédric Le Goater <clg@kaod.org>
Mon, 27 May 2019 07:17:49 +0000 (27 09:17 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 29 May 2019 01:39:47 +0000 (29 11:39 +1000)
treec85748c6f70e3c0618f78b991e14d9f2f6715378
parent3725ef1a944bbe1173b55fdabe76fb17876f1d9e
ppc/pnv: introduce new skiboot platform properties

Newer skiboots (after 6.3) support QEMU platforms that have
characteristics closer to real OpenPOWER systems. The CPU type is used
to define the BMC drivers: Aspeed AST2400 for POWER8 processors and
AST2500 for POWER9s.

Advertise the new platform property names, "qemu,powernv8" and
"qemu,powernv9", using the CPU type chosen for the QEMU PowerNV
machine. Also, advertise the original platform name "qemu,powernv" in
case of POWER8 processors for compatibility with older skiboots.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190527071749.31499-1-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c