lowlevel_init.S 408 B

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