summaryrefslogtreecommitdiffstats
path: root/arch/ppc/mach-mpc85xx/include/mach/config_mpc85xx.h
blob: 27358e83f92cfc53c8045f14d7150a2e769b87bc (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
 * Copyright 2012 GE Intelligent Platforms, Inc.
 * Copyright 2011 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.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _ASM_MPC85xx_CONFIG_H_
#define _ASM_MPC85xx_CONFIG_H_

#define RESET_VECTOR    0xfffffffc

/* Number of TLB CAM entries we have on FSL Book-E chips */
#if defined(CONFIG_E500)
#define NUM_TLBCAMS	16
#endif

#if defined(CONFIG_P2020)
#define MAX_CPUS	2
#define FSL_NUM_LAWS	12
#define FSL_SEC_COMPAT	2
#define FSL_NUM_TSEC	3
#define FSL_ERRATUM_A005125
#define PPC_E500_DEBUG_TLB 2

#elif defined(CONFIG_MPC8544)
#define MAX_CPUS	1
#define FSL_NUM_LAWS	10
#define FSL_NUM_TSEC	2
#define FSL_ERRATUM_A005125
#define PPC_E500_DEBUG_TLB 0

#else
#error Processor type not defined for this platform
#endif

#endif /* _ASM_MPC85xx_CONFIG_H_ */