639e8102ae
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>
32 lines
938 B
Makefile
32 lines
938 B
Makefile
# shared objects
|
|
obj-y = ppc.o ppc_booke.o
|
|
# PREP target
|
|
obj-y += mc146818rtc.o
|
|
obj-y += ppc_prep.o
|
|
# OldWorld PowerMac
|
|
obj-y += ppc_oldworld.o
|
|
# NewWorld PowerMac
|
|
obj-y += ppc_newworld.o
|
|
# IBM pSeries (sPAPR)
|
|
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 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
|
|
# PowerPC E500 boards
|
|
obj-$(CONFIG_FDT) += mpc8544_guts.o ppce500_spin.o
|
|
# PowerPC 440 Xilinx ML507 reference board.
|
|
obj-y += virtex_ml507.o
|
|
# PowerPC OpenPIC
|
|
obj-y += openpic.o
|
|
obj-$(CONFIG_FDT) += ../device_tree.o
|
|
|
|
# Xilinx PPC peripherals
|
|
obj-y += xilinx_ethlite.o
|
|
|
|
obj-y := $(addprefix ../,$(obj-y))
|
|
|
|
obj-$(CONFIG_FDT) += e500.o mpc8544ds.o e500plat.o
|