2002-10-11 15:28:05 +00:00
|
|
|
/*
|
|
|
|
* A collection of structures, addresses, and values associated with
|
|
|
|
* the Motorola 860T FADS board. Copied from the MBX stuff.
|
|
|
|
* Magnus Damm added defines for 8xxrom and extended bd_info.
|
|
|
|
* Helmut Buchsbaum added bitvalues for BCSRx
|
|
|
|
*
|
|
|
|
* Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
|
2004-01-04 16:28:35 +00:00
|
|
|
*
|
|
|
|
* Modified by, Yuli Barcohen, Arabella Software Ltd., yuli@arabellasw.com
|
|
|
|
*
|
|
|
|
* Values common to all FADS family boards are in board/fads/fads.h
|
2002-10-11 15:28:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
2003-07-17 23:16:40 +00:00
|
|
|
/* board type */
|
|
|
|
#define CONFIG_FADS 1 /* old/new FADS + new ADS */
|
|
|
|
|
|
|
|
/* processor type */
|
|
|
|
#define CONFIG_MPC860T 1 /* 860T */
|
2002-10-11 15:28:05 +00:00
|
|
|
|
|
|
|
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
|
|
|
|
#undef CONFIG_8xx_CONS_SMC2
|
|
|
|
#undef CONFIG_8xx_CONS_NONE
|
2003-07-17 23:16:40 +00:00
|
|
|
#define CONFIG_BAUDRATE 38400
|
2002-10-11 15:28:05 +00:00
|
|
|
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
|
|
|
|
|
2003-07-17 23:16:40 +00:00
|
|
|
#if 0 /* old FADS */
|
2008-10-16 13:01:15 +00:00
|
|
|
# define CONFIG_SYS_8XX_FACT 12 /* 4 MHz oscillator on EXTCLK */
|
2003-07-17 23:16:40 +00:00
|
|
|
#else /* new FADS */
|
2008-10-16 13:01:15 +00:00
|
|
|
# define CONFIG_SYS_8XX_FACT 10 /* 5 MHz oscillator on EXTCLK */
|
2002-10-11 15:28:05 +00:00
|
|
|
#endif
|
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_PLPRCR (((CONFIG_SYS_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \
|
2004-06-06 21:35:06 +00:00
|
|
|
PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST)
|
|
|
|
|
2004-01-04 16:28:35 +00:00
|
|
|
#define CONFIG_DRAM_50MHZ 1
|
|
|
|
#define CONFIG_SDRAM_50MHZ 1
|
2002-10-11 15:28:05 +00:00
|
|
|
|
2008-08-06 12:05:38 +00:00
|
|
|
#include "../../board/fads/fads.h"
|
2002-10-11 15:28:05 +00:00
|
|
|
|
|
|
|
#ifdef USE_REAL_FLASH_VALUES
|
|
|
|
/*
|
|
|
|
* These values fit our FADS860T ...
|
|
|
|
* The "default" behaviour with 1Mbyte initial doesn't work for us!
|
|
|
|
*/
|
2008-10-16 13:01:15 +00:00
|
|
|
#undef CONFIG_SYS_OR0_PRELIM
|
|
|
|
#undef CONFIG_SYS_BR0_PRELIM
|
|
|
|
#define CONFIG_SYS_OR0_PRELIM 0x0FFC00D34 /* Real values for the board */
|
|
|
|
#define CONFIG_SYS_BR0_PRELIM 0x02800001 /* Real values for the board */
|
2002-10-11 15:28:05 +00:00
|
|
|
#endif
|
|
|
|
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_DAUGHTERBOARD /* FADS has processor-specific daughterboard */
|
2002-10-11 15:28:05 +00:00
|
|
|
|
|
|
|
#endif /* __CONFIG_H */
|