wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 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 (dmalek@jlc.net) |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 8 | * |
| 9 | * Modified by, Yuli Barcohen, Arabella Software Ltd., yuli@arabellasw.com |
| 10 | * |
| 11 | * Values common to all FADS family boards are in board/fads/fads.h |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 12 | */ |
| 13 | |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 14 | #ifndef __CONFIG_H |
| 15 | #define __CONFIG_H |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 16 | |
wdenk | 444f22b | 2003-12-07 21:39:28 +0000 | [diff] [blame] | 17 | /* Board type */ |
| 18 | #define CONFIG_ADS 1 /* Old Motorola MPC821/860ADS */ |
| 19 | |
| 20 | /* Processor type */ |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 21 | #define CONFIG_MPC860 1 |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 22 | |
wdenk | 444f22b | 2003-12-07 21:39:28 +0000 | [diff] [blame] | 23 | #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 24 | #undef CONFIG_8xx_CONS_SMC2 |
| 25 | #undef CONFIG_8xx_CONS_NONE |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 26 | |
wdenk | 444f22b | 2003-12-07 21:39:28 +0000 | [diff] [blame] | 27 | #define CONFIG_BAUDRATE 38400 /* Console baudrate */ |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 28 | |
wdenk | 444f22b | 2003-12-07 21:39:28 +0000 | [diff] [blame] | 29 | #if 0 |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 30 | #define CONFIG_SYS_8XX_FACT 1526 /* 32.768 kHz crystal on XTAL/EXTAL */ |
wdenk | 444f22b | 2003-12-07 21:39:28 +0000 | [diff] [blame] | 31 | #else |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 32 | #define CONFIG_SYS_8XX_FACT 12 /* 4 MHz oscillator on EXTCLK */ |
wdenk | 444f22b | 2003-12-07 21:39:28 +0000 | [diff] [blame] | 33 | #endif |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 34 | |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 35 | #define CONFIG_SYS_PLPRCR (((CONFIG_SYS_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \ |
wdenk | a7556b2 | 2004-06-06 21:35:06 +0000 | [diff] [blame] | 36 | PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST) |
| 37 | |
| 38 | #define CONFIG_DRAM_50MHZ 1 |
| 39 | |
Jon Loeliger | ea240f4 | 2007-07-05 19:13:52 -0500 | [diff] [blame] | 40 | |
| 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 |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 50 | |
Jon Loeliger | ea240f4 | 2007-07-05 19:13:52 -0500 | [diff] [blame] | 51 | /* This is picked up again in fads.h */ |
| 52 | #define FADS_COMMANDS_ALREADY_DEFINED |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 53 | |
Stefan Roese | 3762825 | 2008-08-06 14:05:38 +0200 | [diff] [blame] | 54 | #include "../../board/fads/fads.h" |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 55 | |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 56 | #define CONFIG_SYS_PC_IDE_RESET ((ushort)0x0008) /* PC 12 */ |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 57 | |
wdenk | ad276f2 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 58 | #endif /* __CONFIG_H */ |