romimage.h 529 B

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