Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f218935 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: head.S typo fix



I forget to change register name in comments.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 0691c97d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -105,8 +105,8 @@ no_fdt_arg:
	tophys(r4,r4)			/* convert to phys address */
	tophys(r4,r4)			/* convert to phys address */
	ori	r3, r0, COMMAND_LINE_SIZE - 1 /* number of loops */
	ori	r3, r0, COMMAND_LINE_SIZE - 1 /* number of loops */
_copy_command_line:
_copy_command_line:
	lbu	r2, r5, r6 /* r7=r5+r6 - r5 contain pointer to command line */
	lbu	r2, r5, r6 /* r2=r5+r6 - r5 contain pointer to command line */
	sb	r2, r4, r6		/* addr[r4+r6]= r7*/
	sb	r2, r4, r6		/* addr[r4+r6]= r2*/
	addik	r6, r6, 1		/* increment counting */
	addik	r6, r6, 1		/* increment counting */
	bgtid	r3, _copy_command_line	/* loop for all entries       */
	bgtid	r3, _copy_command_line	/* loop for all entries       */
	addik	r3, r3, -1		/* descrement loop */
	addik	r3, r3, -1		/* descrement loop */