chip_config.c 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /*
  2. * (C) Copyright 2009
  3. * Stefan Roese, DENX Software Engineering, sr@denx.de.
  4. *
  5. * See file CREDITS for list of people who contributed to this
  6. * project.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21. * MA 02111-1307 USA
  22. *
  23. */
  24. #include <common.h>
  25. #include <asm/ppc4xx_config.h>
  26. struct ppc4xx_config ppc4xx_config_val[] = {
  27. {
  28. "333-133-nor", "NOR CPU: 333 PLB: 133 OPB: 66 EBC: 66",
  29. {
  30. 0x84, 0x70, 0xa2, 0xa6, 0x05, 0x57, 0xa0, 0x10,
  31. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  32. }
  33. },
  34. {
  35. "333-166-nor", "NOR CPU: 333 PLB: 166 OPB: 83 EBC: 55",
  36. {
  37. 0xc7, 0x78, 0xf3, 0x4e, 0x05, 0xd7, 0xa0, 0x30,
  38. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  39. }
  40. },
  41. {
  42. "333-166-nand", "NAND CPU: 333 PLB: 166 OPB: 83 EBC: 55",
  43. {
  44. 0xc7, 0x78, 0xf3, 0x4e, 0x05, 0xd7, 0xd0, 0x30,
  45. 0xa0, 0x68, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
  46. }
  47. },
  48. {
  49. "400-133-nor", "NOR CPU: 400 PLB: 133 OPB: 66 EBC: 66",
  50. {
  51. 0x86, 0x78, 0xc2, 0xc6, 0x05, 0x57, 0xa0, 0x30,
  52. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  53. }
  54. },
  55. {
  56. "400-160-nor", "NOR CPU: 400 PLB: 160 OPB: 80 EBC: 53",
  57. {
  58. 0x86, 0x78, 0xc2, 0xa6, 0x05, 0xd7, 0xa0, 0x10,
  59. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  60. }
  61. },
  62. {
  63. "416-166-nor", "NOR CPU: 416 PLB: 166 OPB: 83 EBC: 55",
  64. {
  65. 0xc6, 0x78, 0x52, 0xa6, 0x05, 0xd7, 0xa0, 0x10,
  66. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  67. }
  68. },
  69. {
  70. "416-166-nand", "NAND CPU: 416 PLB: 166 OPB: 83 EBC: 55",
  71. {
  72. 0xc6, 0x78, 0x52, 0xa6, 0x05, 0xd7, 0xd0, 0x10,
  73. 0xa0, 0x68, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
  74. }
  75. },
  76. {
  77. "500-166-nor", "NOR CPU: 500 PLB: 166 OPB: 83 EBC: 55",
  78. {
  79. 0xc7, 0x78, 0x52, 0xc6, 0x05, 0xd7, 0xa0, 0x30,
  80. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  81. }
  82. },
  83. {
  84. "500-166-nand", "NAND CPU: 500 PLB: 166 OPB: 83 EBC: 55",
  85. {
  86. 0xc7, 0x78, 0x52, 0xc6, 0x05, 0xd7, 0xd0, 0x30,
  87. 0xa0, 0x68, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
  88. }
  89. },
  90. {
  91. "533-133-nor", "NOR CPU: 533 PLB: 133 OPB: 66 EBC: 66",
  92. {
  93. 0x87, 0x78, 0x82, 0x52, 0x09, 0x57, 0xa0, 0x30,
  94. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  95. }
  96. },
  97. {
  98. "667-133-nor", "NOR CPU: 667 PLB: 133 OPB: 66 EBC: 66",
  99. {
  100. 0x87, 0x78, 0xa2, 0x56, 0x09, 0x57, 0xa0, 0x30,
  101. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  102. }
  103. },
  104. {
  105. "667-166-nor", "NOR CPU: 667 PLB: 166 OPB: 83 EBC: 55",
  106. {
  107. 0x87, 0x78, 0xa2, 0x52, 0x09, 0xd7, 0xa0, 0x30,
  108. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  109. }
  110. },
  111. {
  112. "667-166-nand", "NAND CPU: 667 PLB: 166 OPB: 83 EBC: 55",
  113. {
  114. 0x87, 0x78, 0xa2, 0x52, 0x09, 0xd7, 0xd0, 0x30,
  115. 0xa0, 0x68, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
  116. }
  117. },
  118. };
  119. int ppc4xx_config_count = ARRAY_SIZE(ppc4xx_config_val);