chip_config.c 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * (C) Copyright 2010
  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. "600-67", "CPU: 600 PLB: 200 OPB: 67 EBC: 67",
  29. {
  30. 0x86, 0x80, 0xce, 0x1f, 0x7d, 0x80, 0x00, 0xe0,
  31. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  32. }
  33. },
  34. {
  35. "600-100", "CPU: 600 PLB: 200 OPB: 100 EBC: 100",
  36. {
  37. 0x86, 0x80, 0xce, 0x1f, 0x79, 0x80, 0x00, 0xa0,
  38. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  39. }
  40. },
  41. {
  42. "667", "CPU: 667 PLB: 166 OPB: 83 EBC: 83",
  43. {
  44. 0x06, 0x80, 0xbb, 0x14, 0x99, 0x82, 0x00, 0xa0,
  45. 0x40, 0x88, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  46. }
  47. },
  48. {
  49. "800", "CPU: 800 PLB: 200 OPB: 100 EBC: 100",
  50. {
  51. 0x86, 0x80, 0xba, 0x14, 0x99, 0x80, 0x00, 0xa0,
  52. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  53. }
  54. },
  55. {
  56. "1000", "CPU:1000 PLB: 200 OPB: 100 EBC: 100",
  57. {
  58. 0x86, 0x82, 0x96, 0x19, 0xb9, 0x80, 0x00, 0xa0,
  59. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  60. }
  61. },
  62. {
  63. "1066", "CPU:1066 PLB: 266 OPB: 88 EBC: 88",
  64. {
  65. 0x86, 0x80, 0xb3, 0x01, 0x9d, 0x80, 0x00, 0xa0,
  66. 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
  67. }
  68. },
  69. };
  70. int ppc4xx_config_count = ARRAY_SIZE(ppc4xx_config_val);