2006-06-18 06:52:45 +08:00
|
|
|
/*
|
|
|
|
* Copyright 2006 Freescale Semiconductor Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MPC86XX_H__
|
|
|
|
#define __MPC86XX_H__
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Declaration for the various functions exported by the
|
|
|
|
* mpc86xx_* files. Mostly for use by mpc86xx_setup().
|
|
|
|
*/
|
|
|
|
|
2006-06-28 13:37:45 +08:00
|
|
|
extern int add_bridge(struct device_node *dev);
|
2006-06-18 06:52:45 +08:00
|
|
|
|
2006-06-28 13:37:45 +08:00
|
|
|
extern int mpc86xx_exclude_device(u_char bus, u_char devfn);
|
|
|
|
|
|
|
|
extern void setup_indirect_pcie(struct pci_controller *hose,
|
2006-06-18 06:52:45 +08:00
|
|
|
u32 cfg_addr, u32 cfg_data);
|
2006-06-28 13:37:45 +08:00
|
|
|
extern void setup_indirect_pcie_nomap(struct pci_controller *hose,
|
2006-06-18 06:52:45 +08:00
|
|
|
void __iomem *cfg_addr,
|
|
|
|
void __iomem *cfg_data);
|
|
|
|
|
|
|
|
extern void __init mpc86xx_smp_init(void);
|
|
|
|
|
|
|
|
#endif /* __MPC86XX_H__ */
|