aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ppc/hawk.h
blob: f347007d22aff57b7291162d394a9a3aa6ecc8c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * include/asm-ppc/hawk.h
 *
 * Support functions for MCG Falcon/Raven & HAWK North Bridge & Memory ctlr.
 *
 * Author: Mark A. Greer
 *         mgreer@mvista.com
 *
 * Modified by Randy Vinson (rvinson@mvista.com)
 *
 * 2001,2004 (c) MontaVista, Software, Inc.  This file is licensed under
 * the terms of the GNU General Public License version 2.  This program
 * is licensed "as is" without any warranty of any kind, whether express
 * or implied.
 */

#ifndef __ASMPPC_HAWK_H
#define __ASMPPC_HAWK_H

#include <asm/pci-bridge.h>
#include <asm/hawk_defs.h>

extern int hawk_init(struct pci_controller *hose,
	      unsigned int ppc_reg_base, unsigned long processor_pci_mem_start,
	      unsigned long processor_pci_mem_end,
	      unsigned long processor_pci_io_start,
	      unsigned long processor_pci_io_end,
	      unsigned long processor_mpic_base);
extern unsigned long hawk_get_mem_size(unsigned int smc_base);
extern int hawk_mpic_init(unsigned int pci_mem_offset);

#endif	/* __ASMPPC_HAWK_H */