romimage.h 568 B

12345678910111213141516171819202122232425262728293031
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifdef __ASSEMBLY__
  3. /* kfr2r09 board specific boot code:
  4. * converts the "partner-jet-script.txt" script into assembly
  5. * the assembly code is the first code to be executed in the romImage
  6. */
  7. #include <asm/romimage-macros.h>
  8. #include <mach/partner-jet-setup.txt>
  9. /* execute icbi after enabling cache */
  10. mov.l 1f, r0
  11. icbi @r0
  12. /* jump to cached area */
  13. mova 2f, r0
  14. jmp @r0
  15. nop
  16. .align 2
  17. 1: .long 0xa8000000
  18. 2:
  19. #else /* __ASSEMBLY__ */
  20. static inline void mmcif_update_progress(int nr)
  21. {
  22. }
  23. #endif /* __ASSEMBLY__ */