excalibur.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:3k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /* megafunction wizard: %ARM-Based Excalibur%
  2.    GENERATION: STANDARD
  3.    VERSION: WM1.0
  4.    MODULE: ARM-Based Excalibur
  5.    PROJECT: excalibur
  6.    ============================================================
  7.    File Name: v:embeddedlinuxbootldrexcalibur.h
  8.    Megafunction Name(s): ARM-Based Excalibur
  9.    ============================================================
  10.    ************************************************************
  11.    THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
  12.    ************************************************************/
  13. #ifndef EXCALIBUR_H_INCLUDED
  14. #define EXCALIBUR_H_INCLUDED
  15. #define EXC_DEFINE_PROCESSOR_LITTLE_ENDIAN
  16. #define EXC_DEFINE_BOOT_FROM_FLASH
  17. #define EXC_INPUT_CLK_FREQUENCY (50000000)
  18. #define EXC_AHB1_CLK_FREQUENCY (150000000)
  19. #define EXC_AHB2_CLK_FREQUENCY (75000000)
  20. #define EXC_SDRAM_CLK_FREQUENCY (75000000)
  21. /* Registers Block */
  22. #define EXC_REGISTERS_BASE (0x7fffc000)
  23. #define EXC_MODE_CTRL00_BASE (EXC_REGISTERS_BASE + 0x000)
  24. #define EXC_IO_CTRL00_BASE (EXC_REGISTERS_BASE + 0x040)
  25. #define EXC_MMAP00_BASE (EXC_REGISTERS_BASE + 0x080)
  26. #define EXC_PLD_CONFIG00_BASE (EXC_REGISTERS_BASE + 0x140)
  27. #define EXC_TIMER00_BASE (EXC_REGISTERS_BASE + 0x200)
  28. #define EXC_INT_CTRL00_BASE (EXC_REGISTERS_BASE + 0xc00)
  29. #define EXC_CLOCK_CTRL00_BASE (EXC_REGISTERS_BASE + 0x300)
  30. #define EXC_WATCHDOG00_BASE (EXC_REGISTERS_BASE + 0xa00)
  31. #define EXC_UART00_BASE (EXC_REGISTERS_BASE + 0x280)
  32. #define EXC_EBI00_BASE (EXC_REGISTERS_BASE + 0x380)
  33. #define EXC_SDRAM00_BASE (EXC_REGISTERS_BASE + 0x400)
  34. #define EXC_AHB12_BRIDGE_CTRL00_BASE (EXC_REGISTERS_BASE + 0x800)
  35. #define EXC_PLD_STRIPE_BRIDGE_CTRL00_BASE (EXC_REGISTERS_BASE + 0x100)
  36. #define EXC_STRIPE_PLD_BRIDGE_CTRL00_BASE (EXC_REGISTERS_BASE + 0x100)
  37. #define EXC_REGISTERS_SIZE (0x00004000)
  38. /* EBI Block(s) */
  39. #define EXC_EBI_BLOCK0_BASE (0x40000000)
  40. #define EXC_EBI_BLOCK0_SIZE (0x00400000)
  41. #define EXC_EBI_BLOCK0_WIDTH (8)
  42. #define EXC_EBI_BLOCK0_NON_CACHEABLE
  43. #define EXC_EBI_BLOCK1_BASE (0x40400000)
  44. #define EXC_EBI_BLOCK1_SIZE (0x00400000)
  45. #define EXC_EBI_BLOCK1_WIDTH (16)
  46. #define EXC_EBI_BLOCK1_NON_CACHEABLE
  47. #define EXC_EBI_BLOCK2_BASE (0x40800000)
  48. #define EXC_EBI_BLOCK2_SIZE (0x00400000)
  49. #define EXC_EBI_BLOCK2_WIDTH (16)
  50. #define EXC_EBI_BLOCK2_NON_CACHEABLE
  51. #define EXC_EBI_BLOCK3_BASE (0x40c00000)
  52. #define EXC_EBI_BLOCK3_SIZE (0x00400000)
  53. #define EXC_EBI_BLOCK3_WIDTH (16)
  54. #define EXC_EBI_BLOCK3_NON_CACHEABLE
  55. /* SDRAM Block(s) */
  56. #define EXC_SDRAM_BLOCK0_BASE (0x00000000)
  57. #define EXC_SDRAM_BLOCK0_SIZE (0x04000000)
  58. #define EXC_SDRAM_BLOCK0_WIDTH (32)
  59. #define EXC_SDRAM_BLOCK1_BASE (0x04000000)
  60. #define EXC_SDRAM_BLOCK1_SIZE (0x04000000)
  61. #define EXC_SDRAM_BLOCK1_WIDTH (32)
  62. /* Single Port SRAM Block(s) */
  63. #define EXC_SPSRAM_BLOCK0_BASE (0x08000000)
  64. #define EXC_SPSRAM_BLOCK0_SIZE (0x00020000)
  65. #define EXC_SPSRAM_BLOCK1_BASE (0x08020000)
  66. #define EXC_SPSRAM_BLOCK1_SIZE (0x00020000)
  67. /* PLD Block(s) */
  68. #define EXC_PLD_BLOCK0_BASE (0x80000000)
  69. #define EXC_PLD_BLOCK0_SIZE (0x00004000)
  70. #define EXC_PLD_BLOCK0_NON_CACHEABLE
  71. #define EXC_PLD_BLOCK1_BASE (0xf000000)
  72. #define EXC_PLD_BLOCK1_SIZE (0x00004000)
  73. #define EXC_PLD_BLOCK1_NON_CACHEABLE
  74. #define EXC_PLD_BLOCK2_BASE (0x80008000)
  75. #define EXC_PLD_BLOCK2_SIZE (0x00004000)
  76. #define EXC_PLD_BLOCK2_NON_CACHEABLE
  77. #define EXC_PLD_BLOCK3_BASE (0x8000c000)
  78. #define EXC_PLD_BLOCK3_SIZE (0x00004000)
  79. #define EXC_PLD_BLOCK3_NON_CACHEABLE
  80. #endif