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 860T FADS 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 | 180d3f7 | 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 | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 14 | #ifndef __CONFIG_H |
| 15 | #define __CONFIG_H |
| 16 | |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 17 | /* board type */ |
| 18 | #define CONFIG_FADS 1 /* old/new FADS + new ADS */ |
| 19 | |
| 20 | /* processor type */ |
| 21 | #define CONFIG_MPC860T 1 /* 860T */ |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 22 | |
| 23 | #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ |
| 24 | #undef CONFIG_8xx_CONS_SMC2 |
| 25 | #undef CONFIG_8xx_CONS_NONE |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 26 | #define CONFIG_BAUDRATE 38400 |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 27 | #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */ |
| 28 | |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 29 | #if 0 /* old FADS */ |
| 30 | # define CFG_8XX_FACT 12 /* Multiply by 12 */ |
| 31 | # define CFG_8XX_XIN 4000000 /* 4 MHz in */ |
| 32 | #else /* new FADS */ |
| 33 | # define CFG_8XX_FACT 10 /* Multiply by 10 */ |
| 34 | # define CFG_8XX_XIN 5000000 /* 5 MHz in */ |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 35 | #endif |
| 36 | |
wdenk | 180d3f7 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 37 | #define CONFIG_DRAM_50MHZ 1 |
| 38 | #define CONFIG_SDRAM_50MHZ 1 |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 39 | |
wdenk | 180d3f7 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 40 | #include "fads.h" |
wdenk | 2535d60 | 2003-07-17 23:16:40 +0000 | [diff] [blame] | 41 | |
wdenk | 180d3f7 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 42 | #define CFG_PLPRCR (((CFG_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \ |
| 43 | PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST) |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 44 | |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 45 | #ifdef USE_REAL_FLASH_VALUES |
| 46 | /* |
| 47 | * These values fit our FADS860T ... |
| 48 | * The "default" behaviour with 1Mbyte initial doesn't work for us! |
| 49 | */ |
wdenk | 180d3f7 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 50 | #undef CFG_OR0_PRELIM |
| 51 | #undef CFG_BR0_PRELIM |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 52 | #define CFG_OR0_PRELIM 0x0FFC00D34 /* Real values for the board */ |
| 53 | #define CFG_BR0_PRELIM 0x02800001 /* Real values for the board */ |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 54 | #endif |
| 55 | |
wdenk | 180d3f7 | 2004-01-04 16:28:35 +0000 | [diff] [blame] | 56 | #define CFG_DAUGHTERBOARD /* FADS has processor-specfic daughterboard */ |
wdenk | a9ab73b | 2002-10-11 15:28:05 +0000 | [diff] [blame] | 57 | |
| 58 | #endif /* __CONFIG_H */ |