cpu_op-mx51.c 652 B

1234567891011121314151617181920212223242526272829
  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/types.h>
  13. #include <mach/hardware.h>
  14. #include <linux/kernel.h>
  15. static struct cpu_op mx51_cpu_op[] = {
  16. {
  17. .cpu_rate = 160000000,},
  18. {
  19. .cpu_rate = 800000000,},
  20. };
  21. struct cpu_op *mx51_get_cpu_op(int *op)
  22. {
  23. *op = ARRAY_SIZE(mx51_cpu_op);
  24. return mx51_cpu_op;
  25. }