]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/FADS860T.h
Fix remaining build issues with MPC8xx FADS boards.
[karo-tx-uboot.git] / include / configs / FADS860T.h
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)
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
12   */
13
14 #ifndef __CONFIG_H
15 #define __CONFIG_H
16
17 /* board type */
18 #define CONFIG_FADS             1       /* old/new FADS + new ADS */
19
20 /* processor type */
21 #define CONFIG_MPC860T          1       /* 860T */
22
23 #define CONFIG_8xx_CONS_SMC1    1       /* Console is on SMC1           */
24 #undef  CONFIG_8xx_CONS_SMC2
25 #undef  CONFIG_8xx_CONS_NONE
26 #define CONFIG_BAUDRATE         38400
27 #define CONFIG_LOADS_ECHO       1       /* echo on for serial download  */
28
29 #if 0 /* old FADS */
30 # define CFG_8XX_FACT           12      /* 4 MHz oscillator on EXTCLK */
31 #else /* new FADS */
32 # define CFG_8XX_FACT           10      /* 5 MHz oscillator on EXTCLK */
33 #endif
34
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 #define CONFIG_SDRAM_50MHZ              1
40
41 #include "../../board/fads/fads.h"
42
43 #ifdef USE_REAL_FLASH_VALUES
44 /*
45  * These values fit our FADS860T ...
46  * The "default" behaviour with 1Mbyte initial doesn't work for us!
47  */
48 #undef CFG_OR0_PRELIM
49 #undef CFG_BR0_PRELIM
50 #define CFG_OR0_PRELIM  0x0FFC00D34 /* Real values for the board */
51 #define CFG_BR0_PRELIM  0x02800001  /* Real values for the board */
52 #endif
53
54 #define CFG_DAUGHTERBOARD /* FADS has processor-specific daughterboard */
55
56 #endif  /* __CONFIG_H */