xref: /openbmc/linux/arch/powerpc/platforms/maple/maple.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
20cb7b2afSPaul Mackerras /*
30cb7b2afSPaul Mackerras  * Declarations for maple-specific code.
40cb7b2afSPaul Mackerras  *
50cb7b2afSPaul Mackerras  * Maple is the name of a PPC970 evaluation board.
60cb7b2afSPaul Mackerras  */
70cb7b2afSPaul Mackerras extern int maple_set_rtc_time(struct rtc_time *tm);
80cb7b2afSPaul Mackerras extern void maple_get_rtc_time(struct rtc_time *tm);
9*5bfd6435SArnd Bergmann extern time64_t maple_get_boot_time(void);
100cb7b2afSPaul Mackerras extern void maple_calibrate_decr(void);
110cb7b2afSPaul Mackerras extern void maple_pci_init(void);
12f90bb153SBenjamin Herrenschmidt extern void maple_pci_irq_fixup(struct pci_dev *dev);
130cb7b2afSPaul Mackerras extern int maple_pci_get_legacy_ide_irq(struct pci_dev *dev, int channel);
1419124d6dSDaniel Axtens 
1519124d6dSDaniel Axtens extern struct pci_controller_ops maple_pci_controller_ops;
16