2010-05-18 21:43:15 +07:00
|
|
|
#ifdef __ASSEMBLY__
|
|
|
|
|
2009-07-29 22:06:15 +07:00
|
|
|
/* kfr2r09 board specific boot code:
|
|
|
|
* converts the "partner-jet-script.txt" script into assembly
|
|
|
|
* the assembly code is the first code to be executed in the romImage
|
|
|
|
*/
|
|
|
|
|
2009-09-10 08:39:52 +07:00
|
|
|
#include <asm/romimage-macros.h>
|
2012-10-03 00:01:25 +07:00
|
|
|
#include <mach/partner-jet-setup.txt>
|
2009-08-20 20:59:26 +07:00
|
|
|
|
|
|
|
/* execute icbi after enabling cache */
|
|
|
|
mov.l 1f, r0
|
|
|
|
icbi @r0
|
|
|
|
|
|
|
|
/* jump to cached area */
|
|
|
|
mova 2f, r0
|
|
|
|
jmp @r0
|
|
|
|
nop
|
|
|
|
|
|
|
|
.align 2
|
|
|
|
1: .long 0xa8000000
|
|
|
|
2:
|
2010-05-18 21:43:15 +07:00
|
|
|
|
|
|
|
#else /* __ASSEMBLY__ */
|
|
|
|
|
2010-11-27 06:02:57 +07:00
|
|
|
static inline void mmcif_update_progress(int nr)
|
2010-05-18 21:43:15 +07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* __ASSEMBLY__ */
|