FADS860T.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  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)
  8. *
  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
  12. */
  13. #ifndef __CONFIG_H
  14. #define __CONFIG_H
  15. /* board type */
  16. #define CONFIG_FADS 1 /* old/new FADS + new ADS */
  17. /* processor type */
  18. #define CONFIG_MPC860T 1 /* 860T */
  19. #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
  20. #undef CONFIG_8xx_CONS_SMC2
  21. #undef CONFIG_8xx_CONS_NONE
  22. #define CONFIG_BAUDRATE 38400
  23. #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
  24. #if 0 /* old FADS */
  25. # define CFG_8XX_FACT 12 /* Multiply by 12 */
  26. # define CFG_8XX_XIN 4000000 /* 4 MHz in */
  27. #else /* new FADS */
  28. # define CFG_8XX_FACT 10 /* Multiply by 10 */
  29. # define CFG_8XX_XIN 5000000 /* 5 MHz in */
  30. #endif
  31. #define CONFIG_DRAM_50MHZ 1
  32. #define CONFIG_SDRAM_50MHZ 1
  33. #include "fads.h"
  34. #define CFG_PLPRCR (((CFG_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \
  35. PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST)
  36. #ifdef USE_REAL_FLASH_VALUES
  37. /*
  38. * These values fit our FADS860T ...
  39. * The "default" behaviour with 1Mbyte initial doesn't work for us!
  40. */
  41. #undef CFG_OR0_PRELIM
  42. #undef CFG_BR0_PRELIM
  43. #define CFG_OR0_PRELIM 0x0FFC00D34 /* Real values for the board */
  44. #define CFG_BR0_PRELIM 0x02800001 /* Real values for the board */
  45. #endif
  46. #define CFG_DAUGHTERBOARD /* FADS has processor-specfic daughterboard */
  47. #endif /* __CONFIG_H */