[PATCH] powerpc: trivial: modify comments to refer to new location of files
[deliverable/linux.git] / arch / ppc / syslib / ppc85xx_setup.h
CommitLineData
1da177e4 1/*
1da177e4
LT
2 * MPC85XX common board definitions
3 *
4c8d3d99 4 * Maintainer: Kumar Gala <galak@kernel.crashing.org>
1da177e4
LT
5 *
6 * Copyright 2004 Freescale Semiconductor Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 *
13 */
14
15#ifndef __PPC_SYSLIB_PPC85XX_SETUP_H
16#define __PPC_SYSLIB_PPC85XX_SETUP_H
17
18#include <linux/config.h>
19#include <linux/init.h>
20#include <asm/ppcboot.h>
21
22extern unsigned long mpc85xx_find_end_of_memory(void) __init;
23extern void mpc85xx_calibrate_decr(void) __init;
24extern void mpc85xx_early_serial_map(void) __init;
25extern void mpc85xx_restart(char *cmd);
26extern void mpc85xx_power_off(void);
27extern void mpc85xx_halt(void);
28extern void mpc85xx_setup_hose(void) __init;
29
30/* PCI config */
31#define PCI1_CFG_ADDR_OFFSET (0x8000)
32#define PCI1_CFG_DATA_OFFSET (0x8004)
33
34#define PCI2_CFG_ADDR_OFFSET (0x9000)
35#define PCI2_CFG_DATA_OFFSET (0x9004)
36
37/* Additional register for PCI-X configuration */
38#define PCIX_NEXT_CAP 0x60
39#define PCIX_CAP_ID 0x61
40#define PCIX_COMMAND 0x62
41#define PCIX_STATUS 0x64
42
43/* Serial Config */
44#ifdef CONFIG_SERIAL_MANY_PORTS
45#define RS_TABLE_SIZE 64
46#else
47#define RS_TABLE_SIZE 2
48#endif
49
50#ifndef BASE_BAUD
51#define BASE_BAUD 115200
52#endif
53
54/* Offset of CPM register space */
55#define CPM_MAP_ADDR (CCSRBAR + MPC85xx_CPM_OFFSET)
56
57#endif /* __PPC_SYSLIB_PPC85XX_SETUP_H */
This page took 0.087822 seconds and 5 git commands to generate.