[xtensa-cvscommit] linux/arch/xtensa/boot/boot-redboot bootstrap.S,1.5,1.6
Brought to you by:
zankel
|
From: Alice H. <ahe...@us...> - 2004-06-02 23:57:39
|
Update of /cvsroot/xtensa/linux/arch/xtensa/boot/boot-redboot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23925/arch/xtensa/boot/boot-redboot Modified Files: bootstrap.S Log Message: Save the load address of the boot image before clearing a0 so the ramdisk image loads properly. Index: bootstrap.S =================================================================== RCS file: /cvsroot/xtensa/linux/arch/xtensa/boot/boot-redboot/bootstrap.S,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** bootstrap.S 7 May 2003 18:55:20 -0000 1.5 --- bootstrap.S 2 Jun 2004 23:57:29 -0000 1.6 *************** *** 171,174 **** --- 171,175 ---- s32i a11, a9, 0 + mov a3, a0 movi a0, 0 *************** *** 213,223 **** icache_invalidate_all a5, a6 ! movi a5, __start ! movi a3, boot_initrd_start ! movi a4, boot_initrd_end ! sub a3, a3, a5 ! sub a4, a4, a5 ! add a3, a0, a3 ! add a4, a0, a4 # a2 Boot parameter list --- 214,224 ---- icache_invalidate_all a5, a6 ! movi a5, __start ! movi a4, boot_initrd_end ! movi a6, boot_initrd_start ! sub a4, a4, a5 ! sub a6, a6, a5 ! add a4, a3, a4 ! add a3, a3, a6 # a2 Boot parameter list |