ppc/pnv: Add a PNOR model
commit35dde5766211cac0e608b29b3f71922f116b5932
authorCédric Le Goater <clg@fr.ibm.com>
Mon, 21 Oct 2019 13:12:11 +0000 (21 15:12 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 16 Dec 2019 23:39:47 +0000 (17 10:39 +1100)
treed30d9e4af9f39d6f1b81951b7cb59d2be5f2565c
parentcb88904a54903ef6ba21a68a61d9cd51e2166304
ppc/pnv: Add a PNOR model

On a POWERPC PowerNV system, the host firmware is stored in a PNOR
flash chip which contents is mapped on the LPC bus. This model adds a
simple dummy device to map the contents of a block device in the host
address space.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191021131215.3693-2-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/Makefile.objs
hw/ppc/pnv.c
hw/ppc/pnv_pnor.c [new file with mode: 0644]
include/hw/ppc/pnv.h
include/hw/ppc/pnv_pnor.h [new file with mode: 0644]