]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/amcc/katmai/chip_config.c
ppc4xx: Katmai: Add chip_config command
[people/ms/u-boot.git] / board / amcc / katmai / chip_config.c
1 /*
2 * (C) Copyright 2009
3 * Stefan Roese, DENX Software Engineering, sr@denx.de.
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 *
23 */
24
25 #include <common.h>
26 #include <asm/ppc4xx_config.h>
27
28 struct ppc4xx_config ppc4xx_config_val[] = {
29 {
30 "400-133","CPU: 400 PLB: 133 OPB: 66 EBC: 66",
31 { 0x86, 0x78, 0xc2, 0xc6, 0x05, 0xa5, 0x04, 0xe1 }
32 },
33 {
34 "500-166","CPU: 500 PLB: 166 OPB: 83 EBC: 83",
35 { 0x87, 0x78, 0xf2, 0xc6, 0x05, 0xa5, 0x04, 0xe1 }
36 },
37 {
38 "533-133","CPU: 533 PLB: 133 OPB: 66 EBC: 66",
39 { 0x87, 0x79, 0x02, 0x52, 0x05, 0xa5, 0x04, 0xe1 }
40 },
41 {
42 "667-133","CPU: 667 PLB: 133 OPB: 66 EBC: 66",
43 { 0x87, 0x79, 0x42, 0x56, 0x05, 0xa5, 0x04, 0xe1 }
44 },
45 {
46 "667-166","CPU: 667 PLB: 166 OPB: 83 EBC: 83",
47 { 0x87, 0x79, 0x42, 0x06, 0x05, 0xa5, 0x04, 0xe1 }
48 },
49 {
50 "800-160","CPU: 800 PLB: 160 OPB: 53 EBC: 17",
51 { 0x86, 0x79, 0x81, 0xa7, 0x07, 0xa5, 0x04, 0xe1 }
52 },
53 };
54
55 int ppc4xx_config_count = ARRAY_SIZE(ppc4xx_config_val);