2010-05-18 22:43:15 +08:00
|
|
|
#ifdef __ASSEMBLY__
|
|
|
|
|
2009-07-29 23:06:15 +08: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 09:39:52 +08:00
|
|
|
#include <asm/romimage-macros.h>
|
2009-07-29 23:06:15 +08:00
|
|
|
#include "partner-jet-setup.txt"
|
2009-08-20 21:59:26 +08: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 22:43:15 +08:00
|
|
|
|
|
|
|
#else /* __ASSEMBLY__ */
|
|
|
|
|
2010-11-27 07:02:57 +08:00
|
|
|
static inline void mmcif_update_progress(int nr)
|
2010-05-18 22:43:15 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* __ASSEMBLY__ */
|