diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2012-11-12 16:46:57 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-12-14 13:12:54 +0100 |
commit | 639e8102ae71ce2e46ebeffc6080767e573c0c56 (patch) | |
tree | 5a09de7099446d237dec48b0c9d19ae8c76ca4d0 /hw/ppc/Makefile.objs | |
parent | 22a2611c9cef4a8c8ad96fe17b3511a6cc5fb3a1 (diff) | |
download | qemu-639e8102ae71ce2e46ebeffc6080767e573c0c56.zip qemu-639e8102ae71ce2e46ebeffc6080767e573c0c56.tar.gz qemu-639e8102ae71ce2e46ebeffc6080767e573c0c56.tar.bz2 |
pseries: Implement PAPR NVRAM
The PAPR specification requires a certain amount of NVRAM, accessed via
RTAS, which we don't currently implement in qemu. This patch addresses
this deficiency, implementing the NVRAM as a VIO device, with some glue to
instantiate it automatically based on a machine option.
The machine option specifies a drive id, which is used to back the NVRAM,
making it persistent. If nothing is specified, the driver instead simply
allocates space for the NVRAM, which will not be persistent
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/Makefile.objs')
-rw-r--r-- | hw/ppc/Makefile.objs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs index 8fe2123..4492127 100644 --- a/hw/ppc/Makefile.objs +++ b/hw/ppc/Makefile.objs @@ -11,7 +11,7 @@ obj-y += ppc_newworld.o obj-$(CONFIG_PSERIES) += spapr.o spapr_hcall.o spapr_rtas.o spapr_vio.o obj-$(CONFIG_PSERIES) += xics.o spapr_vty.o spapr_llan.o spapr_vscsi.o obj-$(CONFIG_PSERIES) += spapr_pci.o pci-hotplug.o spapr_iommu.o -obj-$(CONFIG_PSERIES) += spapr_events.o +obj-$(CONFIG_PSERIES) += spapr_events.o spapr_nvram.o # PowerPC 4xx boards obj-y += ppc4xx_devs.o ppc4xx_pci.o ppc405_uc.o ppc405_boards.o obj-y += ppc440_bamboo.o |