ADS860.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  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)
  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_ADS 1 /* Old Motorola MPC821/860ADS */
  17. /* Processor type */
  18. #define CONFIG_MPC860 1
  19. #define CONFIG_SYS_TEXT_BASE 0xFE000000
  20. #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
  21. #undef CONFIG_8xx_CONS_SMC2
  22. #undef CONFIG_8xx_CONS_NONE
  23. #define CONFIG_BAUDRATE 38400 /* Console baudrate */
  24. #if 0
  25. #define CONFIG_SYS_8XX_FACT 1526 /* 32.768 kHz crystal on XTAL/EXTAL */
  26. #else
  27. #define CONFIG_SYS_8XX_FACT 12 /* 4 MHz oscillator on EXTCLK */
  28. #endif
  29. #define CONFIG_SYS_PLPRCR (((CONFIG_SYS_8XX_FACT-1) << PLPRCR_MF_SHIFT) | \
  30. PLPRCR_SPLSS | PLPRCR_TEXPS | PLPRCR_TMIST)
  31. #define CONFIG_DRAM_50MHZ 1
  32. /*
  33. * Command line configuration.
  34. */
  35. #include <config_cmd_default.h>
  36. #define CONFIG_CMD_DHCP
  37. #define CONFIG_CMD_IMMAP
  38. #define CONFIG_CMD_PCMCIA
  39. #define CONFIG_CMD_PING
  40. /* This is picked up again in fads.h */
  41. #define FADS_COMMANDS_ALREADY_DEFINED
  42. #include "../../board/fads/fads.h"
  43. #define CONFIG_SYS_PC_IDE_RESET ((ushort)0x0008) /* PC 12 */
  44. #endif /* __CONFIG_H */