]>
Commit | Line | Data |
---|---|---|
a9ab73b0 WD |
1 | /* |
2 | * A collection of structures, addresses, and values associated with | |
3 | * the Motorola 860 ADS board. Copied from the MBX stuff. | |
4 | * Magnus Damm added defines for 8xxrom and extended bd_info. | |
5 | * Helmut Buchsbaum added bitvalues for BCSRx | |
6 | * | |
7 | * Copyright (c) 1998 Dan Malek ([email protected]) | |
180d3f74 WD |
8 | * |
9 | * Modified by, Yuli Barcohen, Arabella Software Ltd., [email protected] | |
10 | * | |
11 | * Values common to all FADS family boards are in board/fads/fads.h | |
a9ab73b0 WD |
12 | */ |
13 | ||
180d3f74 WD |
14 | #ifndef __CONFIG_H |
15 | #define __CONFIG_H | |
a9ab73b0 | 16 | |
b028f715 WD |
17 | /* Board type */ |
18 | #define CONFIG_ADS 1 /* Old Motorola MPC821/860ADS */ | |
19 | ||
20 | /* Processor type */ | |
a9ab73b0 | 21 | #define CONFIG_MPC860 1 |
a9ab73b0 | 22 | |
b028f715 | 23 | #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ |
a9ab73b0 WD |
24 | #undef CONFIG_8xx_CONS_SMC2 |
25 | #undef CONFIG_8xx_CONS_NONE | |
a9ab73b0 | 26 | |
b028f715 | 27 | #define CONFIG_BAUDRATE 38400 /* Console baudrate */ |
a9ab73b0 | 28 | |
b028f715 | 29 | #if 0 |
1114257c | 30 | #define CFG_8XX_FACT 1526 /* 32.768 kHz crystal on XTAL/EXTAL */ |
b028f715 | 31 | #else |
1114257c | 32 | #define CFG_8XX_FACT 12 /* 4 MHz oscillator on EXTCLK */ |
b028f715 | 33 | #endif |
a9ab73b0 | 34 | |
1114257c WD |
35 | #define CFG_PLPRCR (((CFG_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \ |
36 | PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST) | |
37 | ||
38 | #define CONFIG_DRAM_50MHZ 1 | |
39 | ||
a9ab73b0 | 40 | |
498ff9a2 JL |
41 | /* |
42 | * Command line configuration. | |
43 | */ | |
44 | #include <config_cmd_default.h> | |
45 | ||
46 | #define CONFIG_CMD_DHCP | |
47 | #define CONFIG_CMD_IMMAP | |
48 | #define CONFIG_CMD_PCMCIA | |
49 | #define CONFIG_CMD_PING | |
50 | ||
51 | /* This is picked up again in fads.h */ | |
52 | #define FADS_COMMANDS_ALREADY_DEFINED | |
a9ab73b0 | 53 | |
f2302d44 | 54 | #include "../../board/fads/fads.h" |
a9ab73b0 | 55 | |
a9ab73b0 WD |
56 | #define CFG_PC_IDE_RESET ((ushort)0x0008) /* PC 12 */ |
57 | ||
180d3f74 | 58 | #endif /* __CONFIG_H */ |