2002-10-11 15:28:05 +00:00
|
|
|
/*
|
|
|
|
* A collection of structures, addresses, and values associated with
|
|
|
|
* the Motorola 860 ADS 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
|
|
|
*/
|
|
|
|
|
2004-01-04 16:28:35 +00:00
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
2002-10-11 15:28:05 +00:00
|
|
|
|
2003-12-07 21:39:28 +00:00
|
|
|
/* Board type */
|
|
|
|
#define CONFIG_ADS 1 /* Old Motorola MPC821/860ADS */
|
|
|
|
|
|
|
|
/* Processor type */
|
2002-10-11 15:28:05 +00:00
|
|
|
#define CONFIG_MPC860 1
|
|
|
|
|
2003-12-07 21:39:28 +00:00
|
|
|
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
|
2002-10-11 15:28:05 +00:00
|
|
|
#undef CONFIG_8xx_CONS_SMC2
|
|
|
|
#undef CONFIG_8xx_CONS_NONE
|
|
|
|
|
2003-12-07 21:39:28 +00:00
|
|
|
#define CONFIG_BAUDRATE 38400 /* Console baudrate */
|
2002-10-11 15:28:05 +00:00
|
|
|
|
2003-12-07 21:39:28 +00:00
|
|
|
/* CFG_8XX_FACT * CFG_8XX_XIN = 50 MHz */
|
|
|
|
#if 0
|
2003-07-17 23:16:40 +00:00
|
|
|
#define CFG_8XX_XIN 32768 /* 32.768 kHz input frequency */
|
|
|
|
#define CFG_8XX_FACT 0x5F6 /* Multiply by 1526 */
|
2003-12-07 21:39:28 +00:00
|
|
|
#else
|
|
|
|
#define CFG_8XX_XIN 4000000 /* 4 MHz input frequency */
|
|
|
|
#define CFG_8XX_FACT 12 /* Multiply by 12 */
|
|
|
|
#endif
|
2002-10-11 15:28:05 +00:00
|
|
|
|
2004-01-04 16:28:35 +00:00
|
|
|
#define CONFIG_COMMANDS (CONFIG_CMD_DFL \
|
|
|
|
| CFG_CMD_DHCP \
|
|
|
|
| CFG_CMD_IMMAP \
|
2003-12-07 21:39:28 +00:00
|
|
|
| CFG_CMD_PCMCIA \
|
2004-01-04 16:28:35 +00:00
|
|
|
| CFG_CMD_PING \
|
2003-12-07 21:39:28 +00:00
|
|
|
)
|
2002-10-11 15:28:05 +00:00
|
|
|
|
2004-01-04 16:28:35 +00:00
|
|
|
#define CONFIG_DRAM_50MHZ 1
|
2002-10-11 15:28:05 +00:00
|
|
|
|
2004-01-04 16:28:35 +00:00
|
|
|
#include "fads.h"
|
2002-10-11 15:28:05 +00:00
|
|
|
|
2003-07-17 23:16:40 +00:00
|
|
|
#define CFG_PLPRCR (((CFG_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \
|
2002-10-11 15:28:05 +00:00
|
|
|
PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST)
|
|
|
|
|
|
|
|
#define CFG_PC_IDE_RESET ((ushort)0x0008) /* PC 12 */
|
|
|
|
|
2004-01-04 16:28:35 +00:00
|
|
|
#endif /* __CONFIG_H */
|