ubc.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * include/asm-sh/cpu-sh3/ubc.h
  3. *
  4. * Copyright (C) 1999 Niibe Yutaka
  5. * Copyright (C) 2003 Paul Mundt
  6. *
  7. * This file is subject to the terms and conditions of the GNU General Public
  8. * License. See the file "COPYING" in the main directory of this archive
  9. * for more details.
  10. */
  11. #ifndef __ASM_CPU_SH3_UBC_H
  12. #define __ASM_CPU_SH3_UBC_H
  13. #if defined(CONFIG_CPU_SUBTYPE_SH7710) || \
  14. defined(CONFIG_CPU_SUBTYPE_SH7720) || \
  15. defined(CONFIG_CPU_SUBTYPE_SH7721)
  16. #define UBC_BARA 0xa4ffffb0
  17. #define UBC_BAMRA 0xa4ffffb4
  18. #define UBC_BBRA 0xa4ffffb8
  19. #define UBC_BASRA 0xffffffe4
  20. #define UBC_BARB 0xa4ffffa0
  21. #define UBC_BAMRB 0xa4ffffa4
  22. #define UBC_BBRB 0xa4ffffa8
  23. #define UBC_BASRB 0xffffffe8
  24. #define UBC_BDRB 0xa4ffff90
  25. #define UBC_BDMRB 0xa4ffff94
  26. #define UBC_BRCR 0xa4ffff98
  27. #else
  28. #define UBC_BARA 0xffffffb0
  29. #define UBC_BAMRA 0xffffffb4
  30. #define UBC_BBRA 0xffffffb8
  31. #define UBC_BASRA 0xffffffe4
  32. #define UBC_BARB 0xffffffa0
  33. #define UBC_BAMRB 0xffffffa4
  34. #define UBC_BBRB 0xffffffa8
  35. #define UBC_BASRB 0xffffffe8
  36. #define UBC_BDRB 0xffffff90
  37. #define UBC_BDMRB 0xffffff94
  38. #define UBC_BRCR 0xffffff98
  39. #endif
  40. #endif /* __ASM_CPU_SH3_UBC_H */