12f421745c
At the moment the RTAS (firmware/hypervisor) time of day functions are implemented in spapr_rtas.c along with a bunch of other things. Since we're going to be expanding these a bit, move the RTAS RTC related code out into new file spapr_rtc.c. Also add its own initialization function, spapr_rtc_init() called from the main machine init routine. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
24 lines
783 B
Makefile
24 lines
783 B
Makefile
# shared objects
|
|
obj-y += ppc.o ppc_booke.o
|
|
# IBM pSeries (sPAPR)
|
|
obj-$(CONFIG_PSERIES) += spapr.o spapr_vio.o spapr_events.o
|
|
obj-$(CONFIG_PSERIES) += spapr_hcall.o spapr_iommu.o spapr_rtas.o
|
|
obj-$(CONFIG_PSERIES) += spapr_pci.o spapr_rtc.o
|
|
ifeq ($(CONFIG_PCI)$(CONFIG_PSERIES)$(CONFIG_LINUX), yyy)
|
|
obj-y += spapr_pci_vfio.o
|
|
endif
|
|
# PowerPC 4xx boards
|
|
obj-y += ppc405_boards.o ppc4xx_devs.o ppc405_uc.o ppc440_bamboo.o
|
|
obj-y += ppc4xx_pci.o
|
|
# PReP
|
|
obj-$(CONFIG_PREP) += prep.o
|
|
# OldWorld PowerMac
|
|
obj-$(CONFIG_MAC) += mac_oldworld.o
|
|
# NewWorld PowerMac
|
|
obj-$(CONFIG_MAC) += mac_newworld.o
|
|
# e500
|
|
obj-$(CONFIG_E500) += e500.o mpc8544ds.o e500plat.o
|
|
obj-$(CONFIG_E500) += mpc8544_guts.o ppce500_spin.o
|
|
# PowerPC 440 Xilinx ML507 reference board.
|
|
obj-$(CONFIG_XILINX) += virtex_ml507.o
|