lowlevel_init.S 408 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (c) 2015 Purna Chandra Mandal <purna.mandal@microchip.com>
  4. *
  5. */
  6. #include <config.h>
  7. #include <asm/regdef.h>
  8. #include <asm/mipsregs.h>
  9. #include <asm/asm.h>
  10. LEAF(lowlevel_init)
  11. /*
  12. * Establish Cause
  13. * (set IV bit)
  14. */
  15. li t1, 0x00800000
  16. mtc0 t1, CP0_CAUSE
  17. /* Establish Wired (and Random) */
  18. mtc0 zero, CP0_WIRED
  19. nop
  20. jr ra
  21. nop
  22. END(lowlevel_init)