blob: ed7484bd1c96bb21a272e2e39f3c5d60888d08e2 [file] [log] [blame]
wdenka9ab73b2002-10-11 15:28:05 +00001/*
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)
wdenk180d3f72004-01-04 16:28:35 +00008 *
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
wdenka9ab73b2002-10-11 15:28:05 +000012 */
13
wdenka9ab73b2002-10-11 15:28:05 +000014#ifndef __CONFIG_H
15#define __CONFIG_H
16
wdenk2535d602003-07-17 23:16:40 +000017/* board type */
18#define CONFIG_FADS 1 /* old/new FADS + new ADS */
19
20/* processor type */
21#define CONFIG_MPC860T 1 /* 860T */
wdenka9ab73b2002-10-11 15:28:05 +000022
Wolfgang Denk2ae18242010-10-06 09:05:45 +020023#define CONFIG_SYS_TEXT_BASE 0xFE000000
24
wdenka9ab73b2002-10-11 15:28:05 +000025#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
26#undef CONFIG_8xx_CONS_SMC2
27#undef CONFIG_8xx_CONS_NONE
wdenk2535d602003-07-17 23:16:40 +000028#define CONFIG_BAUDRATE 38400
wdenka9ab73b2002-10-11 15:28:05 +000029#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
30
wdenk2535d602003-07-17 23:16:40 +000031#if 0 /* old FADS */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020032# define CONFIG_SYS_8XX_FACT 12 /* 4 MHz oscillator on EXTCLK */
wdenk2535d602003-07-17 23:16:40 +000033#else /* new FADS */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020034# define CONFIG_SYS_8XX_FACT 10 /* 5 MHz oscillator on EXTCLK */
wdenka9ab73b2002-10-11 15:28:05 +000035#endif
36
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020037#define CONFIG_SYS_PLPRCR (((CONFIG_SYS_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \
wdenk11142572004-06-06 21:35:06 +000038 PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST)
39
wdenk180d3f72004-01-04 16:28:35 +000040#define CONFIG_DRAM_50MHZ 1
41#define CONFIG_SDRAM_50MHZ 1
wdenk2535d602003-07-17 23:16:40 +000042
Stefan Roesef2302d42008-08-06 14:05:38 +020043#include "../../board/fads/fads.h"
wdenk2535d602003-07-17 23:16:40 +000044
wdenka9ab73b2002-10-11 15:28:05 +000045#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 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020050#undef CONFIG_SYS_OR0_PRELIM
51#undef CONFIG_SYS_BR0_PRELIM
52#define CONFIG_SYS_OR0_PRELIM 0x0FFC00D34 /* Real values for the board */
53#define CONFIG_SYS_BR0_PRELIM 0x02800001 /* Real values for the board */
wdenka9ab73b2002-10-11 15:28:05 +000054#endif
55
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020056#define CONFIG_SYS_DAUGHTERBOARD /* FADS has processor-specific daughterboard */
wdenka9ab73b2002-10-11 15:28:05 +000057
58#endif /* __CONFIG_H */