cpu_setup_fsl_booke.S 893 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * This file contains low level CPU setup functions.
  3. * Kumar Gala <galak@kernel.crashing.org>
  4. * Copyright 2009 Freescale Semiconductor, Inc.
  5. *
  6. * Based on cpu_setup_6xx code by
  7. * Benjamin Herrenschmidt <benh@kernel.crashing.org>
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License
  11. * as published by the Free Software Foundation; either version
  12. * 2 of the License, or (at your option) any later version.
  13. *
  14. */
  15. #include <asm/processor.h>
  16. #include <asm/cputable.h>
  17. #include <asm/ppc_asm.h>
  18. _GLOBAL(__setup_cpu_e200)
  19. /* enable dedicated debug exception handling resources (Debug APU) */
  20. mfspr r3,SPRN_HID0
  21. ori r3,r3,HID0_DAPUEN@l
  22. mtspr SPRN_HID0,r3
  23. b __setup_e200_ivors
  24. _GLOBAL(__setup_cpu_e500v1)
  25. _GLOBAL(__setup_cpu_e500v2)
  26. b __setup_e500_ivors
  27. _GLOBAL(__setup_cpu_e500mc)
  28. b __setup_e500mc_ivors