cpu_op-mx51.c 675 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (C) 2010 Freescale Semiconductor, Inc. All Rights Reserved.
  3. */
  4. /*
  5. * The code contained herein is licensed under the GNU General Public
  6. * License. You may obtain a copy of the GNU General Public License
  7. * Version 2 or later at the following locations:
  8. *
  9. * http://www.opensource.org/licenses/gpl-license.html
  10. * http://www.gnu.org/copyleft/gpl.html
  11. */
  12. #include <linux/bug.h>
  13. #include <linux/types.h>
  14. #include <mach/hardware.h>
  15. #include <linux/kernel.h>
  16. static struct cpu_op mx51_cpu_op[] = {
  17. {
  18. .cpu_rate = 160000000,},
  19. {
  20. .cpu_rate = 800000000,},
  21. };
  22. struct cpu_op *mx51_get_cpu_op(int *op)
  23. {
  24. *op = ARRAY_SIZE(mx51_cpu_op);
  25. return mx51_cpu_op;
  26. }