blob: 82ea172d7a66e8b8434f095a0b245f7e8e57df5c [file] [log] [blame]
wdenka9ab73b2002-10-11 15:28:05 +00001/*
2 * A collection of structures, addresses, and values associated with
3 * the Motorola 860 ADS 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
wdenk180d3f72004-01-04 16:28:35 +000014#ifndef __CONFIG_H
15#define __CONFIG_H
wdenka9ab73b2002-10-11 15:28:05 +000016
wdenkb028f712003-12-07 21:39:28 +000017/* Board type */
18#define CONFIG_ADS 1 /* Old Motorola MPC821/860ADS */
19
20/* Processor type */
wdenka9ab73b2002-10-11 15:28:05 +000021#define CONFIG_MPC860 1
wdenka9ab73b2002-10-11 15:28:05 +000022
Wolfgang Denk2ae18242010-10-06 09:05:45 +020023#define CONFIG_SYS_TEXT_BASE 0xFE000000
24
wdenkb028f712003-12-07 21:39:28 +000025#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
wdenka9ab73b2002-10-11 15:28:05 +000026#undef CONFIG_8xx_CONS_SMC2
27#undef CONFIG_8xx_CONS_NONE
wdenka9ab73b2002-10-11 15:28:05 +000028
wdenkb028f712003-12-07 21:39:28 +000029#define CONFIG_BAUDRATE 38400 /* Console baudrate */
wdenka9ab73b2002-10-11 15:28:05 +000030
wdenkb028f712003-12-07 21:39:28 +000031#if 0
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020032#define CONFIG_SYS_8XX_FACT 1526 /* 32.768 kHz crystal on XTAL/EXTAL */
wdenkb028f712003-12-07 21:39:28 +000033#else
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020034#define CONFIG_SYS_8XX_FACT 12 /* 4 MHz oscillator on EXTCLK */
wdenkb028f712003-12-07 21:39:28 +000035#endif
wdenka9ab73b2002-10-11 15:28:05 +000036
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
40#define CONFIG_DRAM_50MHZ 1
41
wdenka9ab73b2002-10-11 15:28:05 +000042
Jon Loeliger498ff9a2007-07-05 19:13:52 -050043/*
44 * Command line configuration.
45 */
46#include <config_cmd_default.h>
47
48#define CONFIG_CMD_DHCP
49#define CONFIG_CMD_IMMAP
50#define CONFIG_CMD_PCMCIA
51#define CONFIG_CMD_PING
52
53/* This is picked up again in fads.h */
54#define FADS_COMMANDS_ALREADY_DEFINED
wdenka9ab73b2002-10-11 15:28:05 +000055
Stefan Roesef2302d42008-08-06 14:05:38 +020056#include "../../board/fads/fads.h"
wdenka9ab73b2002-10-11 15:28:05 +000057
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020058#define CONFIG_SYS_PC_IDE_RESET ((ushort)0x0008) /* PC 12 */
wdenka9ab73b2002-10-11 15:28:05 +000059
wdenk180d3f72004-01-04 16:28:35 +000060#endif /* __CONFIG_H */