pcore.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * arch/ppc/platforms/pcore.h
  3. *
  4. * Definitions for Force PowerCore board support
  5. *
  6. * Author: Matt Porter <mporter@mvista.com>
  7. *
  8. * 2001 (c) MontaVista, Software, Inc. This file is licensed under
  9. * the terms of the GNU General Public License version 2. This program
  10. * is licensed "as is" without any warranty of any kind, whether express
  11. * or implied.
  12. */
  13. #ifndef __PPC_PLATFORMS_PCORE_H
  14. #define __PPC_PLATFORMS_PCORE_H
  15. #include <asm/mpc10x.h>
  16. #define PCORE_TYPE_6750 1
  17. #define PCORE_TYPE_680 2
  18. #define PCORE_NVRAM_AS0 0x73
  19. #define PCORE_NVRAM_AS1 0x75
  20. #define PCORE_NVRAM_DATA 0x77
  21. #define PCORE_DCCR_REG (MPC10X_MAPB_ISA_IO_BASE + 0x308)
  22. #define PCORE_DCCR_L2_MASK 0xc0
  23. #define PCORE_DCCR_L2_0KB 0x00
  24. #define PCORE_DCCR_L2_256KB 0x40
  25. #define PCORE_DCCR_L2_512KB 0xc0
  26. #define PCORE_DCCR_L2_1MB 0x80
  27. #define PCORE_DCCR_L2_2MB 0x00
  28. #define PCORE_WINBOND_IDE_INT 0x43
  29. #define PCORE_WINBOND_PCI_INT 0x44
  30. #define PCORE_WINBOND_PRI_EDG_LVL 0x4d0
  31. #define PCORE_WINBOND_SEC_EDG_LVL 0x4d1
  32. #endif /* __PPC_PLATFORMS_PCORE_H */