mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
180d3f74e4
* Patch by Scott McNutt, 02 Jan 2004: Add support for the Nios Active Serial Memory Interface (ASMI) on Cyclone devices * Patch by Andrea Marson, 16 Dec 2003: Add support for the PPChameleon ME and HI modules * Patch by Yuli Barcohen, 22 Dec 2003: Add support for Motorola DUET ADS board (MPC87x/88x)
58 lines
1.7 KiB
C
58 lines
1.7 KiB
C
/*
|
|
* 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)
|
|
*
|
|
* Modified by, Yuli Barcohen, Arabella Software Ltd., yuli@arabellasw.com
|
|
*
|
|
* Values common to all FADS family boards are in board/fads/fads.h
|
|
*/
|
|
|
|
#ifndef __CONFIG_H
|
|
#define __CONFIG_H
|
|
|
|
/* board type */
|
|
#define CONFIG_FADS 1 /* old/new FADS + new ADS */
|
|
|
|
/* processor type */
|
|
#define CONFIG_MPC860T 1 /* 860T */
|
|
|
|
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
|
|
#undef CONFIG_8xx_CONS_SMC2
|
|
#undef CONFIG_8xx_CONS_NONE
|
|
#define CONFIG_BAUDRATE 38400
|
|
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
|
|
|
|
#if 0 /* old FADS */
|
|
# define CFG_8XX_FACT 12 /* Multiply by 12 */
|
|
# define CFG_8XX_XIN 4000000 /* 4 MHz in */
|
|
#else /* new FADS */
|
|
# define CFG_8XX_FACT 10 /* Multiply by 10 */
|
|
# define CFG_8XX_XIN 5000000 /* 5 MHz in */
|
|
#endif
|
|
|
|
#define CONFIG_DRAM_50MHZ 1
|
|
#define CONFIG_SDRAM_50MHZ 1
|
|
|
|
#include "fads.h"
|
|
|
|
#define CFG_PLPRCR (((CFG_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \
|
|
PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST)
|
|
|
|
#ifdef USE_REAL_FLASH_VALUES
|
|
/*
|
|
* These values fit our FADS860T ...
|
|
* The "default" behaviour with 1Mbyte initial doesn't work for us!
|
|
*/
|
|
#undef CFG_OR0_PRELIM
|
|
#undef CFG_BR0_PRELIM
|
|
#define CFG_OR0_PRELIM 0x0FFC00D34 /* Real values for the board */
|
|
#define CFG_BR0_PRELIM 0x02800001 /* Real values for the board */
|
|
#endif
|
|
|
|
#define CFG_DAUGHTERBOARD /* FADS has processor-specfic daughterboard */
|
|
|
|
#endif /* __CONFIG_H */
|